• bitcoinBitcoin(BTC)$61,032.000.85%
  • ethereumEthereum(ETH)$1,726.820.97%
  • tetherTether(USDT)$1.000.05%
  • binancecoinBNB(BNB)$557.930.59%
  • usd-coinUSDC(USDC)$1.000.03%
  • rippleXRP(XRP)$0.942.03%
  • solanaSolana(SOL)$73.064.56%
  • tronTRON(TRX)$0.3093041.30%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.050.00%
  • HyperliquidHyperliquid(HYPE)$64.333.18%
  • zcashZcash(ZEC)$796.611.35%
  • moneroMonero(XMR)$497.660.95%
  • dogecoinDogecoin(DOGE)$0.0568163.31%
  • leo-tokenLEO Token(LEO)$9.16-0.13%
  • whitebitWhiteBIT Coin(WBT)$58.300.25%
  • chainlinkChainlink(LINK)$8.992.42%
  • USDSUSDS(USDS)$1.000.03%
  • cardanoCardano(ADA)$0.1481322.89%
  • Ethena USDeEthena USDe(USDE)$1.000.06%
  • stellarStellar(XLM)$0.1309232.73%
  • daiDai(DAI)$1.000.01%
  • bitcoin-cashBitcoin Cash(BCH)$200.791.64%
  • nearNEAR Protocol(NEAR)$3.011.73%
  • litecoinLitecoin(LTC)$41.474.32%
  • CantonCanton(CC)$0.0777078.18%
  • avalanche-2Avalanche(AVAX)$6.822.35%
  • uniswapUniswap(UNI)$4.874.16%
  • tether-goldTether Gold(XAUT)$3,629.682.60%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.001.89%
  • USD1USD1(USD1)$1.000.03%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • suiSui(SUI)$0.683.77%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.01%
  • hedera-hashgraphHedera(HBAR)$0.0530803.42%
  • RainRain(RAIN)$0.0032821.39%
  • quant-networkQuant(QNT)$158.9911.73%
  • paypal-usdPayPal USD(PYUSD)$1.000.06%
  • BittensorBittensor(TAO)$191.630.94%
  • shiba-inuShiba Inu(SHIB)$0.0000041.99%
  • crypto-com-chainCronos(CRO)$0.0411531.72%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.11-0.63%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$0.783.76%
  • okbOKB(OKB)$84.222.40%
  • Falcon USDFalcon USD(USDF)$1.00-0.06%
  • pax-goldPAX Gold(PAXG)$3,631.682.65%
  • United StablesUnited Stables(U)$1.00-0.03%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$97.47-0.48%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Meet mmBERT: An Encoder-only Language Model Pretrained on 3T Tokens of Multilingual Text in over 1800 Languages and 2–4× Faster than Previous Models

September 11, 2025
in AI & Technology
Reading Time: 10 mins read
A A
Meet mmBERT: An Encoder-only Language Model Pretrained on 3T Tokens of Multilingual Text in over 1800 Languages and 2–4× Faster than Previous Models
ShareShareShareShareShare

Why was a new multilingual encoder needed?

XLM-RoBERTa (XLM-R) has dominated multilingual NLP for more than 5 years, an unusually long reign in AI research. While encoder-only models like BERT and RoBERTa were central to early progress, most research energy shifted toward decoder-based generative models. Encoders, however, remain more efficient and often outperform decoders on embedding, retrieval, and classification tasks. Despite this, multilingual encoder development stalled.

A team of researchers from Johns Hopkins University propose mmBERT that addresses this gap by delivering a modern encoder, surpassesing XLM-R and rivals recent large-scale models such as OpenAI’s o3 and Google’s Gemini 2.5 Pro.

YOU MAY ALSO LIKE

Marlowe Hits $1.15B Valuation With Bet Beyond Nvidia

Odd Lots: Can Huawei Challenge Nvidia in the AI Arms Race?

Understanding the architecture of mmBERT

mmBERT comes in two main configurations:

  • Base model: 22 transformer layers, 1152 hidden dimension, ~307M parameters (110M non-embedding).
  • Small model: ~140M parameters (42M non-embedding).

It adopts the Gemma 2 tokenizer with a 256k vocabulary, rotary position embeddings (RoPE), and FlashAttention2 for efficiency. Sequence length is extended from 1024 to 8192 tokens, using unpadded embeddings and sliding-window attention. This allows mmBERT to process contexts nearly an order of magnitude longer than XLM-R while maintaining faster inference.

What training data and phases were used?

mmBERT was trained on 3 trillion tokens spanning 1,833 languages. Data sources include FineWeb2, Dolma, MegaWika v2, ProLong, StarCoder, and others. English makes up only ~10–34% of the corpus depending on the phase.

