alt.freeweights.vision / EuroBERT-210m
From: EuroBERT <huggingface.co/EuroBERT>Newsgroups: alt.freeweights.visionSubject:

EuroBERT-210m

Date: 2026-11-15Commit: 39b51e1Signed: 2DC28CC7B26A283B ✓

Fill mask model with 310M parameters. Safetensors weights, 2.50 GB in all. Published by EuroBERT under Apache-2.0.

310M params2.50GBEuroBERT-210msafetensorspermissive
FactsParams310MSize2.50 GBFormatssafetensorsTaskfill maskLicenseApache-2.0From sourcepermissive
$ fw get EuroBERT/EuroBERT-210m
# manifest sha256 acd009f8891e… · 2.50 GB · 14 files
$ fw verify ./EuroBERT-210m EuroBERT/EuroBERT-210m
From sourceHosted (signed)EuroBERT/EuroBERT-210mLast check: 2026-11-15 02:43 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
2.50 GB
Weights
1.24 GB (safetensors)
Parameters
310M
Formats
safetensors
Task
fill mask
License
Apache-2.0 (permissive)
Files
14, each with a sha256
Publisher
EuroBERT
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:43 UTCpassed

Model card

From the publisher at commit 39b51e1. Shown as plain text with links; images open at the publisher.

EuroBERT-210m#

Image: EuroBERT

Table of Contents#

  1. Overview
  2. Usage
  3. Evaluation
  4. License
  5. Citation

Overview#

EuroBERT is a family of multilingual encoder models designed for a variety of tasks such as retrieval, classification and regression supporting 15 languages, mathematics and code, supporting sequences of up to 8,192 tokens. EuroBERT models exhibit the strongest multilingual performance across domains and tasks compared to similarly sized systems.

It is available in 3 sizes:

For more information about EuroBERT, please check our blog post and the arXiv preprint.

Usage#

from transformers import AutoTokenizer, AutoModelForMaskedLM

model_id = "EuroBERT/EuroBERT-210m"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForMaskedLM.from_pretrained(model_id, trust_remote_code=True)

text = "The capital of France is <|mask|>."
inputs = tokenizer(text, return_tensors="pt")
outputs = model(**inputs)

# To get predictions for the mask:
masked_index = inputs["input_ids"][0].tolist().index(tokenizer.mask_token_id)
predicted_token_id = outputs.logits[0, masked_index].argmax(axis=-1)
predicted_token = tokenizer.decode(predicted_token_id)
print("Predicted token:", predicted_token)
# Predicted token:  Paris

💻 You can use these models directly with the transformers library starting from v4.48.0:

pip install -U transformers>=4.48.0

🏎️ If your GPU supports it, we recommend using EuroBERT with Flash Attention 2 to achieve the highest efficiency. To do so, install Flash Attention 2 as follows, then use the model as normal:

pip install flash-attn

Evaluation#

We evaluate EuroBERT on a suite of tasks to cover various real-world use cases for multilingual encoders, including retrieval performance, classification, sequence regression, quality estimation, summary evaluation, code-related tasks, and mathematical tasks.

Key highlights: The EuroBERT family exhibits strong multilingual performance across domains and tasks.

  • EuroBERT-2.1B, our largest model, achieves the highest performance among all evaluated systems. It outperforms the largest system, XLM-RoBERTa-XL.
  • 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.
  • The smaller EuroBERT-210m generally outperforms all similarly sized systems.

Image: EuroBERT

Image: EuroBERT

Image: EuroBERT

Suggested Fine-Tuning Hyperparameters#

If you plan to fine-tune this model on some downstream tasks, you can follow the hyperparameters we found in our paper.

Base Hyperparameters (unchanged across tasks)#
  • Warmup Ratio: 0.1
  • Learning Rate Scheduler: Linear
  • Adam Beta 1: 0.9
  • Adam Beta 2: 0.95
  • Adam Epsilon: 1e-5
  • Weight Decay: 0.1
Task-Specific Learning Rates#
Retrieval:#
DatasetEuroBERT-210mEuroBERT-610mEuroBERT-2.1B
MIRACL4.6e-053.6e-052.8e-05
MLDR2.8e-052.2e-054.6e-05
CC-News4.6e-054.6e-053.6e-05
Wikipedia2.8e-053.6e-052.8e-05
CodeSearchNet4.6e-052.8e-053.6e-05
DupStackMath4.6e-052.8e-053.6e-05
MathFormula1.7e-053.6e-053.6e-05
Sequence Classification:#
DatasetEuroBERT-210mEuroBERT-610mEuroBERT-2.1B
XNLI3.6e-053.6e-052.8e-05
PAWS-X3.6e-054.6e-053.6e-05
AmazonReviews3.6e-052.8e-053.6e-05
MassiveIntent6.0e-054.6e-052.8e-05
CodeComplexity3.6e-053.6e-051.0e-05
CodeDefect3.6e-052.8e-051.3e-05
MathShepherd7.7e-052.8e-051.7e-05
Sequence Regression:#
DatasetEuroBERT-210mEuroBERT-610mEuroBERT-2.1B
WMT (Ref-based)2.8e-052.8e-051.3e-05
WMT (Ref-free)2.8e-052.8e-051.3e-05
SeaHorse3.6e-053.6e-052.8e-05

