mlsanityData to 7 Oct 2026

moBERTo: A Modern Encoder for Portuguese via Continued Pretraining of ModernBERT

arXiv 2606.22722 ↗First posted 21 Jun 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Encoder-only transformer models remain essential for production NLP pipelines. We introduce moBERTo, a Portuguese adaptation of ModernBERT obtained through continued pretraining of the ModernBERT-base checkpoint on 60 billion tokens (5 epochs over a 12-billion-token corpus curated from FineWeb2 and filtered with educational and STEM classifiers). We preserve the original architecture, including rotary positional embeddings, alternating local-global attention, flash attention, and unpadding. We evaluate moBERTo across information retrieval (including long-context retrieval at up to 8,192 tokens), document classification, named entity recognition, and natural language understanding. Our best variant, which combines a Portuguese tokenizer with subword-matching embedding transfer and long-context post-training, achieves the highest average reranking nDCG@10 across three Portuguese retrieval benchmarks and the best results on PLUE-PT. Through ablation studies, we show that (i) continued pretraining is strongly preferable to training from scratch, particularly for preserving long-context capabilities; (ii) tokenizer adaptation improves token-level tasks but degrades long-context retrieval; (iii) a dedicated long-context post-training phase at 8,192 tokens further improves reranking and NER; and (iv) encoder-only architectures remain competitive with larger decoder-only alternatives for discriminative tasks. We publicly release the model weights at https://huggingface.co/Tropic-AI/moBERTo and training data at https://huggingface.co/datasets/Tropic-AI/moberto-pretraining-dataset-c4-compatible on Hugging Face.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 25 of its 39 references that are in the map. First posted on arXiv 21 Jun 2026.

Builds on

25 of 39 references.

References · 25

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  4. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  5. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,219
  6. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
  7. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
  8. 2019CamemBERT: a Tasty French Language Modelcited by 368
  9. 2020PhoBERT: Pre-trained language models for Vietnamesecited by 148
  10. 2025FineWeb2: One Pipeline to Scale Them All -- Adapting Pre-Training Data Processing to Every Languagecited by 134
  11. 2021mMARCO: A Multilingual Version of the MS MARCO Passage Ranking Datasetcited by 116
  12. 2025mmBERT: A Modern Multilingual Encoder with Annealed Language Learningcited by 39
13 more
  1. 2025Seq vs Seq: An Open Suite of Paired Encoders and Decoderscited by 34
  2. 2025EuroBERT: Scaling Multilingual Encoders for European Languagescited by 28
  3. 2023Advancing Neural Encoding of Portuguese with Transformer Albertina PT-*cited by 24
  4. 2024CamemBERT 2.0: A Smarter French Language Model Aged to Perfectioncited by 14
  5. 2025NeoBERT: A Next-Generation BERTcited by 14
  6. 2024Fostering the Ecosystem of Open Neural Encoders for Portuguese with Albertina PT* Familycited by 8
  7. 2025Building High-Quality Datasets for Portuguese LLMs: From Common Crawl Snapshots to Industrial-Grade Corporacited by 7
  8. 2024Quati: A Brazilian Portuguese Information Retrieval Dataset from Native Speakerscited by 5
  9. 2025New Encoders for German Trained from Scratch: Comparing ModernGBERT with Converted LLM2Vec Modelscited by 5
  10. 2025Curi'o-Edu 7B: Examining Data Selection Impacts in LLM Continued Pretrainingcited by 4
  11. 2022mRobust04: A Multilingual Version of the TREC Robust 2004 Benchmarkcited by 3
  12. 2025llm-jp-modernbert: A ModernBERT Model Trained on a Large-Scale Japanese Corpus with Long Context Lengthcited by 3
  13. 2026PortBERT: Navigating the Depths of Portuguese Language Modelscited by 2

Built on by

Not cited yet.