Elamur Research

Tucano: Advancing neural text generation for Portuguese

Paper · 2025 · Nicholas Kluge Corrêa, Aniket Sen, Sophia Falk et al.

Summary

Training a text generator from scratch requires large amounts of written material, and those resources are much easier to assemble for some languages than for others. For Portuguese, an established route has been to adapt a system that has already learned from a large multilingual or predominantly English collection. Tucano takes the other route. The authors assemble a Portuguese pretraining corpus called GigaVerbo, develop a filter for it, and train a family of generators starting from random weights. They focus mainly on Brazilian Portuguese. Their aim is both to make Portuguese text generation more accessible and to make it easier to trace what changes during training.

GigaVerbo contains approximately 200 billion tokens before quality filtering. Tokens are the pieces of text the system reads and predicts. The authors combine public sources, remove exact duplicates, and use scores from GPT-4o to teach a Portuguese classifier which documents to flag. They remove documents when the classifier is highly confident that they belong to its low-quality class. The filtered collection contains 129 billion tokens before any deliberate repetition. The largest Tucano, 2b4, processes roughly 515 billion tokens across repeated passes. The authors also give the larger Tucano variants a separate round of training to help them respond to instructions.

The larger Tucano variants beat several Portuguese and multilingual comparison systems on selected tasks. Tucano also outperforms Bloom-1b7 on CALAME-PT and LAMBADA, which test whether a system can supply the missing final word. Across the training checkpoints, a broader finding emerges. Held-out text becomes easier for Tucano to predict, yet many scores in the Portuguese evaluation suite show little relationship to the amount of training completed. CALAME-PT, LAMBADA, HellaSwag, and ARC-Challenge track training progress consistently across the family. Scores on the Brazilian bar exam benchmark show no apparent relationship to token exposure, even though the training collection contains substantial legal material.

These results give the open release a second use beyond generating Portuguese text. The corpus, intermediate checkpoints, code, and logs let researchers examine why a benchmark might register progress for one task and scarcely move for another. The instruction-tuned versions also perform competitively against some larger systems in the authors’ Portuguese chat evaluation, while losing ground on some benchmarks used for the base versions. The paper therefore documents several different kinds of progress, each tied to a particular training stage and evaluation.

Deep dive: Tucano: Advancing neural text generation for Portuguese

Tucano trains open Portuguese text generators from scratch and tests which benchmarks register improvements as pretraining progresses. · about 35 minutes to read

The problem and its context

Starting with Portuguese text

A generator trained to predict the next piece of text learns from a signal that is already present in its reading material. At each point in a passage, the following token is available as the expected answer. This is the form of self-supervision behind the paper. It makes it possible to use material that was never prepared as a set of labeled exercises. It also makes the supply of suitable text a practical constraint. A team needs enough material to sustain training, and it needs a way to decide what to keep when the collection comes from many sources.

The paper places this problem in the broader context of low-resource languages. It describes collections for English or Chinese reaching the scale of 10¹³ tokens. Portuguese has enough digital text to support substantial experiments, but the authors’ survey shows how different the starting point had been for much of the community. Until 2024, nearly all the Portuguese efforts they review used datasets with fewer than 10 billion tokens. In many cases that volume describes a round of adaptation, with the original foundation having seen a much larger collection elsewhere. Comparing the Portuguese training totals alone therefore obscures a major difference in what the systems had already learned.

The authors give fine-tuning a specific meaning. It begins with weights learned in a previous training run and updates them on new material. Changing the vocabulary, relearning the input representations, or updating only part of the system can all occur within fine-tuning. Under the paper’s terminology, pretraining starts with random weights. That distinction matters when reading a benchmark result. A score for an adapted generator reflects what it inherited as well as what it acquired during adaptation. When details of the earlier run are private, the effects of those successive stages become especially difficult to trace.

Multilingual training offers another way to make progress when any individual language has a limited data supply. The authors cite systems such as XLM-RoBERTa and BLOOM as examples of pooling languages during pretraining. Their survey also describes work in several languages where a dedicated monolingual approach had advantages. As the paper presents it, the choice depends on which resources a team has and what it needs to control. An existing foundation makes adaptation practical. Starting from scratch gives researchers control over the corpus, the vocabulary, and the conditions under which the resulting artifacts can be shared and studied.

What earlier Portuguese projects provided

Several early projects illustrate the range of objectives within Portuguese natural language processing. GPorTuguese-2 adapted a GPT-2 foundation using roughly 1.2 GB of Portuguese Wikipedia text. Its developers also provided a vocabulary tailored to the language. PTT5 adapted multilingual T5 for tasks framed as text inputs and text outputs. Its training used BrWaC, a collection the paper describes as containing roughly 2.68 billion tokens. Both releases show that a team can change how a system reads Portuguese while retaining weights learned in an earlier run.

BERTimbau also combined earlier weights with components trained anew, including a Portuguese vocabulary. Its use of BrWaC made that corpus part of a foundation on which other groups could build. The paper gives BERTikal, trained on 2.6 GB of court documents, as an example of adapting BERTimbau for a domain. The survey also discusses BERTabaporu, a Brazilian Portuguese project that started from scratch using 2.9B tokens of Twitter data. The source of the text and the origin of the weights are separate dimensions in this history. A system can start from scratch on a narrow domain or adapt inherited weights to a new one.

The authors note that encoder-only architectures such as BERT dominated much of this work. An encoder produces representations of input text that can be used for tasks such as classification. A decoder trained causally predicts the next token from a prefix, which makes it a direct basis for open-ended generation. The survey describes a shift toward that second kind of work. Sabiá adapted existing generators using roughly 7.8 billion tokens from a filtered ClueWeb collection. TeenyTinyLlama trained generators from scratch in Brazilian Portuguese with 6.2B tokens. Glória did so for European Portuguese with a corpus of 35.5 billion tokens. These examples made the route taken by Tucano intelligible, while also showing that projects varied in language variety, training scale, and access to their materials.

Combining datasets had already become one way to increase the volume available for pretraining. Glória pooled sources for European Portuguese. The RoBERTaLexPT work used deduplicated collections for general and legal Portuguese. The Tucano authors describe earlier cleaning as predominantly heuristic, covering operations such as removing HTML, repairing misencoded text, and finding duplicates. A rule can detect a broken character sequence or an empty fragment. The harder question is how to judge whether an otherwise well-formed document is informative enough to keep. The paper treats this as a separate problem from collection or cleanup and investigates a classifier for it.

Why benchmark choice was part of the problem

A public generator is easier to compare with its peers when researchers share a test protocol. The authors describe a Portuguese research landscape where teams often used different tests or metrics, and where access to some systems was limited. A score from one paper could be difficult to place alongside a score from another. Even a shared dataset could serve different purposes, depending on whether it was used to adapt a system or to test what that system could already do given a prompt.

The available tests were also built for different settings. Some native datasets had served as downstream tasks for BERT-style systems. Using them to test a causal generator with examples in its input changes the way the task is presented and answered. Other tests came from machine translation of English benchmarks. They expanded the menu of tasks researchers could run in Portuguese, while carrying possible differences in wording and cultural setting. The authors wanted to find out how these evaluation benchmarks behave during training, as well as where a fully trained generator would rank.

This motivates the paper’s use of intermediate checkpoints. A benchmark score at the end of pretraining says how the generator did at that point. A series of scores along the way can show whether the benchmark responds as the same generator reads more text. The authors ask whether progress on next-token prediction is visible in these other measurements. Their description of earlier work also explains why making the intermediate artifacts available matters. A team can ask that question again with a different prompt or test when it has the actual weights from the training run.

The method, step by step

Assemble and deduplicate GigaVerbo

The authors start by collecting Portuguese portions of public datasets. They concatenate those portions into one collection and use exact hashes to identify duplicate documents. A hash gives the pipeline a compact identifier to compare across a collection. Here the comparison is for exact duplication. A document that turns up unchanged in more than one constituent source need only contribute its text once at this stage. The approach follows earlier efforts to build very large collections by combining existing sources.

The resulting GigaVerbo collection has over 145 million documents and 780 GB of text. The constituents include sources of quite different kinds. Wikipedia and Corpus Carolina appear among the sources from which the authors draw examples for judging quality. Common Crawl and LegalPT are also represented in that sample. The source labels remain meaningful after concatenation because the team considers the overall quality of individual subsets when it later decides what to repeat. Pooling the text gives the authors a large starting supply. It also gives them a mixture whose composition can be altered without collecting every document anew.

From public Portuguese corpora to Tucano

The steps in order.

From public Portuguese corpora to TucanoStep 1: Pool Portuguese documents from public collections1. Pool Portuguese documents from public collectionsStep 2: Remove documents with identical hashes2. Remove documents with identical hashesStep 3: Score sampled text and train a classifier3. Score sampled text and train a classifierStep 4: Filter documents and choose which text repeats4. Filter documents and choose which text repeatsStep 5: Encode documents with a Portuguese tokenizer5. Encode documents with a Portuguese tokenizerStep 6: Train causal decoders and save checkpoints6. Train causal decoders and save checkpointsStep 7: Evaluate checkpoints on held-out text and benchmarks7. Evaluate checkpoints on held-out text and benchmarksStep 8: Adapt the larger decoders to follow instructions8. Adapt the larger decoders to follow instructions

Turn example judgments into a corpus filter

The authors want the filter to distinguish informative Portuguese prose from text that may be valid as a sequence of characters but offers little material for language training. They describe the difference through examples such as an article or tutorial and a fragment scraped from a product page. It is difficult to capture that judgment with a length rule alone. Scoring every document with a large external system would be expensive, and the paper also identifies the cost of obtaining human judgments at scale. The approach is to obtain scores for a sample, then teach a smaller classifier to act on the whole collection.

The team randomly draws 110,000 samples from 9 nonsynthetic subsets of GigaVerbo. GPT-4o receives each sampled text and rates how suitable it is as Portuguese training material. The scoring scale runs from 0.0 to 1.0, and the prompt asks the judge to consider qualities such as informativeness and value for training. The authors then create categorical targets from the ends of the score distribution. The two conditions can be expressed separately.

s ≥ 0.8

Here s is the score GPT-4o assigns to an individual text. The symbol ≥ includes scores equal to the cutoff as well as those above it. The cutoff 0.8 defines the high-quality class for the classifier’s training examples.

s ≤ 0.6

Here s again denotes the judge’s score for the text. The symbol ≤ includes the cutoff and all scores below it. The cutoff 0.6 defines the low-quality class. Scores between the cutoffs fall outside these categorical definitions. The resulting labels represent which side of the judge’s quality rubric an example clearly occupies.

The paper gives some texture to what that rubric picks up. On inspected Wikipedia examples, GPT-4o frequently gave scores below 0.5 to documents that were poorly formed, incomplete, or excessively short, including documents with fewer than 20 words. The authors also report that text judged dangerous, toxic, or sexually explicit could receive scores below 0.1. Those observations explain why the resulting data can teach more than formatting detection. They also explain why “quality” needs to be interpreted as a judgment for this training recipe. Different reasons for downgrading text all enter the same scoring channel.

The first candidate filter converts a sample into a numerical representation using LaBSE. Its output is a vector with 768 dimensions, a fixed-length description of the text that can be passed to a classifier. The authors train XGBoost on those vectors. XGBoost combines decision trees, and in this setup the trees learn to distinguish the high and low labels from patterns in the LaBSE features. The reported settings include a learning rate of 0. 1, with 100 estimators and tree depth capped at 10. In a separate experiment the team uses the same representation and learning approach to predict a numerical score directly.

