MWS AI, a division of MTS, has released two open-source ModernBERT encoders for Russian and English text processing. The team developed a small model with 34 million parameters from scratch and a base model derived from the multilingual mmBERT.

The training process involved a vocabulary of 50,368 tokens and a dataset of approximately 10 million documents, primarily from FineWeb-2. The small model consists of 21 layers with a hidden size of 320, while the base model utilizes existing Transformer layers from mmBERT.

The researchers implemented a post-training method called Triple-Merge, which averages weights from three different training branches: causal language modeling, context-continuation prediction, and span injection. This approach was tested on seven RussianSuperGLUE tasks.

Post-training significantly improved performance, particularly for the RuModernBERT-base model. Its average accuracy across the seven tasks increased from 70.88% to 74.12%. The small model also saw performance gains after applying the Triple-Merge technique.