/ Модель

Характеристики

Контекст
8 192 токена
Параметры
25,1 млн
Лицензия
MIT
Архитектура
modernbert · dense
Библиотека
transformers
Опубликована
22 окт 2026

icelandic-modernbert-ws-S-s-s1

Заполнение пропусковТекст → текст3 профессии
88скачиваний за 30 дней0лайковвеса обновлены28 окт 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Исландский ModernBERT-энкодер, обученный с нуля для предсказания скрытых токенов исландского текста и адаптации к NLP-задачам.

hafsteinn/icelandic-modernbert-ws-S-s-s1 — исследовательский чекпойнт ModernBERT для исландского языка, созданный авторами работы «Beyond IceBERT: Open-Data ModernBERT Encoders for Icelandic from 12M to 1B Parameters». Это ветка с нуля инициализированных весов: модель обучена без переноса весов из другой модели, с MLM-целью на 2,02 млрд исландских токенов. В карточке указаны 10 слоёв, скрытая размерность 384 и 25,3 млн параметров; метаданные указывают 25,1 млн. Контекст — 8192 токена.

Модель предназначена для предсказания скрытых токенов в исландском тексте и как энкодерная основа для последующего дообучения исландских NLP-задач. В работе приведены результаты для вопросов и ответов, распознавания именованных сущностей и оценки приемлемости предложений; эти результаты относятся к совокупности нескольких запусков, а не только к данному чекпойнту. Для fill-mask маску следует ставить сразу после предыдущего слова без пробела: токенизатор включает ведущий пробел в токен следующего слова.

Весовая модель опубликована под лицензией MIT. Обучающий корпус не распространяется, поскольку права на его источники различаются; отдельные данные оценки имеют лицензионные ограничения. В README отмечены два seed для большинства размеров и повторное использование подобранной скорости обучения при некоторых сравнениях, поэтому приведённые оценки включают вариативность запусков.

Сценарии применения

  • восстановление пропущенных слов в исландском тексте
  • получение контекстных представлений исландских предложений
  • дообучение энкодера для исландского поиска ответов на вопросы
  • дообучение для распознавания именованных сущностей в исландском
  • оценка приемлемости исландских предложений

Ограничения

Это экспериментальная ветка конкретного исследовательского запуска, а опубликованные показатели объединяют несколько seed и не описывают только данный чекпойнт. Для корректного предсказания маски её нужно ставить без пробела после предыдущего слова; обучающий корпус не опубликован.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Icelandic ModernBERT warm-start study: ws-S-s-s1, 80 tokens/parameter

Paper: Beyond IceBERT: Open-Data ModernBERT Encoders for Icelandic from 12M to 1B Parameters (arXiv:2610.36230). If you use this model, please cite the paper. The BibTeX entry is at the end of this card.

Question this run answers. Does a warm start still pay off for an Icelandic encoder, from which source model, and how many Icelandic tokens does it save? IceBERT (Snæbjarnarson et al., LREC 2022) found that continuing a multilingual model "can lead to state-of-the-art results for some downstream tasks". Our size ladder uses the Ettin shapes, so every size has an English Ettin encoder of identical shape (and base has mmBERT-base), and a warm start changes only the starting weights: architecture, data, tokenizer, schedule and evaluation stay those of the scratch models. Every arm is trained at 10, 20, 40 and 80 Icelandic tokens per parameter.

This model is the scratch arm: random initialisation, the scratch ladder's recipe unchanged, size s, pretraining seed 1, at 80 tokens per parameter. This is the curve's main run to 80 tokens per parameter. It kept its state at the start of each shorter budget's decay phase, and the branches b10, b20 and b40 of this repo continue from those states.

Release. Released under the MIT licence with the paper; the training corpus is not released, because not every source states a licence that permits redistribution. In the paper this arm is called Scratch (the repo names keep the code names S, E, Erand, Mswap and Mkeep). Parts of the training data require attribution (CC BY 4.0: IGC; CC BY-SA: Wikipedia, Wikisource) or come from web crawls with mixed rights (IC3-v2 states no licence). MIM-GOLD and MIM-GOLD-NER, used only for evaluation, are licensed for research use, so no model fine-tuned on them is released.

Model