The other route adapts BERTimbau to text classification. The system reads each text and learns the quality task through updates to its inherited Portuguese representations. The base version is trained with a learning rate of 4 × 10⁻⁵, a weight decay of 0.01, and batches of 128 examples for 3 epochs. An epoch is a pass through the training data. For the categorical comparison, both approaches are evaluated on a test set of 11,000 examples. The authors also evaluate BERTimbau-large before choosing the base version for the corpus pass.

The procedure for applying the chosen classifier is distinct from the procedure for turning GPT-4o scores into labels. The first thresholds define examples used to teach the classifier. At corpus scale, the authors use the classifier’s assigned class and its confidence in that assignment. They discard a document when it is classified as low quality and the confidence in that class is above 95%. This cautious removal policy is meant to preserve potentially valuable material among ambiguous cases. The released GigaVerbo records the assigned class and confidence for each sample, so the decision about what to keep can be reproduced or varied.

Decide how much text each run sees

After filtering, GigaVerbo contains 129 billion tokens before repetition. The authors use this as the starting pool for mixtures with different exposure to the available text. For Tucano-160m, Tucano-630m, and Tucano-1b1, they repeat certain subsets according to their overall assessed quality. The resulting mixture contains 169 billion tokens. For Tucano-2b4, they take a different approach and use four passes through the entire filtered collection, for roughly 515 billion processed tokens.

Selecting sources for repetition changes which kinds of text take up more of the training budget. Repeating the entire filtered collection preserves its proportions across passes. In both cases, another encounter with a passage contributes to the processed-token count. The counts describe training exposure, while the size before repetition describes the available material. The paper motivates this design with earlier work reporting that several passes through a constrained collection can still be useful, with diminishing returns as repetition becomes extensive.

The schedule also helps explain why the authors first remove accidental duplicates and later add intentional repetition. Exact deduplication curbs repetition inherited from overlapping sources. Deliberately repeating a selected subset after that point is a documented decision about the mixture. It lets the authors determine which sources receive more weight for the smaller runs. For the largest run, the authors document the same material being visited across whole-corpus passes. This gives the later checkpoint analysis a clear definition of the horizontal axis, namely tokens actually processed.

Encode Portuguese economically

Tokenization converts the characters in a document into the discrete pieces the decoder works with. A piece can be smaller than a word, and a vocabulary determines which pieces have their own entries. The same Portuguese passage can therefore occupy different numbers of token positions in different systems. When a passage takes fewer positions, more text can fit inside a fixed token window. There is also a cost to enlarging the vocabulary, because the system must represent and predict its entries.

To choose a tokenizer, the authors repeat an earlier comparison using Portuguese poems. The sample contains roughly 14,000 words and includes material by Fernando Pessoa and Ronald de Carvalho. For a given amount of text, the comparison looks at how much each tokenizer compresses it in token terms and how large a vocabulary it uses. This sets up a choice between tokenizers with extensive coverage from very large inventories and those that get good compression by allocating a smaller inventory to Portuguese.

The selected tokenizer comes from TeenyTinyLlama. It uses SentencePiece’s unigram approach to subword tokenization. A sub-word inventory can represent a word using several pieces when the full form is missing from the vocabulary. The unigram approach provides a way to choose among possible segmentations using a learned inventory and corresponding scores. The tokenizer used for Tucano has a vocabulary of 32,000 entries. The authors use it to encode GigaVerbo and put an end-of-text marker between documents. The marker tells the decoder that a new document has begun within the training stream.

Train a decoder to predict the next token

Tucano uses a decoder-only Transformer based on Llama and implemented through Hugging Face. Attention lets the decoder draw on different positions in the part of the text it has received. The causal objective limits what it can use for each prediction to earlier tokens. The answer during training is the actual following token, and the decoder allocates probability among the possible entries in its vocabulary. Once it can make that prediction, it can generate a continuation by feeding a predicted token into the next round of prediction.

The paper specifies cross-entropy as the training loss. At any one position, its contribution can be written in terms of the probability given to the observed token.

ℓ = −log p

The symbol ℓ is the loss contribution at the position, p is the probability the decoder assigns to the actual next token given its prefix, and log is the natural logarithm. The minus sign makes the loss larger when the probability of the observed continuation is smaller. Across token positions, this objective rewards a decoder that gives more probability to the text it actually sees.

The architecture uses root mean square normalization to control the scale of activations and rotary position embeddings, called RoPE, to supply position information to attention. The paper specifies SiLU as the activation, a nonlinear transformation used within the network. Tucano-160m, Tucano-630m, and Tucano-1b1 train with context windows of 2048 tokens. Tucano-2b4 trains on sequences of length 4096. The window length determines how many token positions the training sequence can contain.

The authors select network dimensions so that the decoder, the optimizer state, and batches of training examples fit on their GPUs. They use grouped-query attention for Tucano-630m, Tucano-1b1, and Tucano-2b4, with 4 key-value heads per decoder block. In attention, queries look for relevant information and keys and values give the mechanism something to match and retrieve. With grouped queries, several query heads share the same key and value heads. This reduces the memory cost of storing and processing that part of attention. The authors use the savings to increase token throughput within the hardware budget.

Run and monitor pretraining

The training stack uses PyTorch and distributed data parallelism. Each GPU can hold a copy of the network and process part of a batch. The workers combine the information needed to make a common weight update. Tucano-160m and Tucano-630m each train on 8 NVIDIA A100-SXM4-80GB GPUs. Tucano-1b1 and Tucano-2b4 each use 16 of the same GPUs. FlashAttention 2 and Liger Triton kernels help reduce the cost of moving data and carrying out operations during training. The authors also use BF16 mixed precision and enable TF32 for matrix multiplication.

All the pretraining runs use AdamW, which updates the weights from gradients while maintaining running estimates of gradient behavior. The reported stability constant, ε, is 1 × 10⁻⁸. The decay coefficients β₁ and β₂, for the running gradient estimates, are 0.9 and 0.95. A weight decay factor of 0.1 regularizes the weights. The gradient clipping threshold is 1.0, which limits the size of gradients used in updates when their norm grows too large. These settings describe the optimization procedure alongside the data and the architecture.

The learning rate determines how large an update the optimizer attempts. It rises linearly during 1,000 warm-up steps. The schedule then uses a cosine-shaped decrease during 90% of training, bringing the rate down to 10% of its maximum. The rate stays at that minimum during the last 10% of training. The authors describe choosing settings through short exploratory runs of roughly 10,000 steps and drawing others from earlier work on systems of similar size.

The team also tries accumulating gradients across smaller batches before making an update. That would allow an update to represent more tokens than fit simultaneously during a training pass. In their preliminary comparisons, however, early loss falls more quickly with large batches processed directly. The main runs therefore avoid gradient accumulation. During those runs, the team saves intermediate weights at approximately 10.5 billion-token intervals and measures predictive performance on text reserved from training as well as on the task suite. The checkpoints connect each set of weights to the amount of text processed by that point.

Adapt the larger variants to instructions

Causal pretraining teaches a decoder to continue text. Training for instructions gives it examples where a desirable continuation is a direct response to a user. The authors create instruction-following versions of Tucano-1b1 and Tucano-2b4 in a separate sequence of updates. They start with the final base checkpoints and add special instruction boundary tokens. For Tucano-1b1 the paper identifies that starting checkpoint as step 480,000.

The first stage is supervised fine-tuning. The data contain over 600K examples of user and assistant interactions generated by systems that had already been adapted for such exchanges. Training on these demonstrations gives Tucano examples of how a response should follow a request framed in the chat format. The two variants run for four epochs with 262K tokens per optimizer step. The learning rate decays to 10% of the minimum rate from pretraining, with no new warm-up period. The paper reports that the other inherited hyper-parameters stay in place.

The second stage uses direct preference optimization. The preference dataset contains 35K triplets. Each triplet connects a prompt to a favored answer and a less favored alternative, giving the training procedure a relative judgment about responses to the same request. The authors start this stage from each variant’s supervised checkpoint and implement it with the Transformer Reinforcement Learning library. They use a cosine schedule with a learning rate of 1 × 10⁻⁶ and weight decay of 0.1. The preference setting beta is 0.5, and the loss uses a sigmoid with zero label smoothing. The dataset is repeated for three epochs. The global batch size is 16 for 1b1 and 8 for 2b4.

The resulting Tucano-1b1-Instruct and Tucano-2b4-Instruct are evaluated as instruction-following systems in addition to being considered alongside the base family. The release includes the generators, intermediate checkpoints, data, implementation, and training logs. The authors make GigaVerbo and its classifier materials available through Hugging Face and the project code through GitHub. This exposes both what went into the training recipe and which parts researchers can revisit using the released artifacts.

Experiments and results

What counts as progress during training

The study follows training loss, validation perplexity, and task-specific scores. Training loss tells the authors how well a decoder predicts the text used for its updates. For validation, they randomly set aside 60,000 samples from GigaVerbo. Validation perplexity summarizes the decoder’s predictive uncertainty on that reserved material. A lower value means the decoder assigned more probability to the observed continuations on average. For the cross-entropy objective, the relationship can be written as follows.

PPL = exp(L)

Here PPL is perplexity, L is the mean next-token cross-entropy on the evaluated text, and exp is the natural exponential function. The result is tied to the tokenization used to present that text. The authors track it across training checkpoints alongside the training loss and log the learning rate and gradient norm as well.

The authors report larger reductions in loss and validation perplexity for the larger Tucano variants over the course of training. They interpret these curves as consistent with the expected benefits of increasing size and token exposure. The settings changed in other ways across sizes, including the token mixture and the length of training sequences for the largest decoder. The curves describe the behavior of the complete runs. They establish improvement on the predictive objective and supply a reference point for asking whether particular task scores also improve.

GigaVerbo token volume across corpus and training settings

Repeating the full filtered corpus gives Tucano’s largest training run the highest token exposure.

GigaVerbo token volume across corpus and training settingsFiltered GigaVerbo before repetition: 129Filtered GigaVerbo before repetition129GigaVerbo mixture with selected subsets repeated: 169GigaVerbo mixture with selected subsetsrepeated169Tucano-2b4 training with full filtered corpus repeated (this paper): 515Tucano-2b4 training with full filteredcorpus repeated (this paper)515
The numbers
System or settingbillion tokens
Filtered GigaVerbo before repetition129
GigaVerbo mixture with selected subsets repeated169
Tucano-2b4 training with full filtered corpus repeated (this paper)515

The chart compares token counts for settings derived from the same corpus. The total for Tucano-2b4 is approximate. A higher bar represents greater training exposure, with repeated material included. The first bar gives the filtered supply before repetition, and the mixture used for the smaller variants lies between that supply and the total processed by Tucano-2b4. This difference matters for the checkpoint analysis. A late checkpoint counts additional passes over text even when many of its tokens came from familiar documents.

What the benchmark suite measures

The main evaluation harness contains 14 benchmarks. Ten originate in Portuguese, and four are Portuguese machine translations of English tests. The native group includes educational and professional multiple-choice exams, paired-text tasks, and tests of sentiment and hate speech. ENEM and BLUEX are exam benchmarks, and OAB uses questions from the Brazilian bar exam. ASSIN2 RTE and FAQUAD NLI probe inference, where the system needs to judge a relationship between pieces of text. ASSIN2 STS instead examines semantic similarity, the degree to which texts are alike in meaning. HateBR, PT Hate Speech, and TweetSentBR cover forms of text classification.

