Juru: Legal Brazilian Large Language Model from Reputable Sources
Not on the map. Why?
Abstract (arXiv)
The high compute cost associated with pretraining large language models limits their research. Two strategies have emerged to address this issue: domain specialization and pretraining with high-quality data. To explore these strategies, we specialized the Mistral-7B model with 1.9 billion unique tokens from reputable Brazilian legal sources and conducted few-shot evaluations on legal and general knowledge test suites. Our model, Juru, demonstrates the benefits of domain specialization by achieving improved performance on legal benchmarks, even with a reduced amount of pretraining data. However, this domain specialization through continued pretraining comes at the cost of increased forgetting in unrelated domains, as evidenced by performance degradation on general knowledge test suites in both Portuguese and English. This study contributes to the growing body of scientific evidence showing that pretraining data selection may enhance the performance of large language models, enabling the exploration of these models at a lower cost. Juru is publicly available at https://huggingface.co/roseval/Juru-7B .
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 29 of its 37 references that are in the map. First posted on arXiv 26 Mar 2024.
Builds on
29 of 37 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2023Mistral 7Bcited by 3,065
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2022Emergent Abilities of Large Language Modelscited by 2,483
17 more
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2024OLMo: Accelerating the Science of Language Modelscited by 599
- 2023Textbooks Are All You Needcited by 561
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 559
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 136
- 2023Evaluating GPT-3.5 and GPT-4 Models on Brazilian University Admission Examscited by 25
- 2023Cabrita: closing the gap for foreign languagescited by 25
- 2023Sabi'a: Portuguese Large Language Modelscited by 19
- 2023BLUEX: A benchmark based on Brazilian Leading Universities Entrance eXamscited by 15
- 2024Sabi'a-2: A New Generation of Portuguese Large Language Modelscited by 10
- 2021LegalNLP -- Natural Language Processing methods for the Brazilian Legal Languagecited by 6
- 2023Evaluating GPT-4's Vision Capabilities on Brazilian University Admission Examscited by 6
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 3.
5 papers.
- 2024Tucano: Advancing Neural Text Generation for Portuguesecited by 12
- 2026Sabi'a-4 Technical Reportcited by 5
- 2024ALKAFI-LLAMA3: Fine-Tuning LLMs for Precise Legal Understanding in Palestinecited by 1
- 2026Eleven Years of BRACIS: A Meta-Scientific Study of the Brazilian Conference on Intelligent Systemscited by 0
- 2026Language Models for Portuguese: A Systematic Mapping Studycited by 0
- 2026Language Models for Portuguese: A Systematic Mapping Study3 Aug 2026
- 2026Eleven Years of BRACIS: A Meta-Scientific Study of the Brazilian Conference on Intelligent Systems26 Jul 2026
- 2026Sabi'a-4 Technical Report10 Mar 2026
- 2024ALKAFI-LLAMA3: Fine-Tuning LLMs for Precise Legal Understanding in Palestine19 Dec 2024
- 2024Tucano: Advancing Neural Text Generation for Portuguese12 Nov 2024