arXiv:2410.23956cs.CL2024-10被引 6

用英语数据翻译生成多语言训练集,小数据量实现顶尖多语言模型性能。

Multilingual Pretraining Using a Large Corpus Machine-Translated from a Single Source Language

  • 将高质量英语数据译为法德西语,构建300B词元多语言语料库。
  • 仅用6%数据量,模型在五项非英语推理任务上超越主流模型。
  • 微调少量领域数据即达领先水平,适合追求高效多语言建模者。

英语作为高资源语言,支持高质量大语言模型的预训练,但多数其他语言仍缺乏足够优质多语言预训练语料,导致主流大模型在非英语任务上表现欠佳。本文发现,仅从单一高质量源语言(英语)机器翻译得到的文本即可显著提升多语言大模型的预训练效果。我们把高质量英语网页数据集FineWeb-Edu翻译成法语、德语和西班牙语,构建出总计300B词元的语料库TransWeb-Edu,并在此基础上从零开始训练一个13亿参数的模型CuatroLLM。在五个非英语推理任务中,CuatroLLM的表现达到或超过使用封闭数据训练的先进多语言模型(如Llama3.2和Gemma2),尽管其训练数据量仅为后者约6%。进一步通过不足TransWeb-Edu总量1%的特定领域预训练,模型在多语言推理任务上超越现有最先进水平。为促进可复现性,相关语料、模型及训练流程已通过开源许可证发布于hf.co/britllm/CuatroLLM。

原文摘要 · Abstract (English)

English, as a very high-resource language, enables the pretraining of high-quality large language models (LLMs). The same cannot be said for most other languages, as leading LLMs still underperform for non-English languages, likely due to a gap in the quality and diversity of the available multilingual pretraining corpora. In this work, we find that machine-translated text from a single high-quality source language can contribute significantly to the pretraining of multilingual LLMs. We translate FineWeb-Edu, a high-quality English web dataset, into French, German, and Spanish, resulting in a final 300B-token dataset, which we call TransWeb-Edu, and pretrain a 1.3B-parameter model, CuatroLLM, from scratch on this dataset. Across five non-English reasoning tasks, we show that CuatroLLM matches or outperforms state-of-the-art multilingual models trained using closed data, such as Llama3.2 and Gemma2, despite using an order of magnitude less data, such as about 6% of the tokens used for Llama3.2's training. We further demonstrate that with additional domain-specific pretraining, amounting to less than 1% of TransWeb-Edu, CuatroLLM surpasses the state of the art in multilingual reasoning. To promote reproducibility, we release our corpus, models, and training pipeline under open licenses at hf.co/britllm/CuatroLLM.

多语言数据增强机器翻译大模型训练

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。