CALAME-PT joins that native group with a generation task. The system receives a sentence with the last word withheld and must produce the missing word. The authors run it in a zero-shot setting, so the input includes no solved demonstrations to follow. Generation is deterministic and receives credit only for an exact match. A different word can make the sentence fluent and still receive no credit. LAMBADA-PT, translated from the original LAMBADA test set, follows the same procedure because it also asks for a missing final word.

The other translated tasks are ARC-Challenge, HellaSwag, and TruthfulQA. They are drawn from a multilingual implementation of the evaluation harness. The authors retain the standard leaderboard’s prompt-example settings for few-shot learning, where a prompt can show solved instances to demonstrate the expected task. The suite therefore combines evidence obtained through different interfaces. Some tasks ask a system to generate a word. Others ask it to make a choice or render a classification. The effect of more pretraining can be tracked separately for each benchmark under its established setup.

The checkpoint comparisons use evaluation points spaced approximately 10.5 billion processed tokens apart. At each point the authors record the task scores and later calculate the Pearson product-moment correlation between the checkpoint scores and cumulative token exposure. As a compact way of writing the relationship measured, let T and S denote the paired series.

r = cov(T, S) ÷ (σ(T) × σ(S))

Here r is the Pearson correlation coefficient. T is the series of cumulative processed-token counts and S is the series of scores on a particular benchmark for a particular Tucano variant. The operation cov measures how the paired values vary together. The function σ gives the standard deviation of a series. The division sign ÷ divides the covariance by the product of the standard deviations, and × denotes multiplication. Covariance and standard deviations use a consistent normalization. The resulting coefficient measures the direction and strength of linear association.

The paper highlights coefficients above 0.6 and pays particular attention to tests that clear that threshold across the whole Tucano family. This question differs from which system gets the highest score at its final checkpoint. A test can register a steady trend during training while its final score remains modest. A higher final score on another test can coexist with a weak or erratic trend. The authors look at both kinds of result because a benchmark used to study pretraining has a different job from one used simply to select a system at the end.

Where the scores follow token exposure

The authors identify CALAME-PT and LAMBADA as consistent across the family, along with HellaSwag and ARC-Challenge. Each has a positive relationship above the paper’s 0.6 threshold for every Tucano size. The result spans both native and translated material. It also spans last-word prediction and multiple-choice evaluation. Under these particular prompts and scoring protocols, both task formats can register differences between earlier and later checkpoints.

The native exam tasks tell a different story. ENEM and BLUEX show a moderate positive relationship with cumulative token exposure only for Tucano-1b1. The authors report that OAB scores appear unrelated to cumulative training tokens at every tested size. The training collection contains over 4 billion tokens from the legal domain, which makes OAB a useful example of the distance between topic exposure and exam performance. There is substantial legal text in the reading material. Whether a later checkpoint selects the correct answer in this exam is a separate outcome that depends on the test format and the knowledge it asks the system to use.

FAQUAD NLI is another native benchmark whose performance appears unrelated to cumulative exposure. ASSIN2 RTE scores can fluctuate substantially between adjacent evaluation points. The authors also observe cases of inverse scaling, their term for a benchmark score that worsens as training advances. This occurs on several tasks for Tucano-160m. They report related behavior for Tucano-2b4 on HateBR and ASSIN2 STS, including performance below a random guesser. Their comparison to chance gives those declines an interpretation beyond the mere fact of a negative trend.

Taken together, these outcomes show that the steadily improving pretraining objective can coexist with several kinds of benchmark trajectory. Some tasks improve consistently. Others yield fluctuations, weak trends, or declines. The authors consider whether certain abilities might emerge only above a size threshold, but point to ARC-Challenge and HellaSwag as examples where generators in the tested range already show clear progress on multiple-choice tasks. The type of answer alone explains little about why an individual benchmark responds the way it does.

How Tucano compares with other systems

For the main comparison with other generators, the authors focus on the benchmarks that track training across the Tucano family. This gives the comparison a defined purpose. It asks how the resulting systems perform on the subset already shown to respond to changes during causal pretraining. It also means the comparison is conditional on a choice made after examining the checkpoint trajectories. A favorable comparison on that subset answers a narrower question than a ranking across the entire harness.

On those selected tests, the authors report that the largest Tucano variants outperform several Portuguese and multilingual comparison systems across almost all the benchmarks, including Llama-3.2-1b. They single out CALAME-PT and LAMBADA as cases where Tucano exceeds Bloom-1b7. The comparison is especially relevant because the tasks ask for open generation of the missing word, scored with exact matches under the same protocol. Tucano can be competitive with systems drawn from a much larger training effort while using a corpus and recipe built for Portuguese.

Across the full harness, the authors identify the Llama-3.2 series as the exception to their reported advantage over the systems in their comparison table. They also discuss Sabiá-7b, Gervásio-7b, and Llama-2-7b separately. These larger Llama-based systems are substantially stronger on several tasks that track Tucano’s pretraining weakly, including ENEM, BLUEX, OAB, and FAQUAD NLI. This places the checkpoint analysis and the cross-system comparisons in context. The scores on those tasks can be high in other settings, even though they are weak indicators of progress under Tucano’s particular training conditions.

The authors consider several explanations for such results. Training material may contain styles of question and response that help a system handle an evaluation. Some tasks may require particular domain material or stronger capabilities at a larger scale. Chance variation can also matter, as the fluctuating ASSIN2 RTE checkpoints illustrate. The authors do not have the full training data for some baselines, so the evidence supports the comparisons under the evaluation harness but leaves the origin of their scores unresolved.

How instruction-following is tested

The authors construct AlpacaEval-PT from a Portuguese machine translation of Alpaca material. This evaluation has 805 prompts. The instruction-tuned systems generate answers, and the comparisons use the original Alpaca completions from text-davinci-003 as the reference standard. GPT-4 Turbo judges paired outputs with attention to relevance, coherence, and whether the response follows the user’s request. The reported measure is a length-controlled win rate, which adjusts the preference comparison for answer length. An advantage under this measure reflects judgments against a reference response on this set of prompts.

The Instruct variants can outperform larger systems including Sabiá-7b and Gervásio-7b in this test, and the authors describe their performance as approaching that of Llama-3.2 variants. The task-suite comparisons also register losses after instruction tuning. The two observations can coexist because the procedures reward different responses. AlpacaEval-PT asks whether an answer serves a request well. An exact last-word match or a benchmark label gives credit for a narrower target. Adapting the response style that a user sees can change how well a system meets those other targets under their established prompts.

The paper supplements the evaluations with examples from Tucano-2b4 and Tucano-2b4-Instruct on subjects tied to Brazilian and Portuguese culture. These examples illustrate the kind of coherent, contextually relevant prose that the authors saw. They also describe a tendency to produce factually incorrect or incomprehensible content. The examples are demonstrations of what can occur under particular prompts and decoding settings. The paper gives the demonstration settings as top-p of 1.0, temperature of 0.3, and top-k of 100.

Throughput and the cost of evaluation

The paper puts Tucano-1b1’s training throughput at 24,180 tokens per second for each A100-SXM4-80GB GPU. The authors describe this as similar to the documented throughput of TinyLlama and above what was documented for Pythia. They also estimate FLOPs utilization, a comparison between the throughput achieved in the run and a theoretical hardware maximum. A rate of tokens processed per second is an observed speed for the training stack and configuration. The utilization estimate interprets that speed relative to the capacity of the equipment.

The project tracks energy expenditure during training, experiments, and evaluation with CodeCarbon. The reported total is 16,675 kWh, with roughly 6% used for experiments and evaluations. The authors report approximately 5,900 GPU hours across training and give a cost estimate of approximately 5,990 USD under the hourly assumptions stated in the paper. They estimate total emissions at 6.1 tonnes of carbon dioxide equivalent using a German grid intensity of 0.37 kilograms of carbon dioxide equivalent per kilowatt-hour for 2023. That grid estimate converts electrical consumption to estimated emissions for the reported setting.

Accounting for experiments and evaluation makes visible a cost that a final-run total would miss. The repeated checkpoint measurements that make the benchmark analysis possible require computation of their own. So do the exploratory runs used to choose batch settings and adjust preprocessing. The authors report carrying out most experiments on the smaller Tucano variants to minimize that expenditure. The resulting budget reflects both training the released systems and investigating how to train and assess them.

What the ablations show

Changing how a batch is assembled

The most direct training comparison concerns batch size and gradient accumulation. A batch is the group of training examples whose gradients contribute to an update. When using accumulation, the trainer processes smaller groups in sequence and keeps their gradients until it has enough for an update. This can allow the update to draw on a large effective batch within the memory available. The authors test whether that strategy brings the same convergence benefit they observe with larger batches processed directly.

The main comparison uses the 160 million parameter Tucano. The authors vary the direct batch from 1 million tokens, represented by a batch size of 512 in the figure caption, down to 65 thousand tokens, represented by 32. They also test ways to achieve a batch of 0.5 million tokens, represented by 256, with 2, 4, or 8 gradient accumulation steps. For these tests the learning rate and AdamW decay coefficients stay fixed, as does the linear warm-up of 1,000 steps. This gives the comparison a shared optimizer schedule while allowing batch construction and size to vary across settings.

The largest direct batch produces the fastest early reduction in loss. The authors also report slower initial convergence as more accumulation is used to achieve a target batch size. The figure examines the first 200 million processed tokens and shows that the rates of change in loss become more similar as training proceeds. Its diagnostic can be written without specifying how the plotted slope was estimated.

dₗₒₛₛ = rate of change of training loss

Here dₗₒₛₛ names the diagnostic shown in the training comparison. Training loss is the penalty on the decoder’s next-token predictions. The horizontal progression in the figure is cumulative tokens, so the diagnostic concerns how loss changes over that progression. Early in the runs, the authors see the steeper improvement with larger directly processed batches.

The batch experiments explain the decision to omit accumulation from the full Tucano runs. They establish an early-training pattern under the choices the authors tested. The paper reports similar observations during more limited experiments at other sizes. The authors suggest that the normalization used in the Llama architecture might contribute to the behavior, but they do not present a comparison that varies the normalization while holding the accumulation setup fixed. The proposed cause therefore remains a hypothesis. The comparison directly informs the recipe without resolving the mechanism.

Choosing a classifier and a tokenizer

The filter comparison isolates another practical choice. The authors evaluate classifiers on a test set of 11,000 examples derived from the GPT-4o scoring procedure. One route predicts labels from fixed LaBSE embeddings with XGBoost. The other adapts BERTimbau itself to the classification task. An additional LaBSE and XGBoost run predicts a continuous score and records a root mean squared error of 0.16 on the evaluation. That metric measures the magnitude of numerical prediction errors, giving larger errors more influence. It serves a different prediction target from the binary classification test.

The authors choose BERTimbau-base for corpus-wide scoring because of its combination of classification performance and speed. They report that BERTimbau-large performs very similarly on the classification evaluation, and that the chosen base classifier is faster than the large version and the tested XGBoost classifiers. This supports their choice of implementation for the filtering task. The authors hypothesize that LaBSE representations may have been less suitable for Portuguese in this setting. The comparison changes both the representation and the way the prediction is learned, so those results leave the cause of the performance difference open.

