Teaching Llama a New Language Through Cross-Lingual Knowledge Transfer

Hele-Andra Kuulmets, Taido Purason, Agnes Luhtaru, Mark Fishel
4/5/2024
cs.CL

No official code found. Best implementation: TartuNLP/llammas (9 stars, last commit 2024-05-21).

Abstract

This paper explores cost-efficient methods to adapt pretrained Large Language Models (LLMs) to new lower-resource languages, with a specific focus on Estonian. Leveraging the Llama 2 model, we investigate the impact of combining cross-lingual instruction-tuning with additional monolingual pretraining. Our results demonstrate that even a relatively small amount of additional monolingual pretraining followed by cross-lingual instruction-tuning significantly enhances results on Estonian. Furthermore, we showcase cross-lingual knowledge transfer from high-quality English instructions to Estonian, resulting in improvements in commonsense reasoning and multi-turn conversation capabilities. Our best model, named \textsc{Llammas}, represents the first open-source instruction-following LLM for Estonian. Additionally, we publish Alpaca-est, the first general task instruction dataset for Estonia. These contributions mark the initial progress in the direction of developing open-source LLMs for Estonian.

View on arXivView PDF

Code Implementations(1)

TartuNLP/llammasCommunity100%

Adapting Llama-2 to Estonian

90Shell, PythonMar 31, 20242 years ago

Similar Papers

Cite this paper

@article{kuulmets2024teaching,
  title  = {Teaching Llama a New Language Through Cross-Lingual Knowledge Transfer},
  author = {Hele-Andra Kuulmets and Taido Purason and Agnes Luhtaru and Mark Fishel},
  year   = {2024},
  eprint = {2404.04042},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.04042v1}
}

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/2404.04042.svg)](https://codeofpaper.com/paper/2404.04042)

Discussion