Pretraining Finnish ModernBERTs

Authors

DOI:

https://doi.org/10.3384/nejlt.2000-1533.2026.6770

Abstract

This paper reports on pretraining ModernBERT encoder models in six sizes, ranging from 51M to 475M parameters, with a focus on limited multilingualism. We emphasized languages relevant to Finland, and the models perform worse than or on par with existing models in short context natural language understanding in Finnish, Swedish, and English, and outperform multilingual models in all languages in out-of-domain long context retrieval when post-training for retrieval is controlled. Our models perform the best in Northern S´ami part-of-speech tagging and dependency parsing. We present empirical results on using different data at the final stage of training. Additionally, we present a novel Finnish Swedish Long Document Retrieval (FSLDR) dataset for long document retrieval evaluation. The code, models, and the FSLDR dataset are publicly released.

Downloads

Published

2026-12-02