On the whole collection, the chosen filter assigns approximately 50 million samples to the low-quality class out of 145 million scored samples, leaving 65% classified as high quality. The policy that removes only high-confidence low-quality cases leaves approximately 70% of GigaVerbo available. The first percentage describes a classification outcome. The second describes what the authors retain under their actual decision rule. These outcomes show how a threshold on confidence affects corpus size. The study leaves an end-to-end comparison of generator quality under alternative thresholds for future investigation.

The tokenizer test makes a different controlled comparison by holding the input passage fixed. The paper reports weak Portuguese compression for the Llama 2 tokenizer and describes Sabiá-2 as the weakest tokenizer in the comparison in spite of having a larger vocabulary than its predecessor. Some of the most compressive options have multilingual vocabularies exceeding 250,000 entries. TeenyTinyLlama provides the combination the authors want, good Portuguese compression and a smaller vocabulary. That supports the engineering choice about context and vocabulary cost. It leaves open how much any of the tokenizer choices would change benchmark outcomes if used to train an otherwise identical Tucano.

What remains combined in the main runs

Comparing the base and Instruct variants shows what changes after the complete instruction adaptation procedure. Some base-suite scores fall, while the Instruct variants perform well in the chat comparison. Supervised demonstrations, preference data, and the added chat delimiters enter the adaptation together. The paper’s results give the combined effect in those evaluations. A separate evaluation after each intervention would be needed to attribute the changes to particular parts of the procedure.

The authors also identify corpus ablations as a topic for future work. They vary the mix by design between the smaller and largest runs, but size, context length, and total exposure change as well. The experiments therefore reveal how specific recipes behave, including what their checkpoints can do. They leave the value of any individual GigaVerbo subset, or the overall contribution of learned filtering to downstream generation, unmeasured in a matched pretraining comparison.

Limitations

Limits the authors identify

Tucano is principally a Brazilian Portuguese effort. The authors consider its procedures adaptable to other Portuguese varieties, while their survey notes that varieties such as Angolan Portuguese have very limited representation in the resources they review. The training focus and evaluation mix support claims primarily about the settings actually tested. The fact that Glória and Albertina provided precedents for European Portuguese also helps explain why it is important to keep the regional scope of a release visible.

The authors identify machine translation as a limitation of their material and tests. A substantial part of the pretraining corpus contains material translated from English. The main harness also uses translated benchmarks because native Portuguese tests are scarce in some task categories. Translation makes those categories available for comparison, while the authors regard native tests as better suited to linguistic and cultural nuance. The chat evaluation also begins from translated prompts. Its results describe instruction-following under that particular adaptation of the Alpaca setup.

The paper reports hallucinations in generation, including fluent text with factual errors. The qualitative examples show responses on culturally relevant subjects, while the authors acknowledge that a system can generate plausible prose and still get facts wrong. The examples establish the presence and character of this behavior. The paper does not estimate how frequently it occurs across topics or deployment settings. Likewise, the automatic chat judgments evaluate the stated response qualities for the test prompts, without supplying a general measure of factual reliability.

The reasons for weak benchmark trends remain open. The authors consider the possibility that some tests become informative only at larger sizes and explicitly propose scaling the family further. They also consider evaluation-style familiarity and luck as possible sources of some scores. Unavailable training collections for some comparison systems prevent them from tracing those scores back to specific materials. These are interpretations of the evidence, and the paper leaves the competing explanations unresolved.

Limits visible in the design

A Pearson coefficient here measures how scores and token counts move together along one training trajectory. Token exposure increases along with optimizer steps, changes in the learning rate, and further encounters with material in the mixture. Accordingly, an increasing task score can be associated with these later checkpoints without identifying which part of the training process caused the gain. This matters particularly for the largest run, where further exposure includes repeated passes through the same filtered pool.

A single linear correlation also compresses the shape of a trajectory. A task can respond early and then level off, or it can fluctuate before stabilizing. Those patterns have different implications for someone using the task to distinguish checkpoints. The reported positive threshold is a practical way to pick out consistent tasks in this experiment. It does not establish that those tasks cover all desired abilities, or that a task with a weak coefficient would be uninformative after targeted training. OAB is a case in point because performance under general causal pretraining and performance after preparation directed at legal exams answer different questions.

The filter inherits the rubric of its automatic judge. Evaluation against labels derived from GPT-4o measures how well a classifier reproduces those labels. It leaves open how well the rubric corresponds to independent judgments of appropriate Portuguese training material or how its preferences affect a generator trained on the retained set. A low score can reflect formatting problems, lack of informative content, or a reaction to subject matter. Treating all these reasons as a single class makes filtering feasible at scale, while limiting what the class label reveals about the discarded text.

Exact hash deduplication gives a precise rule for repeated documents. The same rule leaves near duplicates, translated equivalents, and overlaps between training documents and benchmark content outside what exact matching alone can establish. The held-out GigaVerbo sample is explicitly reserved for validation, giving the perplexity experiment its own split. That reservation does not establish the relationship between GigaVerbo and independently assembled task sets. The paper’s openness gives subsequent researchers material with which to investigate such relationships.

Finally, the resource figures describe a particular implementation and computing setting. The carbon total uses the authors’ grid intensity assumption, and the throughput comparison brings together figures documented by different projects. These numbers quantify the practical cost and speed of the reported effort. Estimating what another team would spend would depend on its hardware, grid, training configuration, and the extent of its exploration.

What came after

Later citing work spans evaluation, specialized data, representations, and pretraining. The titles identify each study’s subject. For these citations, the specific use of Tucano’s weights, corpus, filter, or checkpoints remains unspecified. Their connections to the work are clearest where they address the same research questions with a different task or resource.

PHEB introduces a benchmark at the European Portuguese high-school level. Its focus is pertinent to the regional scope of Tucano and to the finding that exam scores can respond unevenly to causal pretraining. A benchmark framed around European Portuguese education brings a different language variety and educational context to the question of what an exam evaluates. Whether PHEB reproduces Tucano’s checkpoint analysis is a separate question from that shared focus. PHEB

NegNLI-BR develops a Brazilian Portuguese benchmark centered on negation in natural language inference. The task focus is narrower than the inference categories in the Tucano harness. Tucano’s FAQUAD NLI results show why such distinctions matter. A broad task name tells the reader what kind of judgment is expected, while the construction of individual examples determines which part of that ability is exercised. A benchmark centered on negation gives the investigation a defined linguistic phenomenon. NegNLI-BR

The study on benchmark data contamination investigates underrepresented languages using Brazilian data. It addresses a question that matters when interpreting cross-system comparisons. If an evaluation overlaps with training material, its score can give a different account of competence than a score on unfamiliar items. Tucano documents its corpus and follows benchmark performance over time, which makes the relationship between exposure and evaluation a natural subject for investigation. The citing study’s title establishes its focus on contamination without identifying which Tucano artifacts it analyzes. Benchmark Data Contamination in Underrepresented Languages

The study of efficient fine-tuning methods examines Portuguese question answering through parameter-efficient adaptation of BERTimbau and an exploratory evaluation of generators. It brings together task-specific adaptation and generative evaluation within the same research topic. Tucano makes a separate distinction between pretraining a foundation and adapting one to answer instructions. The citing work’s scope places that distinction in a practical setting where the form of the question and the adaptation procedure both matter. Efficient Fine-Tuning Methods for Portuguese Question Answering

The sentence-embedding study revisits monolingual approaches for Brazilian Portuguese by comparing global and local representations. An embedding encodes text as a vector so that it can be compared or used by another procedure. Tucano uses embeddings as intermediate inputs in a candidate quality filter and discusses Portuguese representations as a possible downstream direction. The later study focuses on the representations themselves. Its title establishes the comparison of approaches, with the identity of the systems used in that comparison unspecified here. Global vs. Local Sentence Embeddings for Brazilian Portuguese

NorBERTo presents a Portuguese ModernBERT effort whose title reports a training corpus of 331 billion tokens. It belongs to the large-scale Portuguese pretraining line that Tucano seeks to support. Its choice of architecture connects to the encoder side of the history surveyed by the Tucano authors. Read together, the topics show how developing a substantial Portuguese corpus can serve both representation learning and causal text generation, with distinct objectives and evaluation needs. NorBERTo

LegalSim-PT builds a dataset for Portuguese legal document simplification using linguistic metrics. It addresses a different use of legal language from the bar exam questions that Tucano evaluates. A simplification dataset concerns how legal text can be made easier to read. The exam benchmark asks which answer is correct. The citing work extends the range of legal-language resources represented in this research line and gives its task a more specific purpose than general exposure to legal prose. LegalSim-PT

BIPA develops a Brazilian Portuguese phonetic dataset that represents dialect variation in the International Phonetic Alphabet. It gives language variety a concrete representation at the level of pronunciation. Tucano works with written text and foregrounds the uneven coverage of Portuguese varieties in available resources. The citing work addresses a related issue of coverage for a different kind of linguistic information, where a written corpus alone provides no explicit phonetic analysis. BIPA

Cite

Cite as Nicholas Kluge Corrêa, Aniket Sen, Sophia Falk and Shiza Fatimah. 2025. Tucano: Advancing neural text generation for Portuguese. Patterns.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1016/j.patter.2025.101325 · arXiv 2411.07854

@inproceedings{correa2025tucano,
  title = {{Tucano: Advancing neural text generation for Portuguese}},
  author = {Nicholas Kluge Corrêa, Aniket Sen, Sophia Falk and Shiza Fatimah},
  booktitle = {Patterns},
  year = {2025},
  doi = {10.1016/j.patter.2025.101325},
  eprint = {2411.07854},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1016/j.patter.2025.101325}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/correa-2025-tucano-advancing-neural-text-generation/

References