ArchitectureModernBERT: pre-norm, GeGLU, no biases, RoPE (theta 160k global, 10k local), global attention every third layer and a 128-token window in the others
Shape10 layers, hidden 384, GeGLU inner 576, 6 heads
Parameters25.3M = 12.6M embedding + 12.7M non-embedding
TokenizerIcelandic byte-level BPE, 32,768 tokens (the scratch ladder's tokenizer)
Loads withtransformers AutoModelForMaskedLM (model_type modernbert); logits match our trainer exactly (export_check.json)

Fill-mask. Write the mask token right after the previous word, with no space: Reykjavík er höfuðborg[MASK]. The tokenizer keeps each word's leading space inside the word's token, so a space typed before the mask becomes a token of its own. In training such a lone space comes mostly before a number, because digits are split off, so with the space the model predicts digits.

Training

Tokens seen2.02B tokens = the text of 80 tokens per parameter of the scratch ladder at this size
Steps7,723 at 262,144 tokens per step
ObjectiveMLM, 30% masking, 15% in the decay phase
OptimiserAdamW (0.9, 0.98), eps 1e-6, weight decay 0.0003, clip 1.0, bf16 autocast
Schedulewarmup-stable-decay: 61M warmup tokens, peak LR 0.002 (the scratch LR; a pilot at xs found lower rates worse for warm starts), 1-sqrt decay over the last 15%, last 10% at 8,192 tokens
Datathe scratch ladder's corpus: 9.02B unique tokens from nine open sources (IGC-2024 open part, Icelandic Wikipedia, Dynaword non-IGC subsets, MaCoCu, FineWeb-2, FinePDFs, HPLT 3.0, MADLAD-400, IC3-v2), deduplicated, filtered and decontaminated against the evaluation sets
HardwareMareNostrum 5 (4x H100 64 GB per node), DDP, FlexAttention with document masks

Results

Held-out MLM loss (15% masking) per source at the end of training: {"dynaword": 1.121, "finepdfs": 2.133, "fineweb2": 2.019, "hplt3": 2.073, "ic3v2": 1.594, "igc": 1.567, "macocu": 1.949, "madlad": 1.73, "wiki": 1.445}.

Downstream point of this arm, size and budget (x100). Each point pools the arm's pretraining seeds at this size (so it is not this checkpoint alone at xs, s and m) and 3-5 fine-tuning seeds at the learning rate the 80-point model chose on dev. 95% CIs are a hierarchical bootstrap over pretraining seeds, fine-tuning seeds and test items; differences are paired over the same item draws. "Scratch at 160" is the ladder's model trained on twice the 80-point tokens (it also saw CulturaX's unique remainder, +3.7%).

taskscore [95% CI]pretraining seeds pooledfine-tuning runsminus scratch, same budgetminus scratch at 160
QA: NQiI + RUQuAD-1, token F150.7 [49.2, 52.2]210
NER: MIM-GOLD-NER (IceBERT split), entity micro F190.4 [89.6, 91.3]210
ScaLA-style acceptability from the Icelandic UD treebanks, MCC54.8 [50.3, 59.6]210
IceEC sentence-level error detection, MCC43.0 [41.0, 45.2]210
UD UPOS accuracy94.5 [94.1, 94.8]210

Caveats

  • Two pretraining seeds per arm at xs, s and m (one for the Ettin-body arm); the pooled CIs include pretraining-seed noise.
  • Branches reuse the fine-tuning learning rate chosen for the 80-point model of the same arm and size.
  • The scratch arm reproduces the original ladder (base: 1.144 against 1.141 validation loss).
  • Fine-tuning used bf16 autocast; parsers fall back to fp32 on non-finite losses.

Full numbers: the paper, arXiv:2610.36230.

Citation

@misc{einarsson2026icebertopendatamodernbertencoders,
  title         = {Beyond {IceBERT}: Open-Data {ModernBERT} Encoders for {Icelandic} from {12M} to {1B} Parameters},
  author        = {Hafsteinn Einarsson},
  year          = {2026},
  eprint        = {2610.36230},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  url           = {https://arxiv.org/abs/2610.36230}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers · fill-mask

Можно запустить

Подбираем GPU…

Класс архитектуры
ModernBertForMaskedLM
Ревизия весов
8c23f6c

0 моделей