FineWeb 数据集:大规模从网页中筛选最优文本数据
The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale
AI总结:
本研究推出含15万亿token的开源预训练数据集FineWeb及1.3万亿token的教育子集FineWeb-Edu,详细公开构建策略并消融验证,训练的LLM性能优于同类开源数据集,同步开放代码与实验模型。
摘要:
大语言模型(LLM)的性能在很大程度上取决于其预训练数据集的质量与规模。然而,Llama 3、Mixtral 等当前最先进的开源 LLM 的预训练数据集并未公开,人们对其构建方式知之甚少。本研究推出 FineWeb——一个源自 96 个 Common Crawl(通用网页爬取)快照的 15 万亿 token 数据集,用其训练出的 LLM 性能优于其他开源预训练数据集。为深化对高质量预训练数据集最优构建方法的理解,我们详细记录并消融实验了 FineWeb 采用的所有设计选择,包括对去重与过滤策略的深入探究。此外,我们还推出 FineWeb-Edu:从 FineWeb 中筛选出的 1.3 万亿 token 教育文本集合。在 FineWeb-Edu 上预训练的 LLM,在 MMLU、ARC 等知识密集型与推理密集型基准测试中表现显著提升。除数据集外,我们还公开发布了数据构建代码库及消融实验中训练的所有模型。
英文摘要:
The performance of a large language model (LLM) depends heavily on the quality and size of its pretraining dataset. However, the pretraining datasets for state-of-the-art open LLMs like Llama 3 and Mixtral are not publicly available and very little is known about how they were created. In this work, we introduce FineWeb, a 15-trillion token dataset derived from 96 Common Crawl snapshots that produces better-performing LLMs than other open pretraining datasets. To advance the understanding of how best to curate high-quality pretraining datasets, we carefully document and ablate all of the design choices used in FineWeb, including in-depth investigations of deduplication and filtering strategies. In addition, we introduce FineWeb-Edu, a 1.3-trillion token collection of educational text filtered from FineWeb. LLMs pretrained on FineWeb-Edu exhibit dramatically better performance on knowledge- and reasoning-intensive benchmarks like MMLU and ARC. Along with our datasets, we publicly release our data curation codebase and all of the models trained during our ablation experiments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。