mmBERT: ModernBERT goes Multilingual
mmBERT is a massively multilingual encoder built on the ModernBERT architecture with the Gemma 2 tokenizer, trained on over 3T tokens covering 1,833 languages. It is the first model to clearly beat XLM-R on XTREME, GLUE and MTEB v2 retrieval, and it runs 2-4x faster with an 8,192-token context. The training recipe has three phases that add languages progressively (60 → 110 → 1,833), anneal the sampling temperature (0.7 → 0.5 → 0.3) and lower the mask ratio (30% → 15% → 5%), then combines decay-phase variants with TIES merging. Low-resource languages added only in the final 100B-token decay phase are still learned effectively, and on Faroese QA the model outperforms Gemini 2.5 Pro and o3.
Related posts
- Fine-Tune MMS Adapter Models for low-resource ASR
Hugging Face mediumAdeptMMS adapter training fine-tunes only about 2.5M language-specific adapter weights on Meta's mms-1b-all checkpoint, reaching low word error rates after 10-20 minutes of training on small datasets. The walkthrough uses Turkish Common Voice 6.1, which has about 4 hours of data, to build a character-level CTC tokenizer. Preprocessing strips punctuation and normalizes accented characters before training with Hugging Face Transformers. For low-resource languages, adapter training is recommended over full fine-tuning because it uses less memory, is more robust and performs better. Full fine-tuning can still win for medium- and high-resource languages.
- Granite Embedding Multilingual R2: Open Apache 2.0 Multilingual Embeddings with 32K Context — Best Sub-100M Retrieval Quality
Hugging Face mediumAdeptIBM's Granite Embedding Multilingual R2 is a pair of Apache 2.0 ModernBERT-based embedding models covering 200+ languages and 9 programming languages, with 32K-token context (64x R1). The 97M model scores 60.3 on MTEB Multilingual Retrieval, well ahead of other open sub-100M models such as multilingual-e5-small (50.9), and encodes over 2,500 docs/sec on an H100. The 311M model reaches 65.2 and leads LongEmbed at 71.7. It was trained with multi-teacher distillation from decoder LLMs, contrastive fine-tuning, checkpoint merging and Matryoshka objectives, so embeddings can be truncated from 768 to 256 dimensions at a cost of only 0.5 points. Both models are drop-in replacements in sentence-transformers, LangChain and similar frameworks.
- Finally, a Replacement for BERT: Introducing ModernBERT
Hugging Face mediumAdeptModernBERT is a family of encoder-only models (149M base, 395M large) that ports recent LLM architecture and training advances back to the BERT style, raising context length to 8,192 tokens and including large amounts of code in pretraining. It is the first base-size model to beat DeBERTaV3 on GLUE while using under 1/5th of its memory, and it runs 2-4x faster, especially on mixed-length inputs. It also leads long-context ColBERT retrieval and code retrieval tasks such as StackOverflow-QA. It works as a drop-in BERT replacement in transformers, without token type IDs and with Flash Attention 2 recommended, and must be fine-tuned for downstream tasks.
- MTEB: Massive Text Embedding Benchmark
Hugging Face mediumAdeptMTEB is a benchmark of 56 datasets across 8 embedding tasks (classification, clustering, retrieval, STS, bitext mining and more) covering up to 112 languages, with a public leaderboard of over 2000 results. Initial results show a speed/quality tradeoff: GloVe is fast but weak, all-MiniLM-L6-v2 and all-mpnet-base-v2 balance speed and quality, and multi-billion-parameter models like ST5-XXL, GTR-XXL and SGPT-5.8B lead but produce large embeddings (up to 4096 dimensions). Because rankings vary widely by task, the leaderboard should be checked per task. Any model can be evaluated with the `mteb` Python library and submitted via model card metadata.
- Fine-Tune W2V2-Bert for low-resource ASR with 🤗 Transformers
Hugging Face mediumAdeptWav2Vec2-BERT (facebook/w2v-bert-2.0), a 580M-parameter audio model pre-trained on 4.5M hours across 143+ languages, can be fine-tuned with CTC for ASR in low-resource languages using Hugging Face Transformers, demonstrated on ~14h of Mongolian Common Voice 16.0 data. The walkthrough covers text normalization, building a character vocabulary (dropping Latin characters and punctuation), the Wav2Vec2CTCTokenizer and SeamlessM4TFeatureExtractor, training, and tips for scaling CTC training. Compared with Whisper-large-v3 after similar fine-tuning, it reaches similar WER on Mongolian while running 10-30x faster and being 2.5x more resource-efficient, because it decodes in a single non-autoregressive pass and adapts to any alphabet.