LLaMAX: Scaling Linguistic Horizons of LLM by Enhancing Translation Capabilities Beyond 100 Languages

Yinquan Lu, Wenhao Zhu, Lei Li, Yu Qiao, Fei Yuan
7/8/2024
cs.CLcs.AI

Official code: CONE-MT/LLaMAX (76 stars, MIT, last commit 2024-12-06).

Abstract

Large Language Models (LLMs) demonstrate remarkable translation capabilities in high-resource language tasks, yet their performance in low-resource languages is hindered by insufficient multilingual data during pre-training. To address this, we conduct extensive multilingual continual pre-training on the LLaMA series models, enabling translation support across more than 100 languages. Through a comprehensive analysis of training strategies, such as vocabulary expansion and data augmentation, we develop LLaMAX. Remarkably, without sacrificing its generalization ability, LLaMAX achieves significantly higher translation performance compared to existing open-source LLMs (by more than 10 spBLEU points) and performs on-par with specialized translation model (M2M-100-12B) on the Flores-101 benchmark. Extensive experiments indicate that LLaMAX can serve as a robust multilingual foundation model. The code \footnote{\url{https://github.com/CONE-MT/LLaMAX/.}} and the models \footnote{\url{https://huggingface.co/LLaMAX/.}} are publicly available.

View on arXivView PDF

Code Implementations(1)

CONE-MT/LLaMAXOfficial100%
MIT
765Shell, PythonMay 7, 20241 years agoMIT

Similar Papers

Cite this paper

@article{lu2024llamax,
  title  = {LLaMAX: Scaling Linguistic Horizons of LLM by Enhancing Translation Capabilities Beyond 100 Languages},
  author = {Yinquan Lu and Wenhao Zhu and Lei Li and Yu Qiao and Fei Yuan},
  year   = {2024},
  eprint = {2407.05975},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.05975v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.05975.svg)](https://codeofpaper.com/paper/2407.05975)

Discussion