183 references, from the paper's own bibliography.

  1. Julien Abadji, Pedro Ortiz Suarez, Laurent Romary, and Benoît Sagot. Towards a cleaner document-oriented multilingual crawled corpus. arXiv preprint arXiv:2201.06642, 2022. our card
  2. Oliver Adams, Adam Makarucha, Graham Neubig, Steven Bird, and Trevor Cohn. Cross-lingual word embeddings for low-resource language modeling. In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 1, Long Papers, pages 937–947, 2017. OpenAlex ↗ · Scholar ↗
  3. Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai. Gqa: Training generalized multi-query transformer models from multi-head checkpoints. arXiv preprint arXiv:2305.13245, 2023. our card
  4. Ebtesam Almazrouei, Hamza Alobeidli, Abdulaziz Alshamsi, Alessandro Cappelli, Ruxandra Cojocaru, Mérouane Debbah, Étienne Goffinet, Daniel Hesslow, Julien Launay, Quentin Malartic, et al. The falcon series of open language models. arXiv preprint arXiv:2311.16867, 2023. our card
  5. Thales Sales Almeida, Hugo Abonizio, Rodrigo Nogueira, and Ramon Pires. Sabi$\backslash$'a-2: A new generation of portuguese large language models. arXiv preprint arXiv:2403.09887, 2024. OpenAlex ↗ · Scholar ↗
  6. Thales Sales Almeida, Thiago Laitz, Giovana K. Bonás, and Rodrigo Nogueira. Bluex: A benchmark based on brazilian leading universities entrance exams, 2023. OpenAlex ↗ · Scholar ↗
  7. Yuvanesh Anand, Zach Nussbaum, Brandon Duderstadt, Benjamin Schmidt, and Andriy Mulyar. Gpt4all: Training an assistant-style chatbot with large scale data distillation from gpt-3.5-turbo. GitHub (2023), 2023. OpenAlex ↗ · Scholar ↗
  8. Jordi Armengol-Estapé, Casimiro Pio Carrino, Carlos Rodriguez-Penagos, Ona de Gibert Bonet, Carme Armentano-Oller, Aitor Gonzalez-Agirre, Maite Melero, and Marta Villegas. Are multilingual models the best choice for moderately under-resourced languages? a comprehensive assessment for catalan. arXiv preprint arXiv:2107.07903, 2021. OpenAlex ↗ · Scholar ↗
  9. David Arnold. Europe, technology, and colonialism in the 20th century. History and Technology, 21(1):85–106, 2005. OpenAlex ↗ · Scholar ↗
  10. Viraat Aryabumi, John Dang, Dwarak Talupuru, Saurabh Dash, David Cairuz, Hangyu Lin, Bharat Venkitesh, Madeline Smith, Kelly Marchisio, Sebastian Ruder, et al. Aya 23: Open weight releases to further multilingual progress. arXiv preprint arXiv:2405.15032, 2024. our card
  11. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014. our card
  12. Parishad BehnamGhader, Vaibhav Adlakha, Marius Mosbach, Dzmitry Bahdanau, Nicolas Chapados, and Siva Reddy. Llm2vec: Large language models are secretly powerful text encoders. arXiv preprint arXiv:2404.05961, 2024. our card
  13. Yoshua Bengio, Réjean Ducharme, and Pascal Vincent. A neural probabilistic language model. Advances in neural information processing systems, 13, 2000. our card
  14. Stella Biderman, Hailey Schoelkopf, Quentin Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, Aviya Skowron, Lintang Sutawika, and Oskar van der Wal. Pythia: A suite for analyzing large language models across training and scaling, 2023. OpenAlex ↗ · Scholar ↗
  15. Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O’Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, et al. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning, pages 2397–2430. PMLR, 2023. OpenAlex ↗ · Scholar ↗
  16. Sid Black, Stella Biderman, Eric Hallahan, Quentin Anthony, Leo Gao, Laurence Golding, Horace He, Connor Leahy, Kyle McDonell, Jason Phang, et al. Gpt-neox-20b: An open-source autoregressive language model. arXiv preprint arXiv:2204.06745, 2022. our card
  17. Rishi Bommasani, Drew A Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, et al. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258, 2021. our card
  18. Luiz Henrique Bonifacio, Paulo Arantes Vilela, Gustavo Rocha Lobato, and Eraldo Rezende Fernandes. A study on the impact of intradomain finetuning of deep language models for legal named entity recognition in portuguese. In Intelligent Systems: 9th Brazilian Conference, BRACIS 2020, Rio Grande, Brazil, October 20–23, 2020, Proceedings, Part I 9, pages 648–662. Springer, 2020. OpenAlex ↗ · Scholar ↗
  19. Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020. our card
  20. Henrico Bertini Brum and Maria das Graças Volpe Nunes. Building a sentiment corpus of tweets in brazilian portuguese. arXiv preprint arXiv:1712.08917, 2017. our card
  21. Bruno Henrique. Caramelo 7b. https://huggingface.co/Bruno/Caramelo_7B, 2023. OpenAlex ↗ · Scholar ↗
  22. Bruno Henrique. Harpia-7b-guanacolora. https://huggingface.co/Bruno/Harpia-7b-guanacoLora, 2023. OpenAlex ↗ · Scholar ↗
  23. Israel Campiotti, Matheus Rodrigues, Yuri Albuquerque, Rafael Azevedo, and Alyson Andrade. Debertinha: A multistep approach to adapt debertav3 xsmall for brazilian portuguese natural language processing task, 2023. OpenAlex ↗ · Scholar ↗
  24. Carlo Moro. Gpt4-500k-augmented-ptbr-clean. https://huggingface.co/datasets/cnmoro/GPT4-500k-Augmented-PTBR-Clean, 2024. OpenAlex ↗ · Scholar ↗
  25. Carlo Moro. Instruct-ptbr-enus-11m. https://huggingface.co/datasets/cnmoro/Instruct-PTBR-ENUS-11M, 2024. OpenAlex ↗ · Scholar ↗
  26. Diedre Carmo, Marcos Piau, Israel Campiotti, Rodrigo Nogueira, and Roberto Lotufo. Ptt5: Pretraining and validating the t5 model on brazilian portuguese data. arXiv preprint arXiv:2008.09144, 2020. our card
  27. Jianghao Chen, Pu Jian, Tengxiao Xi, Dongyi Yi, Qianlong Du, Chenglin Ding, Guibo Zhu, Chengqing Zong, Jinqiao Wang, and Jiajun Zhang. Chinesewebtext: Large-scale high-quality chinese web text extracted with effective evaluation model, 2023. OpenAlex ↗ · Scholar ↗
  28. Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, pages 785–794, 2016. our card
  29. Tianqi Chen, Bing Xu, Chiyuan Zhang, and Carlos Guestrin. Training deep nets with sublinear memory cost. arXiv preprint arXiv:1604.06174, 2016. OpenAlex ↗ · Scholar ↗
  30. Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm: Scaling language modeling with pathways. arxiv 2022. arXiv preprint arXiv:2204.02311, 10, 2022. our card
  31. Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try arc, the ai2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018. our card
  32. CodeCarbon. Codecarbon: Track emissions from compute and recommend ways to reduce their impact on the environment. https://github.com/mlco2/codecarbon, 2019. OpenAlex ↗ · Scholar ↗
  33. Cohere For AI team. Policy primer - the ai language gap. https://cohere.com/research/papers/policy-primer-the-ai-language-gap-2024-06-27, 2024. OpenAlex ↗ · Scholar ↗
  34. Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8440–8451, Online, July 2020. Association for Computational Linguistics. our card
  35. Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. Unsupervised cross-lingual representation learning at scale, 2020. our card
  36. Mike Conover, Matt Hayes, Ankit Mathur, Jianwei Xie, Jun Wan, Sam Shah, Ali Ghodsi, Patrick Wendell, Matei Zaharia, and Reynold Xin. Free dolly: Introducing the world's first truly open instruction-tuned llm, 2023. OpenAlex ↗ · Scholar ↗
  37. Nicholas Kluge Corrêa. Dynamic normativity: Necessary and sufficient conditions for value alignment. arXiv preprint arXiv:2406.11039, 2024. OpenAlex ↗ · Scholar ↗
  38. Nicholas Kluge Corrêa, Sophia Falk, Shiza Fatimah, Aniket Sen, and Nythamar De Oliveira. Teenytinyllama: open-source tiny language models trained in brazilian portuguese. Machine Learning with Applications, 16:100558, 2024. OpenAlex ↗ · Scholar ↗
  39. Pablo Botton Costa, Matheus Camasmie Pavan, Wesley Ramos Santos, Samuel Caetano Silva, and Ivandré Paraboni. Bertabaporu: assessing a genre-specific language model for portuguese nlp. In Proceedings of the 14th International Conference on Recent Advances in Natural Language Processing, pages 217–223, 2023. our card
  40. Jan Christian Blaise Cruz and Charibeth Cheng. Evaluating language model finetuning techniques for low-resource languages. arXiv preprint arXiv:1907.00409, 2019. OpenAlex ↗ · Scholar ↗
  41. Yiming Cui, Ziqing Yang, and Xin Yao. Efficient and effective text encoding for chinese llama and alpaca. arXiv preprint arXiv:2304.08177, 2023. our card
  42. Tri Dao. FlashAttention-2: Faster attention with better parallelism and work partitioning. In International Conference on Learning Representations (ICLR), 2024. our card
  43. Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. FlashAttention: Fast and memory-efficient exact attention with IO-awareness. In Advances in Neural Information Processing Systems (NeurIPS), 2022. OpenAlex ↗ · Scholar ↗
  44. Ona De Gibert, Graeme Nail, Nikolay Arefyev, Marta Bañón, Jelmer Van Der Linde, Shaoxiong Ji, Jaume Zaragoza-Bernabeu, Mikko Aulamo, Gema Ramírez-Sánchez, Andrey Kutuzov, et al. A new massive multilingual dataset for high-performance language technologies. arXiv preprint arXiv:2403.14009, 2024. our card
  45. Pedro Delfino, Bruno Cuconato, Edward Hermann Haeusler, and Alexandre Rademaker. Passing the brazilian oab exam: data preparation and some experiments. arXiv preprint arXiv:1712.05128, 2017. OpenAlex ↗ · Scholar ↗
  46. Li Deng and Yang Liu. Deep learning in natural language processing. Springer, 2018. OpenAlex ↗ · Scholar ↗
  47. Radosvet Desislavov, Fernando Martínez-Plumed, and José Hernández-Orallo. Compute and energy consumption trends in deep learning inference. arXiv preprint arXiv:2109.05472, 2021. OpenAlex ↗ · Scholar ↗
  48. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805, 2018. our card
  49. Nolan Dey, Gurpreet Gosal, Hemant Khachane, William Marshall, Ribhu Pathria, Marvin Tom, Joel Hestness, et al. Cerebras-gpt: Open compute-optimal language models trained on the cerebras wafer-scale cluster. arXiv preprint arXiv:2304.03208, 2023. OpenAlex ↗ · Scholar ↗
  50. Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024. our card
  51. Yann Dubois, Balázs Galambosi, Percy Liang, and Tatsunori B Hashimoto. Length-controlled alpacaeval: A simple way to debias automatic evaluators. arXiv preprint arXiv:2404.04475, 2024. OpenAlex ↗ · Scholar ↗
  52. Yann Dubois, Chen Xuechen Li, Rohan Taori, Tianyi Zhang, Ishaan Gulrajani, Jimmy Ba, Carlos Guestrin, Percy S Liang, and Tatsunori B Hashimoto. Alpacafarm: A simulation framework for methods that learn from human feedback. Advances in Neural Information Processing Systems, 36, 2024. our card
  53. Stefan Elfwing, Eiji Uchibe, and Kenji Doya. Sigmoid-weighted linear units for neural network function approximation in reinforcement learning. Neural networks, 107:3–11, 2018. OpenAlex ↗ · Scholar ↗
  54. Sophia Falk and Aimee van Wynsberghe. Challenging ai for sustainability: what ought it mean? AI and Ethics, pages 1–11, 2023. OpenAlex ↗ · Scholar ↗
  55. Sophia Falk, Aimee van Wynsberghe, and Lisa Biber-Freudenberger. The attribution problem of a seemingly intangible industry. Environmental Challenges, page 101003, 2024. OpenAlex ↗ · Scholar ↗
  56. Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Naveen Arivazhagan, and Wei Wang. Language-agnostic bert sentence embedding. arXiv preprint arXiv:2007.01852, 2020. our card
  57. Paulo Finardi, José Dié Viegas, Gustavo T Ferreira, Alex F Mansano, and Vinicius F Caridá. Berta$\backslash$'u: Ita$\backslash$'u bert for digital customer service. arXiv preprint arXiv:2101.12015, 2021. OpenAlex ↗ · Scholar ↗
  58. Marcelo Finger, Maria Clara Paixão de Sousa, Cristiane Namiuti, Vanessa Martins do Monte, Aline Silva Costa, Felipe Ribas Serras, Mariana Lourenço Sturzeneker, Raquel de Paula Guets, Renata Morais Mesquita, Guilherme Lamartine de Mello, Maria Clara Ramos Morales Crespo, Maria Lina de Souza Jeannine Rocha, Patrícia Brasil, Mariana Marques da Silva, and Mayara Feliciano Palma. Carolina: The open corpus for linguistics and artificial intelligence. https://sites.usp.br/corpuscarolina/corpus, 2022. Version 1.1 (Ada). OpenAlex ↗ · Scholar ↗
  59. Paula Fortuna, Joao Rocha da Silva, Leo Wanner, Sérgio Nunes, et al. A hierarchically-labeled portuguese hate speech dataset. In Proceedings of the third workshop on abusive language online, pages 94–104, 2019. our card
  60. Ankur Gandhe, Florian Metze, and Ian Lane. Neural network language models for low resource languages. In Fifteenth Annual Conference of the International Speech Communication Association, 2014. OpenAlex ↗ · Scholar ↗
  61. Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, et al. The pile: An 800gb dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027, 2020. our card
  62. Leo Gao, Jonathan Tow, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Kyle McDonell, Niklas Muennighoff, et al. A framework for few-shot language model evaluation. Version v0. 0.1. Sept, 2021. OpenAlex ↗ · Scholar ↗
  63. Eduardo A. S. Garcia. Open portuguese llm leaderboard. https://huggingface.co/spaces/eduagarcia/open_pt_llm_leaderboard, 2024. OpenAlex ↗ · Scholar ↗
  64. Eduardo AS Garcia, Nadia FF Silva, Felipe Siqueira, Hidelberg O Albuquerque, Juliana RS Gomes, Ellen Souza, and Eliomar A Lima. Robertalexpt: A legal roberta model pretrained with deduplication for portuguese. In Proceedings of the 16th International Conference on Computational Processing of Portuguese, pages 374–383, 2024. OpenAlex ↗ · Scholar ↗
  65. Gabriel Lino Garcia, Pedro Henrique Paiola, João Otávio Frediani, Luis Henrique Morelli, João Vitor Mariano Correia, Danilo Samuel Jodas, Arnaldo Candido Junior, Bruno Elias Penteado, Ivan Rizzo Guilherme, and João Paulo Papa. Ultrachatbr: Um dataset em português baseado no ultrachat, 2023. OpenAlex ↗ · Scholar ↗
  66. Gabriel Lino Garcia, Pedro Henrique Paiola, Luis Henrique Morelli, Giovani Candido, Arnaldo Cândido Júnior, Danilo Samuel Jodas, Luis C. S. Afonso, Ivan Rizzo Guilherme, Bruno Elias Penteado, and João Paulo Papa. Introducing bode: A fine-tuned large language model for portuguese prompt-based task, 2024. OpenAlex ↗ · Scholar ↗
  67. Eva García-Martín, Crefeda Faviola Rodrigues, Graham Riley, and Håkan Grahn. Estimation of energy consumption in machine learning. Journal of Parallel and Distributed Computing, 134:75–88, 2019. OpenAlex ↗ · Scholar ↗
  68. Jonas Geiping, Quentin Garrido, Pierre Fernandez, Amir Bar, Hamed Pirsiavash, Yann LeCun, and Micah Goldblum. A cookbook of self-supervised learning. arXiv preprint arXiv:2304.12210, 2023. OpenAlex ↗ · Scholar ↗
  69. Xinyang Geng and Hao Liu. Openllama: An open reproduction of llama. https://github.com/openlm-research/open_llama, May 2023. OpenAlex ↗ · Scholar ↗
  70. Omer Goldman, Avi Caciularu, Matan Eyal, Kris Cao, Idan Szpektor, and Reut Tsarfaty. Unpacking tokenization: Evaluating text compression and its correlation with model performance. arXiv preprint arXiv:2403.06265, 2024. OpenAlex ↗ · Scholar ↗
  71. Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep learning. MIT press, 2016. OpenAlex ↗ · Scholar ↗
  72. Pierre Guillou. Gportuguese-2 (portuguese gpt-2 small): a language model for portuguese text generation (and more nlp tasks...). https://huggingface.co/pierreguillou/gpt2-small-portuguese, 2020. OpenAlex ↗ · Scholar ↗
  73. Suriya Gunasekar, Yi Zhang, Jyoti Aneja, Caio César Teodoro Mendes, Allie Del Giorno, Sivakanth Gopi, Mojan Javaheripi, Piero Kauffmann, Gustavo de Rosa, Olli Saarikivi, et al. Textbooks are all you need. arXiv preprint arXiv:2306.11644, 2023. our card
  74. Tahmid Hasan, Abhik Bhattacharjee, Md. Saiful Islam, Kazi Mubasshir, Yuan-Fang Li, Yong-Bin Kang, M. Sohel Rahman, and Rifat Shahriyar. XL-sum: Large-scale multilingual abstractive summarization for 44 languages. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 4693–4703, Online, August 2021. Association for Computational Linguistics. our card
  75. Trevor Hastie, Robert Tibshirani, Jerome Friedman, Trevor Hastie, Robert Tibshirani, and Jerome Friedman. Overview of supervised learning. The elements of statistical learning: Data mining, inference, and prediction, pages 9–41, 2009. OpenAlex ↗ · Scholar ↗
  76. Pengcheng He, Jianfeng Gao, and Weizhu Chen. Debertav3: Improving deberta using electra-style pre-training with gradient-disentangled embedding sharing. arXiv preprint arXiv:2111.09543, 2021. our card
  77. Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. Deberta: Decoding-enhanced bert with disentangled attention. arXiv preprint arXiv:2006.03654, 2020. our card
  78. Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Training compute-optimal large language models. arXiv preprint arXiv:2203.15556, 2022. our card
  79. Pin-Lun Hsu, Yun Dai, Vignesh Kothapalli, Qingquan Song, Shao Tang, and Siyu Zhu. Liger-kernel: Efficient triton kernels for llm training, 2024. our card
  80. Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021. our card
  81. Lifu Huang, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Cosmos QA: Machine reading comprehension with contextual commonsense reasoning. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2391–2401, Hong Kong, China, November 2019. Association for Computational Linguistics. our card
  82. HuggingFace. Tokenizers: Fast state-of-the-art tokenizers optimized for research and production. https://github.com/huggingface/tokenizers, 2019. OpenAlex ↗ · Scholar ↗
  83. Matthew Hutson. Has artificial intelligence become alchemy?, 2018. OpenAlex ↗ · Scholar ↗
  84. Roseval Malaquias Junior, Ramon Pires, Roseli Romero, and Rodrigo Nogueira. Juru: Legal brazilian large language model from reputable sources. arXiv preprint arXiv:2403.18140, 2024. OpenAlex ↗ · Scholar ↗
  85. Sayash Kapoor and Arvind Narayanan. Leakage and the reproducibility crisis in ml-based science. arXiv preprint arXiv:2207.07048, 2022. OpenAlex ↗ · Scholar ↗
  86. Taku Kudo and John Richardson. Sentencepiece: A simple and language independent subword tokenizer and detokenizer for neural text processing. arXiv preprint arXiv:1808.06226, 2018. our card
  87. Alexandre Lacoste, Alexandra Luccioni, Victor Schmidt, and Thomas Dandres. Quantifying the carbon emissions of machine learning. arXiv preprint arXiv:1910.09700, 2019. our card
  88. Viet Dac Lai, Chien Van Nguyen, Nghia Trung Ngo, Thuat Nguyen, Franck Dernoncourt, Ryan A Rossi, and Thien Huu Nguyen. Okapi: Instruction-tuned large language models in multiple languages with reinforcement learning from human feedback. arXiv preprint arXiv:2307.16039, 2023. our card
  89. Celio Larcher, Marcos Piau, Paulo Finardi, Pedro Gengo, Piero Esposito, and Vinicius Caridá. Cabrita: closing the gap for foreign languages. arXiv preprint arXiv:2308.11878, 2023. OpenAlex ↗ · Scholar ↗
  90. Hugo Laurençon, Lucile Saulnier, Thomas Wang, Christopher Akiki, Albert Villanova del Moral, Teven Le Scao, Leandro Von Werra, Chenghao Mou, Eduardo González Ponferrada, Huu Nguyen, et al. The bigscience roots corpus: A 1.6 tb composite multilingual dataset. Advances in Neural Information Processing Systems, 35:31809–31826, 2022. OpenAlex ↗ · Scholar ↗
  91. Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. nature, 521(7553):436–444, 2015. OpenAlex ↗ · Scholar ↗
  92. Quentin Lhoest, Albert Villanova del Moral, Yacine Jernite, Abhishek Thakur, Patrick von Platen, Suraj Patil, Julien Chaumond, Mariama Drame, Julien Plu, Lewis Tunstall, Joe Davison, Mario Šaško, Gunjan Chhablani, Bhavitvya Malik, Simon Brandeis, Teven Le Scao, Victor Sanh, Canwen Xu, Nicolas Patry, Angelina McMillan-Major, Philipp Schmid, Sylvain Gugger, Clément Delangue, Théo Matussière, Lysandre Debut, Stas Bekman, Pierric Cistac, Thibault Goehringer, Victor Mustar, François Lagunas, Alexander Rush, and Thomas Wolf. Datasets: A community library for natural language processing. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing: System Demonstrations, pages 175–184, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. our card
  93. Haonan Li, Fajri Koto, Minghao Wu, Alham Fikri Aji, and Timothy Baldwin. Bactrian-x : A multilingual replicable instruction-following model with low-rank adaptation, 2023. OpenAlex ↗ · Scholar ↗
  94. Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Gadre, Hritik Bansal, Etash Guha, Sedrick Keh, Kushal Arora, Saurabh Garg, Rui Xin, Niklas Muennighoff, Reinhard Heckel, Jean Mercat, Mayee Chen, Suchin Gururangan, Mitchell Wortsman, Alon Albalak, Yonatan Bitton, Marianna Nezhurina, Amro Abbas, Cheng-Yu Hsieh, Dhruba Ghosh, Josh Gardner, Maciej Kilian, Hanlin Zhang, Rulin Shao, Sarah Pratt, Sunny Sanyal, Gabriel Ilharco, Giannis Daras, Kalyani Marathe, Aaron Gokaslan, Jieyu Zhang, Khyathi Chandu, Thao Nguyen, Igor Vasiljevic, Sham Kakade, Shuran Song, Sujay Sanghavi, Fartash Faghri, Sewoong Oh, Luke Zettlemoyer, Kyle Lo, Alaaeldin El-Nouby, Hadi Pouransari, Alexander Toshev, Stephanie Wang, Dirk Groeneveld, Luca Soldaini, Pang Wei Koh, Jenia Jitsev, Thomas Kollar, Alexandros G. Dimakis, Yair Carmon, Achal Dave, Ludwig Schmidt, and Vaishaal Shankar. Datacomp-lm: In search of the next generation of training sets for language models, 2024. our card
  95. Shen Li, Yanli Zhao, Rohan Varma, Omkar Salpekar, Pieter Noordhuis, Teng Li, Adam Paszke, Jeff Smith, Brian Vaughan, Pritam Damania, et al. Pytorch distributed: Experiences on accelerating data parallel training. arXiv preprint arXiv:2006.15704, 2020. our card
  96. Yuanzhi Li, Sébastien Bubeck, Ronen Eldan, Allie Del Giorno, Suriya Gunasekar, and Yin Tat Lee. Textbooks are all you need ii: phi-1.5 technical report. arXiv preprint arXiv:2309.05463, 2023. our card
  97. Stephanie Lin, Jacob Hilton, and Owain Evans. Truthfulqa: Measuring how models mimic human falsehoods. arXiv preprint arXiv:2109.07958, 2021. our card
  98. Xi Victoria Lin, Todor Mihaylov, Mikel Artetxe, Tianlu Wang, Shuohui Chen, Daniel Simig, Myle Ott, Naman Goyal, Shruti Bhosale, Jingfei Du, et al. Few-shot learning with multilingual language models. arXiv preprint arXiv:2112.10668, 2021. our card
  99. Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning, 2023. OpenAlex ↗ · Scholar ↗
  100. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. our card
  101. Ricardo Lopes, João Magalhães, and David Semedo. Gl$\backslash$'oria-a generative and open large language model for portuguese. arXiv preprint arXiv:2402.12969, 2024. OpenAlex ↗ · Scholar ↗
  102. I Loshchilov. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. our card
  103. Kadan Lottick, Silvia Susai, Sorelle A Friedler, and Jonathan P Wilson. Energy usage reports: Environmental awareness as part of algorithmic accountability. arXiv preprint arXiv:1911.08354, 2019. OpenAlex ↗ · Scholar ↗
  104. AS Luccioni, S Viguier, and AL Ligozat. Estimating the carbon footprint of bloom, a 176b parameter language model, doi: 10.48550. arXiv preprint ARXIV.2211.02001, 2022. our card
  105. Louis Martin, Benjamin Muller, Pedro Javier Ortiz Suárez, Yoann Dupont, Laurent Romary, Éric de la Clergerie, Djamé Seddah, and Benoît Sagot. CamemBERT: a tasty French language model. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7203–7219, Online, July 2020. Association for Computational Linguistics. our card
  106. Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781, 2013. our card
  107. Tomáš Mikolov, Wen-tau Yih, and Geoffrey Zweig. Linguistic regularities in continuous space word representations. In Proceedings of the 2013 conference of the north american chapter of the association for computational linguistics: Human language technologies, pages 746–751, 2013. our card
  108. Ishan Misra and Laurens van der Maaten. Self-supervised learning of pretext-invariant representations. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6707–6717, 2020. OpenAlex ↗ · Scholar ↗
  109. Arindam Mitra, Hamed Khanpour, Corby Rosset, and Ahmed Awadallah. Orca-math: Unlocking the potential of slms in grade school math. arXiv preprint arXiv:2402.14830, 2024. our card
  110. Chenghao Mou, Chris Ha, Kenneth Enevoldsen, and Peiyuan Liu. Chenghaomou/text-dedup: Reference snapshot, September 2023. OpenAlex ↗ · Scholar ↗
  111. Niklas Muennighoff, Alexander M Rush, Boaz Barak, Teven Le Scao, Aleksandra Piktus, Nouamane Tazi, Sampo Pyysalo, Thomas Wolf, and Colin Raffel. Scaling data-constrained language models. arXiv preprint arXiv:2305.16264, 2023. OpenAlex ↗ · Scholar ↗
  112. Prakash M Nadkarni, Lucila Ohno-Machado, and Wendy W Chapman. Natural language processing: an introduction. Journal of the American Medical Informatics Association, 18(5):544–551, 2011. OpenAlex ↗ · Scholar ↗
  113. Thao Nguyen, Gabriel Ilharco, Mitchell Wortsman, Sewoong Oh, and Ludwig Schmidt. Quality not quantity: On the interaction between dataset design and robustness of clip. Advances in Neural Information Processing Systems, 35:21455–21469, 2022. OpenAlex ↗ · Scholar ↗
  114. Thuat Nguyen, Chien Van Nguyen, Viet Dac Lai, Hieu Man, Nghia Trung Ngo, Franck Dernoncourt, Ryan A. Rossi, and Thien Huu Nguyen. Culturax: A cleaned, enormous, and multilingual dataset for large language models in 167 languages, 2023. our card
  115. Joel Niklaus, Veton Matoshi, Matthias Stürmer, Ilias Chalkidis, and Daniel E Ho. Multilegalpile: A 689gb multilingual legal corpus. arXiv preprint arXiv:2306.02069, 2023. OpenAlex ↗ · Scholar ↗
  116. Pedro Javier Ortiz Su'arez, Laurent Romary, and Benoit Sagot. A monolingual approach to contextualized word embeddings for mid-resource languages. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1703–1714, Online, July 2020. Association for Computational Linguistics. our card
  117. Pedro Javier Ortiz Su'arez, Benoit Sagot, and Laurent Romary. Asynchronous pipelines for processing huge corpora on medium to low resource infrastructures. Proceedings of the Workshop on Challenges in the Management of Large Corpora (CMLC-7) 2019. Cardiff, 22nd July 2019, pages 9 – 16, Mannheim, 2019. Leibniz-Institut f"ur Deutsche Sprache. OpenAlex ↗ · Scholar ↗
  118. Daniel W Otter, Julian R Medina, and Jugal K Kalita. A survey of the usages of deep learning for natural language processing. IEEE transactions on neural networks and learning systems, 32(2):604–624, 2020. OpenAlex ↗ · Scholar ↗
  119. Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with human feedback. Advances in neural information processing systems, 35:27730–27744, 2022. our card
  120. Arnold Overwijk, Chenyan Xiong, and Jamie Callan. Clueweb22: 10 billion web documents with rich information. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 3360–3362, 2022. OpenAlex ↗ · Scholar ↗
  121. Denis Paperno, Germán Kruszewski, Angeliki Lazaridou, Quan Ngoc Pham, Raffaella Bernardi, Sandro Pezzelle, Marco Baroni, Gemma Boleda, and Raquel Fernández. The lambada dataset: Word prediction requiring a broad discourse context. arXiv preprint arXiv:1606.06031, 2016. our card
  122. Jupinder Parmar, Shrimai Prabhumoye, Joseph Jennings, Mostofa Patwary, Sandeep Subramanian, Dan Su, Chen Zhu, Deepak Narayanan, Aastha Jhunjhunwala, Ayush Dattagupta, et al. Nemotron-4 15b technical report. arXiv preprint arXiv:2402.16819, 2024. our card
  123. Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. Advances in neural information processing systems, 32, 2019. our card
  124. David Patterson, Joseph Gonzalez, Urs Hölzle, Quoc Le, Chen Liang, Lluis-Miquel Munguia, Daniel Rothchild, David R So, Maud Texier, and Jeff Dean. The carbon footprint of machine learning training will plateau, then shrink. Computer, 55(7):18–28, 2022. OpenAlex ↗ · Scholar ↗
  125. Guilherme Penedo, Hynek Kydlíček, Loubna Ben allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro Von Werra, and Thomas Wolf. The fineweb datasets: Decanting the web for the finest text data at scale, 2024. our card
  126. Marcos Piau, Roberto Lotufo, and Rodrigo Nogueira. ptt5-v2: A closer look at continued pretraining of t5 models for the portuguese language. arXiv preprint arXiv:2406.10806, 2024. OpenAlex ↗ · Scholar ↗
  127. Ramon Pires, Hugo Abonizio, Thales Rogério, and Rodrigo Nogueira. Sabi$\backslash$'a: Portuguese large language models. arXiv preprint arXiv:2304.07880, 2023. OpenAlex ↗ · Scholar ↗
  128. Felipe Maia Polo, Gabriel Caiaffa Floriano Mendonça, Kauê Capellato J Parreira, Lucka Gianvechio, Peterson Cordeiro, Jonathan Batista Ferreira, Leticia Maria Paz de Lima, Antônio Carlos do Amaral Maia, and Renato Vicente. Legalnlp–natural language processing methods for the brazilian legal language. arXiv preprint arXiv:2110.15709, 2021. OpenAlex ↗ · Scholar ↗
  129. Simon JD Prince. Understanding deep learning. MIT press, 2023. OpenAlex ↗ · Scholar ↗
  130. Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019. OpenAlex ↗ · Scholar ↗
  131. Jack W Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, et al. Scaling language models: Methods, analysis & insights from training gopher. arXiv preprint arXiv:2112.11446, 2021. our card
  132. Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. Advances in Neural Information Processing Systems, 36, 2024. our card
  133. Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of machine learning research, 21(140):1–67, 2020. our card
  134. Livy Real, Erick Fonseca, and Hugo Goncalo Oliveira. The assin 2 shared task: a quick overview. In International Conference on Computational Processing of the Portuguese Language, pages 406–412. Springer, 2020. OpenAlex ↗ · Scholar ↗
  135. Nils Reimers and Iryna Gurevych. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084, 2019. our card
  136. João Rodrigues, Luís Gomes, João Silva, António Branco, Rodrigo Santos, Henrique Lopes Cardoso, and Tomás Osório. Advancing neural encoding of portuguese with transformer albertina pt. arXiv preprint arXiv:2305.06721, 2023. OpenAlex ↗ · Scholar ↗
  137. Rafael BM Rodrigues, Pedro IM Privatto, Gustavo José de Sousa, Rafael P Murari, Luis CS Afonso, João P Papa, Daniel CG Pedronette, Ivan R Guilherme, Stephan R Perrout, and Aliel F Riente. Petrobert: a domain adaptation language model for oil and gas applications in portuguese. In International Conference on Computational Processing of the Portuguese Language, pages 101–109. Springer, 2022. OpenAlex ↗ · Scholar ↗
  138. Ruan Chaves Rodrigues. Faquad-nli. https://huggingface.co/datasets/ruanchaves/faquad-nli, 2024. OpenAlex ↗ · Scholar ↗
  139. Elisa Terumi Rubel Schneider, João Vitor Andrioli de Souza, Julien Knafou, Lucas ES Oliveira, Yohan B Gumiel, Lucas FA de Oliveira, Douglas Teodoro, Emerson Cabrera Paraiso, Claudia Moro, et al. Biobertpt: a portuguese neural language model for clinical named entity recognition. In Proceedings of the 3rd Clinical Natural Language Processing Workshop. 19 November 2020, 2020. OpenAlex ↗ · Scholar ↗
  140. Henrique Santos, Vinicius Woloszyn, and Renata Vieira. Blogset-br: A brazilian portuguese blog corpus. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), 2018. OpenAlex ↗ · Scholar ↗
  141. Rodrigo Santos, João Silva, Luís Gomes, João Rodrigues, and António Branco. Advancing generative ai for portuguese with open decoder gerv$\backslash$'asio pt. arXiv preprint arXiv:2402.18766, 2024. OpenAlex ↗ · Scholar ↗
  142. Craig W Schmidt, Varshini Reddy, Haoran Zhang, Alec Alameddine, Omri Uzan, Yuval Pinter, and Chris Tanner. Tokenization is more than compression. arXiv preprint arXiv:2402.18376, 2024. our card
  143. Elisa Terumi Rubel Schneider, Joao Vitor Andrioli de Souza, Yohan Bonescki Gumiel, Claudia Moro, and Emerson Cabrera Paraiso. A gpt-2 language model for biomedical texts in portuguese. In 2021 IEEE 34th international symposium on computer-based medical systems (CBMS), pages 474–479. IEEE, 2021. OpenAlex ↗ · Scholar ↗
  144. Christopher J Shallue, Jaehoon Lee, Joseph Antognini, Jascha Sohl-Dickstein, Roy Frostig, and George E Dahl. Measuring the effects of data parallelism on neural network training. Journal of Machine Learning Research, 20(112):1–49, 2019. OpenAlex ↗ · Scholar ↗
  145. Noam Shazeer. Glu variants improve transformer. arXiv preprint arXiv:2002.05202, 2020. OpenAlex ↗ · Scholar ↗
  146. Oleh Shliazhko, Alena Fenogenova, Maria Tikhonova, Vladislav Mikhailov, Anastasia Kozlova, and Tatiana Shavrina. mgpt: Few-shot learners go multilingual. arXiv preprint arXiv:2204.07580, 2022. our card
  147. Igor Cataneo Silveira and Denis Deratani Mauá. University entrance exam as a guiding test for artificial intelligence. In Proceedings of the 6th Brazilian Conference on Intelligent Systems, BRACIS, pages 426–431, 2017. OpenAlex ↗ · Scholar ↗
  148. Raquel Silveira, Caio Ponte, Vitor Almeida, Vládia Pinheiro, and Vasco Furtado. Legalbert-pt: A pretrained language model for the brazilian portuguese legal domain. In Brazilian Conference on Intelligent Systems, pages 268–282. Springer, 2023. OpenAlex ↗ · Scholar ↗
  149. Shivalika Singh, Freddie Vargus, Daniel Dsouza, Börje F. Karlsson, Abinaya Mahendiran, Wei-Yin Ko, Herumb Shandilya, Jay Patel, Deividas Mataciunas, Laura OMahony, Mike Zhang, Ramith Hettiarachchi, Joseph Wilson, Marina Machado, Luisa Souza Moura, Dominik Krzemiński, Hakimeh Fadaei, Irem Ergün, Ifeoma Okoh, Aisha Alaagib, Oshan Mudannayake, Zaid Alyafeai, Vu Minh Chien, Sebastian Ruder, Surya Guthikonda, Emad A. Alghamdi, Sebastian Gehrmann, Niklas Muennighoff, Max Bartolo, Julia Kreutzer, Ahmet Üstün, Marzieh Fadaee, and Sara Hooker. Aya dataset: An open-access collection for multilingual instruction tuning, 2024. our card
  150. Luca Soldaini, Rodney Kinney, Akshita Bhagia, Dustin Schwenk, David Atkinson, Russell Authur, Ben Bogin, Khyathi Chandu, Jennifer Dumas, Yanai Elazar, Valentin Hofmann, Ananya Harsh Jha, Sachin Kumar, Li Lucy, Xinxi Lyu, Nathan Lambert, Ian Magnusson, Jacob Morrison, Niklas Muennighoff, Aakanksha Naik, Crystal Nam, Matthew E. Peters, Abhilasha Ravichander, Kyle Richardson, Zejiang Shen, Emma Strubell, Nishant Subramani, Oyvind Tafjord, Pete Walsh, Luke Zettlemoyer, Noah A. Smith, Hannaneh Hajishirzi, Iz Beltagy, Dirk Groeneveld, Jesse Dodge, and Kyle Lo. Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Research. arXiv preprint, 2024. our card
  151. A Willian Sousa and Marcos Didonet Del Fabro. Iudicium textum dataset uma base de textos jurıdicos para nlp. In XXXIV Simpósio Brasileiro de Banco de Dados: Dataset Showcase Workshop, SBBD, pages 1–11, 2019. OpenAlex ↗ · Scholar ↗
  152. Fábio Souza, Rodrigo Nogueira, and Roberto Lotufo. Bertimbau: pretrained bert models for brazilian portuguese. In Intelligent Systems: 9th Brazilian Conference, BRACIS 2020, Rio Grande, Brazil, October 20–23, 2020, Proceedings, Part I 9, pages 403–417. Springer, 2020. OpenAlex ↗ · Scholar ↗
  153. Nikit Srivastava, Denis Kuchelev, Tatiana Moteu Ngoli, Kshitij Shetty, Michael Roeder, Diego Moussallem, Hamada Zahera, and Axel-Cyrille Ngonga Ngomo. Lola – an open-source massively multilingual large language model, 2024. OpenAlex ↗ · Scholar ↗
  154. Emma Strubell, Ananya Ganesh, and Andrew McCallum. Energy and policy considerations for deep learning in nlp. arXiv preprint arXiv:1906.02243, 2019. our card
  155. Jianlin Su, Yu Lu, Shengfeng Pan, Bo Wen, and Yunfeng Liu. Roformer: Enhanced transformer with rotary position embedding. corr abs/2104.09864 (2021). arXiv preprint arXiv:2104.09864, 2021. our card
  156. Yu Sun, Shuohuan Wang, Shikun Feng, Siyu Ding, Chao Pang, Junyuan Shang, Jiaxiang Liu, Xuyi Chen, Yanbin Zhao, Yuxiang Lu, et al. Ernie 3.0: Large-scale knowledge enhanced pre-training for language understanding and generation. arXiv preprint arXiv:2107.02137, 2021. our card
  157. Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. Advances in neural information processing systems, 27, 2014. our card
  158. Calvin Tan and Jerome Wang. 1.5-pints technical report: Pretraining in days, not months–your language model thrives on quality data. arXiv preprint arXiv:2408.03506, 2024. OpenAlex ↗ · Scholar ↗
  159. Rohan Taori, Ishaan Gulrajani, Tianyi Zhang, Yann Dubois, Xuechen Li, Carlos Guestrin, Percy Liang, and Tatsunori B Hashimoto. Alpaca: A strong, replicable instruction-following model. Stanford Center for Research on Foundation Models. https://crfm. stanford. edu/2023/03/13/alpaca. html, 3(6):7, 2023. OpenAlex ↗ · Scholar ↗
  160. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023. our card
  161. Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288, 2023. our card
  162. Aimee Van Wynsberghe. Sustainable ai: Ai for sustainability and the sustainability of ai. AI and Ethics, 1(3):213–218, 2021. OpenAlex ↗ · Scholar ↗
  163. Francielle Vargas, Isabelle Carvalho, Fabiana Rodrigues de Góes, Thiago Pardo, and Fabrício Benevenuto. Hatebr: A large expert annotated corpus of brazilian instagram comments for offensive language and hate speech detection. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 7174–7183, 2022. OpenAlex ↗ · Scholar ↗
  164. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017. our card
  165. Charles FO Viegas, Bruno C Costa, and Renato P Ishii. Jurisbert: a new approach that converts a classification corpus into an sts one. In International Conference on Computational Science and Its Applications, pages 349–365. Springer, 2023. OpenAlex ↗ · Scholar ↗
  166. Antti Virtanen, Jenna Kanerva, Rami Ilo, Jouni Luoma, Juhani Luotolahti, Tapio Salakoski, Filip Ginter, and Sampo Pyysalo. Multilingual is not enough: Bert for finnish. arXiv preprint arXiv:1912.07076, 2019. our card
  167. Leandro von Werra, Younes Belkada, Lewis Tunstall, Edward Beeching, Tristan Thrush, Nathan Lambert, Shengyi Huang, Kashif Rasul, and Quentin Gallouédec. Trl: Transformer reinforcement learning. https://github.com/huggingface/trl, 2020. OpenAlex ↗ · Scholar ↗
  168. Jorge A Wagner Filho, Rodrigo Wilkens, Marco Idiart, and Aline Villavicencio. The brwac corpus: A new open resource for brazilian portuguese. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), 2018. our card
  169. Ben Wang and Aran Komatsuzaki. GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model. https://github.com/kingoflolz/mesh-transformer-jax, 2021. OpenAlex ↗ · Scholar ↗
  170. Weizhi Wang, Khalil Mrini, Linjie Yang, Sateesh Kumar, Yu Tian, Xifeng Yan, and Heng Wang. Finetuned multimodal language models are high-quality image-text data filters. arXiv preprint arXiv:2403.02677, 2024. OpenAlex ↗ · Scholar ↗
  171. Xiangpeng Wei, Haoran Wei, Huan Lin, Tianhao Li, Pei Zhang, Xingzhang Ren, Mei Li, Yu Wan, Zhiwei Cao, Binbin Xie, et al. Polylm: An open source polyglot large language model. arXiv preprint arXiv:2307.06018, 2023. our card
  172. Guillaume Wenzek, Marie-Anne Lachaux, Alexis Conneau, Vishrav Chaudhary, Francisco Guzmán, Armand Joulin, and Edouard Grave. CCNet: Extracting high quality monolingual datasets from web crawl data. In Proceedings of the 12th Language Resources and Evaluation Conference, pages 4003–4012, Marseille, France, May 2020. European Language Resources Association. our card
  173. Wikimedia Foundation. Wikimedia Downloads. https://dumps.wikimedia.org, 2024. OpenAlex ↗ · Scholar ↗
  174. BigScience Workshop, Teven Le Scao, Angela Fan, Christopher Akiki, Ellie Pavlick, Suzana Ilić, Daniel Hesslow, Roman Castagné, Alexandra Sasha Luccioni, François Yvon, et al. Bloom: A 176b-parameter open-access multilingual language model. arXiv preprint arXiv:2211.05100, 2022. our card
  175. Fuzhao Xue, Yao Fu, Wangchunshu Zhou, Zangwei Zheng, and Yang You. To repeat or not to repeat: Insights from scaling llm under token-crisis. arXiv preprint arXiv:2305.13230, 2023. OpenAlex ↗ · Scholar ↗
  176. Fuzhao Xue, Zian Zheng, Yao Fu, Jinjie Ni, Zangwei Zheng, Wangchunshu Zhou, and Yang You. Openmoe: An early effort on open mixture-of-experts language models. arXiv preprint arXiv:2402.01739, 2024. our card
  177. Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. mt5: A massively multilingual pre-trained text-to-text transformer. arXiv preprint arXiv:2010.11934, 2020. our card
  178. Alex Young, Bei Chen, Chao Li, Chengen Huang, Ge Zhang, Guanwei Zhang, Heng Li, Jiangcheng Zhu, Jianqun Chen, Jing Chang, et al. Yi: Open foundation models by 01. ai. arXiv preprint arXiv:2403.04652, 2024. our card
  179. Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. Hellaswag: Can a machine really finish your sentence? arXiv preprint arXiv:1905.07830, 2019. OpenAlex ↗ · Scholar ↗
  180. Biao Zhang and Rico Sennrich. Root mean square layer normalization. Advances in Neural Information Processing Systems, 32, 2019. OpenAlex ↗ · Scholar ↗
  181. Peiyuan Zhang, Guangtao Zeng, Tianduo Wang, and Wei Lu. Tinyllama: An open-source small language model. arXiv preprint arXiv:2401.02385, 2024. our card
  182. Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, et al. Opt: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068, 2022. our card
  183. Ahmet Üstün, Viraat Aryabumi, Zheng-Xin Yong, Wei-Yin Ko, Daniel D'souza, Gbemileke Onilude, Neel Bhandari, Shivalika Singh, Hui-Lee Ooi, Amr Kayid, Freddie Vargus, Phil Blunsom, Shayne Longpre, Niklas Muennighoff, Marzieh Fadaee, Julia Kreutzer, and Sara Hooker. Aya model: An instruction finetuned open-access multilingual language model, 2024. our card