The reviewed record of science sign in
Pith

arxiv: 2407.12869 · v2 · pith:M7NKI6LE · submitted 2024-07-13 · cs.CL · cs.AI

Bilingual Adaptation of Monolingual Foundation Models

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:M7NKI6LErecord.jsonopen to challenge →

classification cs.CL cs.AI
keywords arabicapproachenglishllamamodeladaptingbilinguallanguage
0
0 comments X
read the original abstract

We present an efficient method for adapting a monolingual Large Language Model (LLM) to another language, addressing challenges of catastrophic forgetting and tokenizer limitations. We focus this study on adapting Llama 2 to Arabic. Our two-stage approach begins with expanding the vocabulary and training only the embeddings matrix, followed by full model continual pre-training on a bilingual corpus. By continually pre-training on a mix of Arabic and English corpora, the model retains its proficiency in English while acquiring capabilities in Arabic. Our approach results in significant improvements in Arabic and slight enhancements in English, demonstrating cost-effective cross-lingual transfer. We perform ablations on embedding initialization techniques, data mix ratios, and learning rates and release a detailed training recipe. To demonstrate generalizability of this approach we also adapted Llama 3 8B to Arabic and Llama 2 13B to Hindi.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.