mlsanityData to 14 Oct 2026

Cabrita: closing the gap for foreign languages

arXiv 2308.11878 ↗First posted 23 Aug 2023cs.CL cs.AI cs.LGcited by 25

Not on the map. Why?

Abstract (arXiv)

The strategy of training the model from scratch in a specific language or domain serves two essential purposes: i) enhancing performance in the particular linguistic or domain context, and ii) ensuring effective tokenization. The main limitation inherent to this approach lies in the associated cost, which can reach six to seven-digit dollar values, depending on the model size and the number of parameters involved. The main solution to overcome the cost challenge is to rely on available pre-trained models, which, despite recent advancements such as the LLaMA and LLaMA-2 models, still demonstrate inefficiency for certain specific domain problems or prove ineffective in scenarios involving conversational memory resources, given the large number of tokens required to represent text. To overcome this issue, we present a methodology named Cabrita, which, as our research demonstrates, successfully addresses the performance and efficient tokenization problem, all at an affordable cost. We believe that this methodology can be applied to any transformer-like architecture model. To validate the study, we conducted continuous pre-training exclusively using Portuguese text on a 3-billion-parameter model known as OpenLLaMA, resulting in a model named openCabrita 3B. The openCabrita 3B also features a new tokenizer that results in a significant reduction in the number of tokens required to represent the text. In our assessment, for few-shot learning tasks, we achieved similar results with this 3B model compared to a traditional continuous pre-training approach as well as to 7B models English pre-trained models.

Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). Builds on 19 of its 29 references that are in the map. First posted on arXiv 23 Aug 2023.

Builds on

19 of 29 references.

References · 19

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  5. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  6. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  7. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  8. 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
  9. 2020GLU Variants Improve Transformercited by 1,804
  10. 2019Root Mean Square Layer Normalizationcited by 1,480
  11. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  12. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
7 more
  1. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
  2. 2020How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Modelscited by 318
  3. 2023Efficient and Effective Text Encoding for Chinese LLaMA and Alpacacited by 305
  4. 2020PTT5: Pretraining and validating the T5 model on Brazilian Portuguese datacited by 35
  5. 2017Building a Sentiment Corpus of Tweets in Brazilian Portuguesecited by 20
  6. 2023Sabi'a: Portuguese Large Language Modelscited by 19
  7. 2021BERTa'u: Ita'u BERT for digital customer servicecited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 16; 2025: 6; 2026: 3.

25 papers.

Sort:

By area:

  1. 2024Multilingual Large Language Model: A Survey of Resources, Taxonomy and Frontierscited by 51
  2. 2024How Can We Effectively Expand the Vocabulary of LLMs with 0.01GB of Target Language Text?cited by 22
  3. 2024Advancing Generative AI for Portuguese with Open Decoder Gerv'asio PT*cited by 19
  4. 2024An Empirical Study on Cross-lingual Vocabulary Adaptation for Efficient Language Model Inferencecited by 18
  5. 2024TeenyTinyLlama: open-source tiny language models trained in Brazilian Portuguesecited by 13
  6. 2024Tucano: Advancing Neural Text Generation for Portuguesecited by 13
  7. 2024Introducing Bode: A Fine-Tuned Large Language Model for Portuguese Prompt-Based Taskcited by 12
  8. 2024FuxiTranyu: A Multilingual Large Language Model Trained with Balanced Datacited by 10
  9. 2024ptt5-v2: A Closer Look at Continued Pretraining of T5 Models for the Portuguese Languagecited by 8
  10. 2024LlamaTurk: Adapting Open-Source Generative Large Language Models for Low-Resource Languagecited by 6
  11. 2024A Survey of Large Language Models for European Languagescited by 6
  12. 2024Adapting Chat Language Models Using Only Target Unlabeled Language Datacited by 6
13 more
  1. 2025It's All About In-Context Learning! Teaching Extremely Low-Resource Languages to LLMscited by 6
  2. 2024Juru: Legal Brazilian Large Language Model from Reputable Sourcescited by 5
  3. 2025PoETa v2: Toward More Robust Evaluation of Large Language Models in Portuguesecited by 5
  4. 2024Why We Build Local Large Language Models: An Observational Analysis from 35 Japanese and Multilingual LLMscited by 4
  5. 2025Curi'o-Edu 7B: Examining Data Selection Impacts in LLM Continued Pretrainingcited by 4
  6. 2024Fine-tuning with HED-IT: The impact of human post-editing for dialogical language modelscited by 3
  7. 2024SLIM-RAFT: A Novel Fine-Tuning Approach to Improve Cross-Linguistic Performance for Mercosur Common Nomenclaturecited by 3
  8. 2025BRoverbs -- Measuring how much LLMs understand Portuguese proverbscited by 3
  9. 2025Semantic Aware Linear Transfer by Recycling Pre-trained Language Models for Cross-lingual Transfercited by 2
  10. 2025Vocabulary Customization for Efficient Domain-Specific LLM Deploymentcited by 1
  11. 2026LGSE: Lexically Grounded Subword Embedding Initialization for Low-Resource Language Adaptationcited by 0
  12. 2026Synthetic Rewriting as a Quality Multiplier: Evidence from Portuguese Continued Pretrainingcited by 0
  13. 2026Language Models for Portuguese: A Systematic Mapping Studycited by 0