/ Модель

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

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

icelandic-modernbert-s-160tpp

Заполнение пропусковТекст → текст3 профессии

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

79скачиваний за 30 дней0лайковвеса обновлены28 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Icelandic ModernBERT s-160tpp — энкодер ModernBERT для исландского языка, разработанный авторами работы «Beyond IceBERT: Open-Data ModernBERT Encoders for Icelandic from 12M to 1B Parameters». Модель обучена с нуля как часть линейки энкодеров разных размеров и бюджетов обучения; в этой версии использовано 160 токенов на параметр, всего около 4,05 млрд токенов. По метаданным, модель содержит 25,1 млн параметров и поддерживает контекст до 8192 токенов.

Модель предсказывает замаскированные фрагменты текста и подходит для заполнения пропусков, а также для дообучения под задачи понимания исландского текста, включая NER, POS-разметку, оценку приемлемости и ответы на вопросы. Архитектура включает 10 слоёв, скрытый размер 384, шесть голов внимания, GeGLU и сочетание локального и глобального внимания. В README отмечен прирост относительно варианта на 80 токенах на параметр в отдельных оценках, но показатели на ряде задач остаются ниже IceBERT.

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Icelandic ModernBERT, size s-160tpp

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. What does doubling the training tokens buy? This is the 160 tokens/parameter arm (8x Chinchilla) of the s model. It has the same architecture, tokenizer, schedule shape (3% warmup, 15% 1-sqrt decay, last 10% at 8,192 tokens) and seed as hafsteinn/icelandic-modernbert-s (80 tokens/parameter). The only other change is the CulturaX unique remainder (+0.34B tokens, +3.7%) added to the mix to reduce repetition. It is one rung of a size ladder (xs, s, m, base, large) trained with one recipe, so the rungs can be compared with each other and with existing Icelandic encoders (IceBERT, ELECTRA/ConvBERT-IGC, XLM-R, mmBERT, ScandiBERT) under one fine-tuning protocol.

Release. Released under the MIT licence with the paper, as one rung of its scratch-trained size ladder (xs to large, at 80 and 160 tokens per parameter); the training corpus is not released, because not every source states a licence that permits redistribution. Parts of the training data carry licences that require attribution (CC BY 4.0: IGC; CC BY-SA: Wikipedia, Wikisource) or come from web crawls with mixed rights (FineWeb-2, FinePDFs, HPLT 3.0, MaCoCu, MADLAD-400; IC3-v2 states no licence). The IGC restricted-licence parts (News2, Books) were not used. MIM-GOLD-NER, used only for evaluation, has a research-only licence, so no model fine-tuned on it is released.

Model

ArchitectureModernBERT (Warner et al. 2024): pre-norm, GeGLU, RoPE (global theta 160k, local 10k), alternating attention (global every 3rd layer, local window 128), no biases, tied embeddings
Shape10 layers, hidden 384, GeGLU inner 576, 6 heads (Ettin/ModernBERT ladder)
Parameters25.3M total = 12.6M embedding + 12.7M non-embedding
TokenizerIcelandic byte-level BPE, 32,768 tokens, trained for this project (NFC, prefix space, digits split, BERT specials). It was trained on a 4 GB stratified sample of the final deduplicated and decontaminated corpus (all 9 sources; held-out documents excluded). Fertility on held-out documents is 1.541 tokens per whitespace word, against 1.507 for IceBERT's 50k BPE. A 50,176-token variant was also trained and measured (1.481) but not used: its gain (3.9%) was below the 8% bar set in the plan. The same tokenizer is used for every size and for both the 80 and the 160 tokens/parameter arms.
Contexttrained at 1,024 tokens, last 10% of tokens at 8,192
Loads withtransformers AutoModelForMaskedLM (model_type modernbert)

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 seen4.05B = 160.0 tokens/parameter (8x Chinchilla, counting all parameters as Hoffmann et al.); 318 per non-embedding parameter
Steps15,445 at 262,144 tokens per step
ObjectiveMLM, 30% masking (80/10/10), 15% in the decay phase; loss on masked tokens only
OptimiserAdamW (0.9, 0.98), eps 1e-6, decoupled weight decay 0.0003, grad clip 1.0, bf16 autocast
Schedulewarmup 121M tokens, constant peak LR 0.002, 1-sqrt decay to 0 over the last 15%
HardwareMareNostrum 5 accelerated partition (4x H100 64 GB per node), DDP, FlexAttention with document masks (no cross-document attention)

Data

Deduplicated (exact + MinHash 0.75 across all sources, curated sources kept first), quality- and language-filtered, and decontaminated against every evaluation set (13-gram and whole-sentence matching). Per-source epochs below are for the 1,024-token phase.

sourcedocstokens (unique, after filtering)epochs
culturax523,4740.337B0.39
dynaword63,0340.059B0.77
finepdfs230,7221.862B0.39
fineweb21,977,5021.614B0.39
hplt31,715,2381.376B0.39
ic3v2964,1000.364B0.39
igc2,012,8832.012B0.39
macocu2,083,5951.173B0.39
madlad604,8250.559B0.39
wiki8,8430.001B0.77
all10,184,2169.36B

Sources: IGC-2024 open part (arnastofnun/IGC-2024, CC BY 4.0); the non-IGC subsets of danish-foundation-models/icelandic-dynaword (government gazette and Rafbókavefur under Icelandic copyright law's exemptions; Wikipedia, Wikisource, Wikibooks, wiki comments, radio talks CC BY-SA; sagas CC BY; Gutenberg); Icelandic Wikipedia (wikimedia/wikipedia 20231101.is); MaCoCu-is 2.0 (CC0); FineWeb-2 and FinePDFs isl_Latn (ODC-By); HPLT 3.0 isl_Latn; MADLAD-400 is, clean split (ODC-By); IC3-v2 (Miðeind; licence not stated, Common Crawl derived). CulturaX is (uonlp/CulturaX; mC4 + OSCAR, terms accepted 7 Oct; only the 0.34B tokens not already in the other sources). IcePaHC excluded (evaluation source); restricted IGC parts (News2, Books) not used.

Results

Held-out MLM (15% masking) loss per source at the end of training: {"culturax": 1.954, "dynaword": 1.036, "finepdfs": 2.034, "fineweb2": 1.909, "hplt3": 1.973, "ic3v2": 1.517, "igc": 1.442, "macocu": 1.812, "madlad": 1.609, "wiki": 1.543}.

Fine-tuning (same protocol for every model: learning rate picked on dev from a 3-value grid with seed 0, then 5 seeds at that rate; best-dev epoch; 95% CI from a hierarchical bootstrap over seeds and test items):

task (metric)this model95% CIseedsIceBERT (reference)difference vs IceBERT [95% CI]
iceec (mcc)43.541.3 to 45.9547.1-3.6 [-5.9, -1.5]
ner (f1)91.090.2 to 91.9594.1-3.1 [-3.8, -2.4]
pos (acc)94.694.2 to 94.9595.4-0.8 [-1.1, -0.6]
qa (f1)51.750.1 to 53.0557.5-5.8 [-6.8, -4.8]
scala (mcc)56.952.7 to 61.4573.6-16.7 [-20.5, -12.2]

160 vs 80 tokens/parameter (same size; paired over the same test-item draws; x100):

task (metric)160 tpp80 tppdifference [95% CI]
iceec (mcc)43.541.2+2.4 [+0.3, +4.6]
ner (f1)91.090.3+0.8 [+0.2, +1.3]
pos (acc)94.694.6-0.0 [-0.3, +0.2]
qa (f1)51.751.3+0.4 [-0.5, +1.3]
scala (mcc)56.951.2+5.7 [+1.2, +9.7]

Tasks: NER = MIM-GOLD-NER (IceBERT split, entity micro F1); POS = UD Icelandic-Modern + GC (UPOS accuracy); ScaLA = acceptability built from the same UD splits (MCC); IceEC = error vs no error (MCC); QA = NQiI + RUQuAD-1 (token F1).

Caveats

  • One pretraining seed per size; differences between sizes include pretraining-seed noise that the CIs do not cover.
  • The 8x Chinchilla budget is a decoder-derived heuristic; no compute-optimal law for MLM encoders is established.
  • Larger sizes repeat the data several times (see epochs); returns from repetition fall off beyond about 4 epochs (Muennighoff et al. 2023).
  • IGC JSONL documents were not used for the 8,192-token phase because their paragraph order is not guaranteed.
  • AdamW with gradient clipping replaces ModernBERT's StableAdamW; global RoPE theta is 160k from the start.
  • The fine-tuning learning rate comes from a 3-value grid per size class. For large only, the grid was extended upward on NER, POS and QA, because the chosen rate had sat at the top edge. The extension used the same seeds and the same dev-based selection (7 Oct). POS moved to 8e-5 (95.3 -> 95.5) and QA moved to 6e-5 (55.6 -> 56.0); NER was unchanged. The baselines kept their 3-value grids.
  • Fine-tuning used bf16 autocast; ScandiBERT gave non-finite losses in bf16 and was fine-tuned in fp32 (flagged per run).

Full numbers: the paper, arXiv:2610.36230. The fine-tuning results above are the first round; the paper extends every learning-rate grid until the chosen rate is not at an edge, so its numbers differ slightly. Export parity check (ours vs transformers logits): see export_check.json.

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
Ревизия весов
5d6177f

0 моделей