[Paper Review] Tucano: Advancing Neural Text Generation for Portuguese
This paper introduces Tucano, a suite of open-source decoder-only transformer language models for Portuguese, trained on Gigavero—a 200-billion-token, deduplicated Portuguese text corpus. The models achieve state-of-the-art performance on Portuguese benchmarks, outperforming similar-sized multilingual and monolingual models, while exposing critical flaws in current evaluation practices that show weak correlation between pretraining scale and benchmark performance.
Significant advances have been made in natural language processing in recent years. However, our current deep learning approach to language modeling requires substantial resources in terms of data and computation. One of the side effects of this data-hungry paradigm is the current schism between languages, separating those considered high-resource, where most of the development happens and resources are available, and the low-resource ones, which struggle to attain the same level of performance and autonomy. This study aims to introduce a new set of resources to stimulate the future development of neural text generation in Portuguese. In this work, we document the development of GigaVerbo, a concatenation of deduplicated Portuguese text corpora amounting to 200 billion tokens. Via this corpus, we trained a series of decoder-transformers named Tucano. Our models perform equal or superior to other Portuguese and multilingual language models of similar size in several Portuguese benchmarks. The evaluation of our models also reveals that model performance on many currently available benchmarks used by the Portuguese NLP community has little to no correlation with the scaling of token ingestion during training, highlighting the limitations of such evaluations when it comes to the assessment of Portuguese generative language models. All derivatives of our study are openly released on GitHub and Hugging Face. See https://nkluge-correa.github.io/Tucano/
Motivation & Objective
- To address the imbalance in NLP resources between high-resource and low-resource languages, particularly Portuguese, by creating a large-scale, high-quality monolingual corpus.
- To develop a series of open, reproducible, and scalable decoder-only transformer models for Portuguese, named Tucano, to close the performance gap with multilingual and high-resource models.
- To critically evaluate the current state of Portuguese NLP benchmarks, revealing their limited correlation with model pretraining scale and performance.
- To promote transparency and sustainability in Portuguese NLP research by releasing all models, code, datasets, and training logs openly on GitHub and Hugging Face.
- To establish a foundation for future research in low-resource language modeling by setting a new standard for data quality, model development, and evaluation rigor.
Proposed method
- Construction of Gigavero, a 200-billion-token, deduplicated, multilingual Portuguese text corpus compiled from diverse public sources, with rigorous filtering to improve data quality.
- Application of learned filtering techniques to remove low-quality, non-Portuguese, and redundant text, enhancing the representativeness and coherence of the training data.
- Training of decoder-only transformer models (Tucano) in a self-supervised pretraining paradigm using the Gigavero corpus, with model sizes of 3B, 7B, and 13B parameters.
- Evaluation of Tucano models on multiple Portuguese benchmarks, including zero-shot and few-shot setups, to assess performance across diverse NLP tasks.
- Systematic analysis of the correlation between model performance and pretraining scale (token ingestion), revealing weak or nonexistent relationships in existing benchmarks.
- Open-sourcing of all models, code, datasets, and training logs via GitHub and Hugging Face to ensure full reproducibility and community reuse.
Experimental results
Research questions
- RQ1To what extent does increasing the scale of pretraining data (in terms of tokens) correlate with improved performance on existing Portuguese NLP benchmarks?
- RQ2Can a monolingual, high-quality, and large-scale Portuguese corpus like Gigavero outperform existing multilingual or smaller monolingual models in generative text tasks?
- RQ3How do current Portuguese evaluation benchmarks reflect the true capabilities of language models, especially when model size and pretraining data scale vary?
- RQ4What are the key bottlenecks in the current evaluation pipeline for Portuguese LLMs, and how can they be addressed to improve benchmark validity?
- RQ5To what extent can open, reproducible research practices—such as publishing full training logs and code—accelerate progress in low-resource language modeling?
Key findings
- Tucano models achieve performance on par or superior to other Portuguese and multilingual models of similar size across multiple benchmarks, demonstrating the effectiveness of monolingual pretraining on high-quality data.
- The study reveals a weak or nonexistent correlation between the number of tokens ingested during pretraining and model performance on existing Portuguese benchmarks, indicating that current evaluation methods may be inadequate.
- The Gigavero corpus, with 200 billion tokens, is the largest publicly available monolingual Portuguese training dataset to date, significantly larger than previous efforts and carefully filtered for quality and language specificity.
- All Tucano models, including 3B, 7B, and 13B parameter variants, are publicly released with full training logs, code, and weights on GitHub and Hugging Face, enabling full reproducibility.
- The research identifies a critical gap in the Portuguese NLP community’s evaluation practices, urging the development of more robust, task-diverse, and scale-sensitive benchmarks.
- The work sets a new standard for open, transparent, and reproducible research in low-resource language modeling, particularly for Portuguese and other under-resourced languages.
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.