All models

EuroBERT-610m

Llama 3-style multilingual masked-language encoders for 15 languages, code and math, in 210M, 610M and 2.1B sizes.

Language · 1,430 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (15 KB)

Open in a new tab

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.

At a glance

Family
EuroBERT
Parameters
755.6M
Operations
1,430
Framework
PyTorch
Recurrent
No
Published
2025
Cited by
82 (as of 22 November 2026)
Authors
Nicolas Boizard, Hippolyte Gisserot-Boukhlef, Duarte M. Alves and others
Name in source
EuroBERT:EuroBERT-610m
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m928
Graph hash
0d79350dc7c50eef7aca37fa53bd0d4af50a2ab400bba9dd349b1decef64c8cf
Skeleton hash
42c47eb6952ffdf56548fcc4cf3758fb37f0327fd1c678e5b93642dc67484b55
Architecture hash
b5f34d95aab088060a556fb5c00e0b593af1c9867bed4ae84c3bcb70b8699826
Diagram SHA-256
262efb24979727c5a56f142b76ab22d07e3b62817d542c7bf6d7f8b1ea0a41cb
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

The 610 million parameter size. The card says EuroBERT-610m is competitive with XLM-RoBERTa-XL, a model 5 times its size, on most multilingual tasks and surpasses it in code and mathematics tasks.

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.

  • eurobert
  • EuroBERT-210m
  • EuroBERT-610m
  • EuroBERT-2.1B
  • multilingual encoder
  • european languages
  • masked language model
  • fill-mask
  • bert
  • retrieval
  • long context
  • optimus

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}