arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.04167cs.CLcs.AI
收藏

中文微型大语言模型:预训练一个以中文为核心的大语言模型

Chinese Tiny LLM: Pretraining a Chinese-Centric Large Language Model

Multimodal Art Projection Research Community(多模态艺术投影研究社区);HKUST(香港科技大学);Fudan University(复旦大学);Peking University(北京大学);Shanghai Jiaotong University(上海交通大学);Nanjing University(南京大学);University of Waterloo(滑铁卢大学);Vector Institute(矢量研究所)

Xinrun Du, Zhouliang Yu, Songyang Gao, Ding Pan, Yuyang Cheng, Ziyang Ma, Ruibin Yuan, Xingwei Qu, Jiaheng Liu, Tianyu Zheng, Xinchen Luo, Guorui Zhou, Wenhu Chen, Ge Zhang

AI总结:

本文提出从零开始、以中文数据为核心预训练的2B模型CT-LLM,使用1.2万亿token语料,在中文任务上表现优异,并开源完整训练流程以推动多语言LLM发展。

摘要:

在本研究中,我们介绍了 CT-LLM,一个 2B 参数规模的大语言模型(LLM),它体现了在 LLM 开发中优先考虑中文的关键转变。CT-LLM 独特地从零开始训练,不同于传统方法,它主要纳入中文文本数据,使用了 1.2 万亿 token 的大规模语料库,其中包括 8000 亿中文 token、3000 亿英文 token 和 1000 亿代码 token。这一战略性构成使模型在理解和处理中文方面具有卓越能力,并通过对齐技术进一步增强了该能力。CT-LLM 在 CHC-Bench 上表现出色,在中文语言任务中表现优异,并通过 SFT 展示了其在英文方面的熟练度。本研究挑战了主要基于英文语料库训练 LLM 再将其适配到其他语言的主流范式,拓宽了 LLM 训练方法论的视野。通过开源训练中文 LLM 的全过程,包括详细的数据处理流程及所获得的大规模适宜预训练中文语料库(MAP-CC)、精心挑选的多学科中文困难案例基准(CHC-Bench)以及 2B 规模的中文微型大语言模型(CT-LLM),我们旨在促进学术界和工业界的进一步探索与创新,为更具包容性和通用性的语言模型铺平道路。

英文摘要:

In this study, we introduce CT-LLM, a 2B large language model (LLM) that illustrates a pivotal shift towards prioritizing the Chinese language in developing LLMs. Uniquely initiated from scratch, CT-LLM diverges from the conventional methodology by primarily incorporating Chinese textual data, utilizing an extensive corpus of 1,200 billion tokens, including 800 billion Chinese tokens, 300 billion English tokens, and 100 billion code tokens. This strategic composition facilitates the model's exceptional proficiency in understanding and processing Chinese, a capability further enhanced through alignment techniques. Demonstrating remarkable performance on the CHC-Bench, CT-LLM excels in Chinese language tasks, and showcases its adeptness in English through SFT. This research challenges the prevailing paradigm of training LLMs predominantly on English corpora and then adapting them to other languages, broadening the horizons for LLM training methodologies. By open-sourcing the full process of training a Chinese LLM, including a detailed data processing procedure with the obtained Massive Appropriate Pretraining Chinese Corpus (MAP-CC), a well-chosen multidisciplinary Chinese Hard Case Benchmark (CHC-Bench), and the 2B-size Chinese Tiny LLM (CT-LLM), we aim to foster further exploration and innovation in both academia and industry, paving the way for more inclusive and versatile language models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