arXiv

PortBERT: Navigating the Depths of Portuguese Language Models

Title: PortBERT: Charting the Course for Efficient Portuguese Language Modeling

Transformer architectures have established themselves as the backbone of contemporary natural language processing; however, there is a notable scarcity of language-specific models that prioritize efficiency alongside performance. In the domain of Portuguese, existing efforts have predominantly concentrated on maximizing scale or accuracy, frequently overlooking the critical aspects of training and deployment efficiency. To address this gap, this study presents PortBERT, a collection of RoBERTa-derived language models tailored for Portuguese that seek to strike an optimal balance between computational efficiency and model performance.

The models were trained from the ground up utilizing fairseq, employing stable pre-training protocols compatible with both TPU and GPU hardware. The training corpus comprised more than 450 GB of data, specifically deduplicated and filtered subsets of mC4 and OSCAR23 sourced from CulturaX, and utilized byte-level BPE tokenization. We introduce two distinct versions: PortBERT base and PortBERT large.

To assess their capabilities, we evaluated these models using ExtraGLUE, a benchmark suite consisting of translated tasks from GLUE and SuperGLUE. The results indicate that PortBERT variants are highly competitive, performing on par with or better than current monolingual and multilingual alternatives. Furthermore, beyond standard accuracy metrics, this work provides a detailed analysis of training durations, inference latency, and fine-tuning throughput, offering valuable practical perspectives on efficiency. By focusing on the often-overlooked tradeoffs between compute resources and performance in Portuguese NLP, PortBERT adds a significant dimension to existing research. All model checkpoints are publicly available on Huggingface, alongside fairseq versions, to facilitate continued research and real-world application.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...