TensorX
返回文献探索

Paper · arXiv 2404.05829

SambaLingo: Teaching Large Language Models New Languages

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

13 upvotesApril 8, 2024arXiv 预印本
AI 摘要

This investigation explores comprehensive techniques for adapting large language models to new languages, addressing vocabulary extension, preference optimization, and data scarcity issues across multiple languages and model sizes.

vocabulary extensiondirect preference optimizationdata scarcityhuman alignmentlow-resource languageslanguage adaptationlarge language models

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
SambaLingo: Teaching Large Language Models New Languages | TensorX