[Paper Review] Sabiá-2: A New Generation of Portuguese Large Language Models
Sabiá-2 is a new generation of specialized Portuguese large language models, with Sabiá-2 Medium outperforming GPT-3.5 in 58 out of 64 exams and matching or surpassing GPT-4 in 23 out of 64, while operating at 1/10 the cost per token. The model achieves high performance through domain specialization without increasing model size, demonstrating strong results in Brazilian academic and professional exams and culturally grounded conversations.
We introduce Sabiá-2, a family of large language models trained on Portuguese texts. The models are evaluated on a diverse range of exams, including entry-level tests for Brazilian universities, professional certification exams, and graduate-level exams for various disciplines such as accounting, economics, engineering, law and medicine. Our results reveal that our best model so far, Sabiá-2 Medium, matches or surpasses GPT-4's performance in 23 out of 64 exams and outperforms GPT-3.5 in 58 out of 64 exams. Notably, specialization has a significant impact on a model's performance without the need to increase its size, allowing us to offer Sabiá-2 Medium at a price per token that is 10 times cheaper than GPT-4. Finally, we identified that math and coding are key abilities that need improvement.
Motivation & Objective
- To develop a new generation of Portuguese large language models specialized for Brazilian academic and professional domains.
- To evaluate model performance on diverse, high-stakes Brazilian exams without fine-tuning, using only pre-trained capabilities.
- To demonstrate that specialization improves performance and reduces cost without increasing model size.
- To assess the models' ability to handle culturally relevant, multi-turn conversations in Brazilian contexts.
- To identify key limitations, particularly in math and coding, for future improvement.
Proposed method
- Training a family of large language models (Sabiá-2) exclusively on Portuguese text, with no public disclosure of architecture or training methodology.
- Evaluating models on multiple-choice subsets of Brazilian academic and professional exams, including ENEM, BLUEX, ENADE, POSCOMP, and others.
- Using GPT-4 as a judge in pairwise comparisons for open-ended conversation quality on the BRACEval benchmark, with reversed prompt order to mitigate positional bias.
- Assessing model performance across domains such as law, medicine, engineering, economics, and education to measure in-domain accuracy.
- Leveraging domain specialization to enhance performance without increasing model size, enabling cost efficiency.
- Using standardized, expert-crafted exams to ensure fairness and relevance, minimizing bias from non-expert evaluation.

Experimental results
Research questions
- RQ1Can a specialized Portuguese LLM outperform general-purpose models like GPT-3.5 and GPT-4 on Brazilian academic and professional exams without fine-tuning?
- RQ2To what extent does domain specialization improve performance without increasing model size or inference cost?
- RQ3How does Sabiá-2 perform in culturally grounded, multi-turn conversations compared to leading proprietary models?
- RQ4What are the key limitations of the model, particularly in math and coding, and how do they compare to state-of-the-art models?
- RQ5Can AI judges like GPT-4 provide reliable and consistent evaluations of model responses in open-ended, culturally nuanced tasks?
Key findings
- Sabiá-2 Medium outperforms GPT-3.5 Turbo in 58 out of 64 exams, demonstrating strong generalization across diverse domains.
- Sabiá-2 Medium matches or exceeds GPT-4’s performance in 23 out of 64 exams, particularly in law, medicine, and education.
- The model achieves 96.9% performance parity or better than GPT-3.5 Turbo and Gemini 1.0 Pro across the benchmark suite.
- Sabiá-2 Medium outperforms Mistral Large in 76.6% of exams, despite being 8 times cheaper per token.
- In multi-turn conversation evaluation on BRACEval, Sabiá-2 Medium wins in 100% of harmful content responses, but only 15% of coding questions against Claude 3 Sonnet and GPT-3.5 Turbo.
- The model shows significant challenges in math and coding, indicating key areas for future improvement.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.