Chinese ModernBERT with Whole-Word Masking
Not on the map. Why?
Abstract (arXiv)
Encoder-only Transformers have advanced along three axes -- architecture, data, and systems -- yielding Pareto gains in accuracy, speed, and memory efficiency. Yet these improvements have not fully transferred to Chinese, where tokenization and morphology differ markedly from English. We introduce Chinese ModernBERT, a from-scratch Chinese encoder that couples: (i) a hardware-aware 32k BPE vocabulary tailored to frequent Chinese affixes/compounds, lowering the embedding budget; (ii) whole-word masking (WWM) with a dynamic masking curriculum (30% -> 15%) to align task difficulty with training progress; (iii) a two-stage pre-training pipeline that extends the native context from 1,024 to 8,192 tokens using RoPE and alternating local/global attention; and (iv) a damped-cosine learning-rate schedule for stable long-horizon optimization. We pre-train on ~1.2T Chinese tokens from CCI3-HQ, CCI4 (Chinese), and Cosmopedia-Chinese. On CLUE, Chinese ModernBERT is competitive with strong Chinese encoders under a unified fine-tuning protocol. Under bf16 it achieves high long-sequence throughput while maintaining strong short-sequence speed, reflecting benefits from budget allocation and attention design. To probe retrieval-oriented quality, we add a small amount of open contrastive data: fine-tuning on SimCLUE (~3M pairs) improves further when adding T2Ranking (~2M), reaching 0.505 (Pearson) / 0.537 (Spearman) on the SimCLUE test set. Under this open-data setting, Chinese ModernBERT surpasses Qwen-0.6B-embedding on SimCLUE, suggesting a clear scaling path for STS with additional curated pairs. We will release tokenizer and weights to facilitate reproducible research.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 27 of its 32 references that are in the map. First posted on arXiv 14 Oct 2025.
Builds on
27 of 32 references.
References · 27
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2015Cyclical Learning Rates for Training Neural Networkscited by 627
15 more
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
- 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 277
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 233
- 2018A disciplined approach to neural network hyper-parameters: Part 1 -- learning rate, batch size, momentum, and weight decaycited by 223
- 2022Should You Mask 15% in Masked Language Modeling?cited by 117
- 2023Stable and low-precision training for large-scale vision-language modelscited by 74
- 2024Multi-Task Contrastive Learning for 8192-Token Bilingual Text Embeddingscited by 20
- 2025OpenCSG Chinese Corpus: A Series of High-quality Chinese Datasets for LLM Trainingcited by 20
- 2022Learning Better Masking for Better Language Model Pre-trainingcited by 14
- 2025NeoBERT: A Next-Generation BERTcited by 14
- 2023Dynamic Masking Rate Schedules for MLM Pretrainingcited by 11
- 2024The Case for Co-Designing Model Architectures with Hardwarecited by 11
- 2025CCI4.0: A Bilingual Pretraining Dataset for Enhancing Reasoning in Large Language Modelscited by 4
- 2025Task-Informed Anti-Curriculum by Masking Improves Downstream Performance on Textcited by 3
Built on by
Not cited yet.