License#

We release the EuroBERT model architectures, model weights, and training codebase under the Apache 2.0 license.

Citation#

If you use EuroBERT in your work, please cite:

@misc{boizard2025eurobertscalingmultilingualencoders,
      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={2025},
      eprint={2503.05500},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2503.05500}, 
}

Files

14 files · 2.50 GBWeights 1.24 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.96 KB0412d4d011ba202e9be22256335dc32bc35312de2e7bd2b5d95700bc80248063
README.md6.74 KBb5c2e6adb6c074b17c98a71b5360c2879278afabbc4c73f0bb2dc4f8f8d26fee
config.json1.42 KB740607ca93cfc1c4717e9b33a1e2878fc7ffc24e932605bbce0126efd342607d
configuration_eurobert.py12.1 KB8737378a5cea9e6c7be0e077138d6c725fb5909ad122c979adcdcc1a005a51b3
img/banner.png140 KBc152d92d3b7d7a9dbdd19d21da9ee1d72f95e3e97f83b95feac565f99e907b83
img/code_math.png444 KBb7db98e66299266147c03ee9c9d1fad5851909481b1f333f4f85d940af4ad705
img/long_context.png383 KB9e62c3cce5eb0961ff953e007189c08bd58d010e055de466d43c29cafe8764d9
img/multilingual.png933 KB738dd3e1f7105a0d6d2a7bcd656587118c975b19dace4a3e7dcef89b582e80ac
model.safetensors1.24 GB9829fcd4b8f0cd9adc7b2ce2a5ad5305d3b5f6f2ee324462c7eca9e490edaa70
modeling_eurobert.py47.6 KBc800961405876db2ead5d9e8bdb62d90314282a9697c00a03cddfdd5e49339fd
pytorch_model.bin1.24 GB34d1527cdf87ea8ec45f6888024858e084eb78131f3b8eded405d9955ec394fd
special_tokens_map.json582 B6d66005b83cd0646e882e57e09c5a3e3e570ef53dd1f6d4315a65943fa81f2f7
tokenizer.json17.2 MB98d4a1d32152d6cedf85b5e88f3b205106dca1fe72aaab34e0ac13c238421069
tokenizer_config.json50.6 KB0a6c6b1edf6b4f71604cf97f47521276e5a1f6c6d6b6243cd727a87e0efdc763
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
39b51e15dd pinned now2026-11-15 02:43 UTC14 files · 2.50 GB

Use it

$ fw get EuroBERT/EuroBERT-210m
# manifest sha256 acd009f8891e… · 2.50 GB · 14 files
$ fw verify ./EuroBERT-210m EuroBERT/EuroBERT-210m
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/EuroBERT/EuroBERT-210m.json --dir ./EuroBERT-210m $ python3 fw.py verify ./EuroBERT-210m ./EuroBERT__EuroBERT-210m.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download EuroBERT/EuroBERT-210m --revision 39b51e15dd1f1a06f58b5cbf6a8a188cec60bd0e --local-dir ./EuroBERT-210m

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
b5c2e6adb6c074b17c98a71b5360c2879278afabbc4c73f0bb2dc4f8f8d26fee
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: EuroBERT <huggingface.co/EuroBERT>Newsgroups: alt.freeweights.visionSubject: EuroBERT-210mDate: 2026-11-15Commit: 39b51e1Signed: 2DC28CC7B26A283B ✓
Upstream
EuroBERT/EuroBERT-210m
Pinned commit
39b51e15dd1f1a06f58b5cbf6a8a188cec60bd0e
Manifest
EuroBERT-210m.json · .minisig
Manifest sha256
acd009f8891e3d632e88b721b75a90dc893fc05f48515534723512cf8b3edc81
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:43 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/EuroBERT/EuroBERT-210m.json $ curl -O https://freeweights.allternit.com/manifests/EuroBERT/EuroBERT-210m.json.minisig $ minisign -Vm EuroBERT-210m.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Fine-tunes
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download EuroBERT/EuroBERT-210m
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. EuroBERT-210m.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX