RedPajama: an Open Dataset for Training Large Language Models
本文发布了RedPajama,一个用于训练大型语言模型的开放数据集,旨在提高数据集的透明度和可访问性,并促进开放语言模型的发展。
更新于 2024-11-20。作者:Maurice Weber、Daniel Fu、Quentin Anthony、Yonatan Oren、Shane Adams、Anton Alexandrov、Xiaozhong Lyu、Huu Nguyen、Xiaozhe Yao、Virginia Adams、Ben Athiwaratkun、Rahul Chalamala、Kezhen Chen、Max Ryabinin、Tri Dao、Percy Liang、Christopher Ré、Irina Rish、Ce Zhang。
中文摘要
大型语言模型正日益成为人工智能、科学乃至整个社会的基础技术,然而,关于数据集组成和过滤的最佳策略仍然难以捉摸。许多表现优异的模型在数据集整理和模型开发过程中缺乏透明度,这成为完全开放语言模型发展的障碍。在本文中,我们确定了三个必须解决的核心数据相关挑战,以推进开源语言模型的发展。这些挑战包括:(1)模型开发透明度,包括数据整理过程;(2)获取大量高质量数据;(3)提供数据集整理和分析所需的工件和元数据。为了应对这些挑战,我们发布了RedPajama-V1,这是LLaMA训练数据集的开放再现版本。此外,我们还发布了RedPajama-V2,这是一个由原始、未过滤的文本数据、质量信号和元数据组成的庞大网络数据集。RedPajama数据集总共有超过100万亿个标记,覆盖多个领域,其质量信号有助于数据的过滤,旨在激发众多新数据集的开发。迄今为止,这些数据集已经被用于训练用于生产的强大语言模型,例如Snowflake Arctic、Salesforce的XGen和AI2的OLMo。为了展示RedPajama的质量,我们进行了一系列分析和消融研究,使用了参数量高达16亿的仅解码器语言模型。我们的发现展示了如何有效地利用网络数据的质量信号来整理数据集的高质量子集,强调了RedPajama在推进大规模透明且高性能语言模型发展方面的潜力。
英文摘要
Large language models are increasingly becoming a cornerstone technology in artificial intelligence, the sciences, and society as a whole, yet the optimal strategies for dataset composition and filtering remain largely elusive. Many of the top-performing models lack transparency in their dataset curation and model development processes, posing an obstacle to the development of fully open language models. In this paper, we identify three core data-related challenges that must be addressed to advance open-source language models. These include (1) transparency in model development, including the data curation process, (2) access to large quantities of high-quality data, and (3) availability of artifacts and metadata for dataset curation and analysis. To address these challenges, we release RedPajama-V1, an open reproduction of the LLaMA training dataset. In addition, we release RedPajama-V2, a massive web-only dataset consisting of raw, unfiltered text data together with quality signals and metadata. Together, the RedPajama datasets comprise over 100 trillion tokens spanning multiple domains and with their quality signals facilitate the filtering of data, aiming to inspire the development of numerous new datasets. To date, these datasets have already been used in the training of strong language models used in production, such as Snowflake Arctic, Salesforce's XGen and AI2's OLMo. To provide insight into the quality of RedPajama, we present a series of analyses and ablation studies with decoder-only language models with up to 1.6B parameters. Our findings demonstrate how quality signals for web data can be effectively leveraged to curate high-quality subsets of the dataset, underscoring the potential of RedPajama to advance the development of transparent and high-performing language models at scale.
解读
一句话总结
本文发布了RedPajama,一个用于训练大型语言模型的开放数据集,旨在提高数据集的透明度和可访问性,并促进开放语言模型的发展。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:大型语言模型在人工智能、科学和社会中的应用日益广泛,但数据集的构建和过滤策略仍然模糊不清,许多顶级模型在数据集管理和模型开发过程中缺乏透明度。 • 现有方案不足:目前缺乏透明度、高质量数据访问以及数据集构建和分析的元数据。 • 研究目标:通过发布RedPajama数据集,解决上述问题,促进开放语言模型的发展。
问题2:论文的核心创新点是什么?
• 技术创新:发布了RedPajama-V1,即LLaMA训练数据集的公开复制;RedPajama-V2,一个包含大量原始、未过滤文本数据的网络数据集。 • 方法改进:提供透明度和可访问性,并使用质量信号帮助过滤数据。 • 优势:提高数据集透明度,促进数据共享和模型开发。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:使用解码器语言模型进行系列分析和消融研究。 • 性能提升:RedPajama数据集已被用于训练Snowflake Arctic、Salesforce的XGen和AI2的OLMo等生产中的强大语言模型。 • 对比结果:RedPajama模型在NLP基准测试中表现优于其他大型预训练语料库训练的模型。
问题4:这个研究的实际应用价值是什么?
• 应用场景:用于训练大型语言模型,包括自然语言处理、问答系统和聊天机器人。 • 实施建议:公开数据集和元数据,以促进研究者和开发者的合作。 • 局限与展望:需要进一步研究数据过滤和清理技术,以及如何更有效地利用质量信号来提高数据集质量。