/ Модель

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

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

icelandic-modernbert-large-160tpp

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

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

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

Бенчмарки

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

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

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

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

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

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

Это крупная версия исландского энкодера ModernBERT, разработанная Hafsteinn Einarsson и выпущенная вместе с исследовательской работой об открытых данных для исландских энкодеров. Модель обучена с нуля для задачи masked language modeling и предсказывает скрытые токены в тексте. Архитектура включает 28 слоёв, скрытое состояние размером 1024 и около 377 млн параметров; длина контекста — 8192 токена. Репозиторий содержит веса в формате safetensors.

Модель предназначена прежде всего для заполнения пропусков в исландском тексте и как энкодерная основа для дообучения под классификацию, распознавание сущностей и разметку частей речи. В опубликованных оценках показаны результаты на исландских задачах IceEC, NER и POS. README приводит пример использования токена [MASK] непосредственно после предыдущего слова, без пробела.

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

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Icelandic ModernBERT, size large-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 large 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-large (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
Shape28 layers, hidden 1024, GeGLU inner 2624, 16 heads (Ettin/ModernBERT ladder)
Parameters377.8M total = 33.6M embedding + 344.3M 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 seen60.45B = 160.0 tokens/parameter (8x Chinchilla, counting all parameters as Hoffmann et al.); 176 per non-embedding parameter
Steps57,654 at 1,048,576 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 1e-05, grad clip 1.0, bf16 autocast
Schedulewarmup 1814M tokens, constant peak LR 0.0004, 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.337B5.78
dynaword63,0340.059B11.56
finepdfs230,7221.862B5.78
fineweb21,977,5021.614B5.78
hplt31,715,2381.376B5.78
ic3v2964,1000.364B5.78
igc2,012,8832.012B5.78
macocu2,083,5951.173B5.78
madlad604,8250.559B5.78
wiki8,8430.001B11.56
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": 0.912, "dynaword": 0.374, "finepdfs": 1.087, "fineweb2": 0.965, "hplt3": 0.997, "ic3v2": 0.655, "igc": 0.651, "macocu": 0.882, "madlad": 0.772, "wiki": 0.667}.

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)52.650.4 to 54.8547.1+5.5 [+3.4, +7.5]
ner (f1)94.794.1 to 95.3594.1+0.6 [+0.2, +1.1]
pos (acc)95.695.3 to 96.0595.4+0.2 [+0.0, +0.4]
qa (f1)56.354.8 to 57.7557.5-1.2 [-2.1, -0.4]
scala (mcc)73.469.4 to 77.3573.6-0.2 [-4.2, +3.6]

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

task (metric)160 tpp80 tppdifference [95% CI]
iceec (mcc)52.650.0+2.6 [+0.6, +4.6]
ner (f1)94.794.5+0.3 [-0.1, +0.7]
pos (acc)95.695.5+0.2 [-0.0, +0.3]
qa (f1)56.356.0+0.2 [-0.5, +1.0]
scala (mcc)73.473.4-0.1 [-4.0, +3.5]

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 160-tpp large uses the same grid, plus checks below 1e-5 on IceEC and above 4e-5 on ScaLA (8 Oct); neither changed its choice. 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
Ревизия весов
84d5814

0 моделей