CLApr 22, 2025

llm-jp-modernbert: A ModernBERT Model Trained on a Large-Scale Japanese Corpus with Long Context Length

arXiv:2504.15544v17 citationsh-index: 4
Originality Synthesis-oriented
AI Analysis

This work addresses the need for long-context BERT models in Japanese NLP, though it is incremental as it builds on existing architectures without surpassing baselines.

The authors tackled the underexplored area of pretraining encoder-only transformer models like BERT with large-scale corpora and long contexts, specifically for Japanese, by developing llm-jp-modernbert, which achieves good results on fill-mask evaluations but does not surpass existing baselines on downstream tasks.

Encoder-only transformer models like BERT are widely adopted as a pre-trained backbone for tasks like sentence classification and retrieval. However, pretraining of encoder models with large-scale corpora and long contexts has been relatively underexplored compared to decoder-only transformers. In this work, we present llm-jp-modernbert, a ModernBERT model trained on a publicly available, massive Japanese corpus with a context length of 8192 tokens. While our model does not surpass existing baselines on downstream tasks, it achieves good results on fill-mask test evaluations. We also analyze the effect of context length expansion through pseudo-perplexity experiments. Furthermore, we investigate sentence embeddings in detail, analyzing their transitions during training and comparing them with those from other existing models, confirming similar trends with models sharing the same architecture. To support reproducibility and foster the development of long-context BERT, we release our model, along with the training and evaluation code.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes