We introduce Latxa Llama 3.1 70B Instruct, an instructed version of Latxa. This new Latxa is based on Llama-3.1 (Instruct), which we trained on our Basque corpus (Etxaniz et al., 2024) comprising 4.3M documents and 4.2B tokens using language adaptation techniques (paper in preparation).
[!WARNING] DISCLAIMER
This model is still under development. Further training details will be released with the corresponding research paper in the near future.
Our preliminary experimentation shows that Latxa Llama 3.1 70B Instruct outperforms Llama-3.1-Instruct by a large margin on Basque standard benchmarks, and particularly, on chat conversations. In addition, we organized a public arena-based evaluation, on which Latxat competed against other baselines and proprietary models such as GPT-4o and Claude Sonnet. The results showed that Latxa ranked 3rd, just behind Claude and GPT-4 and above all the other same-size competitors. The official paper is coming soon.
Latxa is a family of Large Language Models (LLM) based on Meta’s LLaMA models. Current LLMs exhibit incredible performance for high-resource languages such as English, but, in the case of Basque and other low-resource languages, their performance is close to a random guesser. These limitations widen the gap between high- and low-resource languages when it comes to digital development. We present Latxa to overcome these limitations and promote the development of LLM-based technology and research for the Basque language. Latxa models follow the same architecture as their original counterparts and were further trained in Latxa Corpus v1.1, a high-quality Basque corpora.
Use the code below to get started with the model.
from transformers import pipeline
pipe = pipeline('text-generation', model='HiTZ/Latxa-Llama-3.1-70B-Instruct')
messages = [
{'role': 'user', 'content': 'Kaixo!'},
]
pipe(messages)
>>
[
{
'generated_text': [
{'role': 'user', 'content': 'Kaixo!'},
{'role': 'assistant', 'content': 'Kaixo! Zer moduz? Zer behar edo galdetu nahi duzu?'}
]
}
]
Latxa models are intended to be used with Basque data; for any other language the performance is not guaranteed. Same as the original, Latxa inherits the Llama-3.1 License which allows for commercial and research use.
Latxa Instruct models are trained to follow instructions or to work as chat assistants.
The model is not intended for malicious activities, such as harming others or violating human rights. Any downstream application must comply with current laws and regulations. Irresponsible usage in production environments without proper risk assessment and mitigation is also discouraged.
In an effort to alleviate the potentially disturbing or harmful content, Latxa has been trained on carefully selected and processed data which comes mainly from local media, national/regional newspapers, encyclopedias and blogs (see Latxa Corpus v1.1). Still, the model is based on Llama 3.1 models and can potentially carry the same bias, risk and limitations. Please see the Llama’s Ethical Considerations and Limitations for further information.
[!WARNING] DISCLAIMER
Further training details will be released with the corresponding research paper in the near future.
We evaluated the models 5-shot settings on multiple-choice tasks. We used the basque partitions of each dataset.
The arena results will be released in the future.
We use Accuracy, as they are framed as Multiple Choice questions.
| Task | Llama-3.1 8B Instruct | Latxa Llama 3.1 8B Instruct | Llama-3.1 70B Instruct | Latxa Llama 3.1 70B Instruct |
|---|---|---|---|---|
| Belebele | 73.89 | 80.00 | 89.11 | 91.00 |
| X-Story Cloze | 61.22 | 71.34 | 69.69 | 77.83 |
| EusProficiency | 34.13 | 52.83 | 43.59 | 68.00 |
| EusReading | 49.72 | 62.78 | 72.16 | 78.98 |
| EusTrivia | 45.01 | 61.05 | 62.51 | 74.17 |
| EusExams | 46.21 | 56.00 | 63.28 | 71.56 |
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
To cite our work, please use:
@misc{sainz2025instructinglargelanguagemodels,
title={Instructing Large Language Models for Low-Resource Languages: A Systematic Study for Basque},
author={Oscar Sainz and Naiara Perez and Julen Etxaniz and Joseba Fernandez de Landa and Itziar Aldabe and Iker García-Ferrero and Aimar Zabala and Ekhi Azurmendi and German Rigau and Eneko Agirre and Mikel Artetxe and Aitor Soroa},
year={2025},
eprint={2506.07597},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2506.07597},
}
This work has been partially supported by the Basque Government (IKER-GAITU project).
It has also been partially supported by the Ministerio para la Transformación Digital y de la Función Pública - Funded by EU – NextGenerationEU within the framework of the project with reference 2022/TL22/00215335.
The models were trained on the Leonardo supercomputer at CINECA under the EuroHPC Joint Undertaking, project EHPC-EXT-2023E01-013.
有文件?提交种子。
发布种子model-00008-of-00030.safetensors 4.7 GiBmodel-00013-of-00030.safetensors 4.7 GiBmodel-00018-of-00030.safetensors 4.7 GiBmodel-00023-of-00030.safetensors 4.7 GiBmodel-00028-of-00030.safetensors 4.7 GiBmodel-00003-of-00030.safetensors 4.7 GiBmodel-00029-of-00030.safetensors 4.6 GiBmodel-00009-of-00030.safetensors 4.6 GiBmodel-00014-of-00030.safetensors 4.6 GiBmodel-00019-of-00030.safetensors 4.6 GiBmodel-00024-of-00030.safetensors 4.6 GiBmodel-00004-of-00030.safetensors 4.6 GiBmodel-00006-of-00030.safetensors 4.3 GiBmodel-00007-of-00030.safetensors 4.3 GiBmodel-00011-of-00030.safetensors 4.3 GiBmodel-00012-of-00030.safetensors 4.3 GiBmodel-00016-of-00030.safetensors 4.3 GiBmodel-00017-of-00030.safetensors 4.3 GiBmodel-00021-of-00030.safetensors 4.3 GiBmodel-00022-of-00030.safetensors 4.3 GiBmodel-00026-of-00030.safetensors 4.3 GiBmodel-00027-of-00030.safetensors 4.3 GiBmodel-00002-of-00030.safetensors 4.3 GiBmodel-00005-of-00030.safetensors 4.3 GiBmodel-00010-of-00030.safetensors 4.3 GiBmodel-00015-of-00030.safetensors 4.3 GiBmodel-00020-of-00030.safetensors 4.3 GiBmodel-00025-of-00030.safetensors 4.3 GiBmodel-00001-of-00030.safetensors 4.3 GiBmodel-00030-of-00030.safetensors 2.0 GiB