Instructions to use hafsteinn/icelandic-modernbert-ws-S-large-s0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hafsteinn/icelandic-modernbert-ws-S-large-s0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hafsteinn/icelandic-modernbert-ws-S-large-s0")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hafsteinn/icelandic-modernbert-ws-S-large-s0") model = AutoModelForMaskedLM.from_pretrained("hafsteinn/icelandic-modernbert-ws-S-large-s0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Cite the paper: arXiv:2610.36230
Browse files
README.md
CHANGED
|
@@ -8,6 +8,8 @@ tags: [modernbert, icelandic, encoder, masked-lm, warm-start]
|
|
| 8 |
|
| 9 |
# Icelandic ModernBERT warm-start study: `ws-S-large-s0`, 80 tokens/parameter
|
| 10 |
|
|
|
|
|
|
|
| 11 |
**Question this run answers.** Does a warm start still pay off for an Icelandic encoder, from which source model, and
|
| 12 |
how many Icelandic tokens does it save? IceBERT (Snæbjarnarson et al., LREC 2022) found that continuing a multilingual
|
| 13 |
model "can lead to state-of-the-art results for some downstream tasks". Our size ladder uses the Ettin shapes, so every
|
|
@@ -74,4 +76,18 @@ saw CulturaX's unique remainder, +3.7%).
|
|
| 74 |
- Fine-tuning used bf16 autocast; parsers fall back to fp32 on non-finite losses.
|
| 75 |
|
| 76 |
|
| 77 |
-
Full numbers: the
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# Icelandic ModernBERT warm-start study: `ws-S-large-s0`, 80 tokens/parameter
|
| 10 |
|
| 11 |
+
**Paper:** [Beyond IceBERT: Open-Data ModernBERT Encoders for Icelandic from 12M to 1B Parameters](https://arxiv.org/abs/2610.36230) (arXiv:2610.36230). If you use this model, please cite the paper. The BibTeX entry is at the end of this card.
|
| 12 |
+
|
| 13 |
**Question this run answers.** Does a warm start still pay off for an Icelandic encoder, from which source model, and
|
| 14 |
how many Icelandic tokens does it save? IceBERT (Snæbjarnarson et al., LREC 2022) found that continuing a multilingual
|
| 15 |
model "can lead to state-of-the-art results for some downstream tasks". Our size ladder uses the Ettin shapes, so every
|
|
|
|
| 76 |
- Fine-tuning used bf16 autocast; parsers fall back to fp32 on non-finite losses.
|
| 77 |
|
| 78 |
|
| 79 |
+
Full numbers: the paper, [arXiv:2610.36230](https://arxiv.org/abs/2610.36230).
|
| 80 |
+
|
| 81 |
+
## Citation
|
| 82 |
+
|
| 83 |
+
```bibtex
|
| 84 |
+
@misc{einarsson2026icebertopendatamodernbertencoders,
|
| 85 |
+
title = {Beyond {IceBERT}: Open-Data {ModernBERT} Encoders for {Icelandic} from {12M} to {1B} Parameters},
|
| 86 |
+
author = {Hafsteinn Einarsson},
|
| 87 |
+
year = {2026},
|
| 88 |
+
eprint = {2610.36230},
|
| 89 |
+
archivePrefix = {arXiv},
|
| 90 |
+
primaryClass = {cs.CL},
|
| 91 |
+
url = {https://arxiv.org/abs/2610.36230}
|
| 92 |
+
}
|
| 93 |
+
```
|