Training was done in three stages:

  1. Pre-training: 2.3T tokens across 60 languages and code.
  2. Mid-training: 600B tokens across 110 languages, focused on higher-quality sources.
  3. Decay phase: 100B tokens covering 1,833 languages, emphasizing low-resource adaptation.

What new training strategies were introduced?

Three main innovations drive mmBERT’s performance:

  • Annealed Language Learning (ALL): Languages are introduced gradually (60 → 110 → 1833). Sampling distributions are annealed from high-resource to uniform, ensuring low-resource languages gain influence during later stages without overfitting limited data.
  • Inverse Masking Schedule: The masking ratio starts at 30% and decays to 5%, encouraging coarse-grained learning early and fine-grained refinements later.
  • Model Merging Across Decay Variants: Multiple decay-phase models (English-heavy, 110-language, and 1833-language) are combined via TIES merging, leveraging complementary strengths without retraining from scratch.

How does mmBERT perform on benchmarks?

  • English NLU (GLUE): mmBERT base achieves 86.3, surpassing XLM-R (83.3) and nearly matching ModernBERT (87.4), despite allocating >75% of training to non-English data.
  • Multilingual NLU (XTREME): mmBERT base scores 72.8 vs. XLM-R’s 70.4, with gains in classification and QA tasks.
  • Embedding tasks (MTEB v2): mmBERT base ties ModernBERT in English (53.9 vs. 53.8) and leads in multilingual (54.1 vs. 52.4 for XLM-R).
  • Code retrieval (CoIR): mmBERT outperforms XLM-R by ~9 points, though EuroBERT remains stronger on proprietary data.

How does mmBERT handle low-resource languages?

The annealed learning schedule ensures that low-resource languages benefit during later training. On benchmarks like Faroese FoQA and Tigrinya TiQuAD, mmBERT significantly outperforms both o3 and Gemini 2.5 Pro. These results demonstrate that encoder models, if trained carefully, can generalize effectively even in extreme low-resource scenarios.

What efficiency gains does mmBERT achieve?

mmBERT is 2–4× faster than XLM-R and MiniLM while supporting 8192-token inputs. Notably, it remains faster at 8192 tokens than older encoders were at 512 tokens. This speed boost derives from the ModernBERT training recipe, efficient attention mechanisms, and optimized embeddings.

Summary

mmBERT comes as the long-overdue replacement for XLM-R, redefining what a multilingual encoder can deliver. It runs 2–4× faster, handles sequences up to 8K tokens, and outperforms prior models on both high-resource benchmarks and low-resource languages that were underserved in the past. Its training recipe—3 trillion tokens paired with annealed language learning, inverse masking, and model merging—shows how careful design can unlock broad generalization without excessive redundancy. The result is an open, efficient, and scalable encoder that not only fills the six-year gap since XLM-R but also provides a robust foundation for the next generation of multilingual NLP systems.


Check out the Paper, Model on Hugging Face, GitHub and Technical details. Feel free to check out our GitHub Page for Tutorials, Codes and Notebooks. Also, feel free to follow us on Twitter and don’t forget to join our 100k+ ML SubReddit and Subscribe to our Newsletter.


Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Marlowe Hits .15B Valuation With Bet Beyond Nvidia
AI & Technology

Marlowe Hits $1.15B Valuation With Bet Beyond Nvidia

November 23, 2026
Odd Lots: Can Huawei Challenge Nvidia in the AI Arms Race?
AI & Technology

Odd Lots: Can Huawei Challenge Nvidia in the AI Arms Race?

November 23, 2026
Jensen Huang Is Back As Nvidia CEO
AI & Technology

Jensen Huang Is Back As Nvidia CEO

November 23, 2026
AWS’s Strands Decider v2 targets the agent decisions that hinge on a single detail
AI & Technology

AWS’s Strands Decider v2 targets the agent decisions that hinge on a single detail

November 23, 2026
Next Post
Dassault Aviation: This Fighter And Business Jet Maker Has A Big Runway Ahead (DUAVF)

Dassault Aviation: This Fighter And Business Jet Maker Has A Big Runway Ahead (DUAVF)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
NVIDIA Establishes Export Control Committee Following Jensen Huang Resignation

NVIDIA Establishes Export Control Committee Following Jensen Huang Resignation

November 17, 2026
Google’s AI Controls Have Major Districts Rethinking Search – Unite.AI

Google’s AI Controls Have Major Districts Rethinking Search – Unite.AI

November 19, 2026
APEC summit latest: Xi breaks precedent by meeting Trump on arrival in China – CNN

APEC summit latest: Xi breaks precedent by meeting Trump on arrival in China – CNN

November 18, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!