arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.05829cs.CLcs.AIcs.LG
收藏

SambaLingo:教授大型语言模型新语言

SambaLingo: Teaching Large Language Models New Languages

SambaNova Systems(SambaNova系统公司)

Zoltan Csaki, Bo Li, Jonathan Li, Qiantong Xu, Pian Pawakapan, Leon Zhang, Yun Du, Hengyu Zhao, Changran Hu, Urmish Thakker

AI总结:

本文系统研究LLM适配新语言的方法,涵盖词汇扩展、直接偏好优化及低资源语言对齐的数据稀缺问题,在9种语言和7B/70B规模上超越所有先前基线,并公开代码与模型。

摘要:

尽管大型语言模型(LLM)已广泛可用,但在不同语言中的能力和可用性仍存在显著差距。解决这些问题的一种方法是利用现有的预训练LLM,并继续在新语言上对其进行训练。虽然先前的工作已尝试过语言适配,但围绕最佳实践和方法的许多问题尚未得到解答。在本文中,我们对LLM适配新语言进行了全面研究。我们的研究涵盖了这一过程中的关键组成部分,包括词汇扩展、直接偏好优化以及低资源语言中人类对齐的数据稀缺问题。我们将这些实验扩展到9种语言和2个参数规模(7B和70B)。我们将我们的模型与Llama 2、Aya-101、XGLM、BLOOM以及现有的语言专家进行比较,超越了所有先前发表的基线。此外,所有评估代码和检查点均已公开,以促进未来的研究。

英文摘要:

Despite the widespread availability of LLMs, there remains a substantial gap in their capabilities and availability across diverse languages. One approach to address these issues has been to take an existing pre-trained LLM and continue to train it on new languages. While prior works have experimented with language adaptation, many questions around best practices and methodology have not been covered. In this paper, we present a comprehensive investigation into the adaptation of LLMs to new languages. Our study covers the key components in this process, including vocabulary extension, direct preference optimization and the data scarcity problem for human alignment in low-resource languages. We scale these experiments across 9 languages and 2 parameter scales (7B and 70B). We compare our models against Llama 2, Aya-101, XGLM, BLOOM and existing language experts, outperforming all prior published baselines. Additionally, all evaluation code and checkpoints are made public to facilitate future research.

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

↑