[论文解读] Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Research
Dolma 是一个开放的英语预训练语料库,来自多样来源,规模为三万亿标记,并附带一个开源的 curate 工具包,以实现对数据对语言模型研究的再现性。
Information about pretraining corpora used to train the current best-performing language models is seldom discussed: commercial models rarely detail their data, and even open models are often released without accompanying training data or recipes to reproduce them. As a result, it is challenging to conduct and advance scientific research on language modeling, such as understanding how training data impacts model capabilities and limitations. To facilitate scientific research on language model pretraining, we curate and release Dolma, a three-trillion-token English corpus, built from a diverse mixture of web content, scientific papers, code, public-domain books, social media, and encyclopedic materials. We extensively document Dolma, including its design principles, details about its construction, and a summary of its contents. We present analyses and experimental results on intermediate states of Dolma to share what we have learned about important data curation practices. Finally, we open-source our data curation toolkit to enable reproduction of our work as well as support further research in large-scale data curation.
研究动机与目标
- 促进语言模型预训练数据的开放性与透明度。
- 提供一个规模大、来源多样的英语语料库,支持开放的语言模型研究与可重复性。
- 提供一个高性能的工具包,用于编排和再现预训练数据集。
提出的方法
- 从网络、论文、代码、书籍、社交媒体和百科全书等来源汇集一个 3T-token 的英语语料库。
- 应用语言、质量、内容和去重过滤器,生成干净的预训练数据集。
- 使用多源混合方式并启用下游评估,以引导数据决策。

实验结果
研究问题
- RQ1预训练数据的组成如何影响语言模型的能力与局限性?
- RQ2哪些数据治理实践(过滤、去重、源混合)能最大化下游任务的表现与语言拟合?
- RQ3一个开放、可重复的流水线是否能够产出在质量和多样性上与其他开放语料库相匹配甚至超过的数据集?
- RQ4各种内容过滤(有害性、个人可识别信息 PII)以及去重对模型性能和安全性的影响如何?
主要发现
- Dolma 提供一个来自七个数据源的 3 trillion token 英语语料库,公开可用,并附带数据筛选工具包。
- 将 Gopher 与 C4 风格的质量过滤结合使用,得到的语言拟合和下游表现优于仅使用 CCNet 质量分数。
- 使用仇恨和 NSFW 检测器进行有毒内容过滤,设定更高阈值,在提升下游任务的同时代价是移除部分数据。
- 在实验中,PII 去除策略对模型性能未显示出明显影响。
- 在 URL、文档和段落层面对去重被用于提高标记利用效率,在 URL 去重时有大量文档移除(53.2%)。
- 去重、质量过滤和内容过滤的综合流水线在他们的消融研究中实现了最佳的下游表现。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。