
EuroBERT-210m
Language674 ops310.3M params
Llama 3-style multilingual masked-language encoders for 15 languages, code and math, in 210M, 610M and 2.1B sizes.
Language · 674 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
The 210 million parameter size, the smallest of the three. The card says the smaller EuroBERT-210m generally outperforms all similarly sized systems.
About this model's family
EuroBERT is a family of multilingual encoder models for European and widely spoken global languages, built to produce the general-purpose vector representations that retrieval, regression and classification systems rely on. The traced members are the three released sizes, with 210M, 610M and 2.1B parameters. The Hub card loads them as masked language models with remote code through AutoModelForMaskedLM. Its usage example masks the capital of France and gets Paris back.
The paper's premise is that encoders have been overshadowed by generative decoder-only models, yet many of the innovations driving that progress are not inherently tied to decoders. In response, the models closely follow the Llama 3 architecture. They are a standard dense transformer with all biases removed, plus grouped query attention, swish gated linear units, root mean square layer normalization and rotary position embeddings. To train them the authors construct a multilingual 5T-token corpus covering 15 languages. The pipeline has two stages, pre-training and annealing, under the masked language modeling objective. Pre-training uses a 50% masking ratio, following findings that masking 15% and 30% of tokens is sub-optimal. In the annealing phase the RoPE theta rises to 250,000 and training documents are randomly cropped to lengths between 12 and 8,192 tokens.
The result is a set of encoders that natively support sequences of up to 8,192 tokens. On the paper's benchmarks, EuroBERT-2.1B ranks first on 10 out of 18 tasks, competing closely with the larger XLM-RoBERTa-3.5B. The ablations hold some surprises: including code and mathematics data improves multilingual retrieval but degrades classification accuracy. Contrary to the authors' expectations, selecting only documents with high educational value degraded performance. The model architectures, weights and training codebase are released under the Apache 2.0 license. The GitHub repository is the Optimus training library, a framework built to train language models across CPU, AMD and NVIDIA GPUs. Training ran on Adastra, using 92 MI250X GPUs for EuroBERT-210M, 384 MI250X GPUs for EuroBERT-610M and 96 MI300A GPUs for EuroBERT-2.1B, for a total of 200k GPU hours.
Key idea. A refreshed recipe for general-purpose multilingual encoders that borrows the architectural advances of recent decoder models. The released family has three models with 210M, 610M and 2.1B parameters, trained with masked language modeling and natively supporting sequences of up to 8,192 tokens.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{boizard2026eurobertscalingmultilingualencoders,
title={EuroBERT: Scaling Multilingual Encoders for European Languages},
author={Nicolas Boizard and Hippolyte Gisserot-Boukhlef and Duarte M. Alves and André Martins and Ayoub Hammal and Caio Corro and Céline Hudelot and Emmanuel Malherbe and Etienne Malaboeuf and Fanny Jourdan and Gabriel Hautreux and João Alves and Kevin El Haddad and Manuel Faysse and Maxime Peyrard and Nuno M. Guerreiro and Patrick Fernandes and Ricardo Rei and Pierre Colombo},
year={2026},
eprint={2503.05500},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2503.05500},
}