---
library_name: transformers
pipeline_tag: text-generation
license: cc-by-4.0
language:
- en
- ru
- tt
- ba
- kk
- uk
- uz
- be
- ky
- alt
- atv
- bxr
- ce
- cv
- kbd
- kca
- kjh
- koi
- kpv
- krc
- krl
- kum
- lez
- lud
- mdf
- mhr
- mns
- mrj
- myv
- nog
- olo
- sah
- tyv
- udm
- vep
- xal
tags:
- kroha
- custom_code
- mixture-of-experts
- gated-deltanet
- recurrent
- looped
- multilingual
- text-generation
- code
- base-model
model-index:
- name: Kroha-base
results:
- task:
type: text-generation
name: arc_challenge (0-shot)
dataset:
type: allenai/ai2_arc
name: arc_challenge
split: test
config: ARC-Challenge
metrics:
- type: acc_norm
name: 'arc_challenge: acc_norm,none; 0-shot (unscaled)'
value: 0.22610921501706485
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: arc_easy (0-shot)
dataset:
type: allenai/ai2_arc
name: arc_easy
split: test
config: ARC-Easy
metrics:
- type: acc_norm
name: 'arc_easy: acc_norm,none; 0-shot (unscaled)'
value: 0.36826599326599324
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: arithmark3 (0-shot)
dataset:
type: AxiomicLabs/Arithmark-3.0
name: arithmark3
revision: 6f6e59dd9b7e2c63455f7af7f838f9ecc3d0a746
split: train
metrics:
- type: acc_norm
name: 'arithmark3: acc_norm,none; 0-shot (unscaled)'
value: 0.338
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: balanced_copa (0-shot)
dataset:
type: pkavumba/balanced-copa
name: balanced_copa
revision: 813bd03cd6e07d9bd8d7333896ad5d40abb95ea9
split: train
metrics:
- type: acc
name: 'balanced_copa: acc,none; 0-shot (unscaled)'
value: 0.527
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: blimp (0-shot)
dataset:
type: nyu-mll/blimp
name: blimp
split: train
metrics:
- type: acc
name: 'blimp: acc,none; 0-shot (unscaled)'
value: 0.7441641791044776
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: boolq (0-shot)
dataset:
type: aps/super_glue
name: boolq
split: validation
config: boolq
metrics:
- type: acc
name: 'boolq: acc,none; 0-shot (unscaled)'
value: 0.6055045871559633
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: commonsense_qa (0-shot)
dataset:
type: tau/commonsense_qa
name: commonsense_qa
split: validation
metrics:
- type: acc
name: 'commonsense_qa: acc,none; 0-shot (unscaled)'
value: 0.20638820638820637
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: hellaswag (0-shot)
dataset:
type: Rowan/hellaswag
name: hellaswag
split: validation
metrics:
- type: acc_norm
name: 'hellaswag: acc_norm,none; 0-shot (unscaled)'
value: 0.2944632543318064
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: lambada_openai (0-shot)
dataset:
type: EleutherAI/lambada_openai
name: lambada_openai
split: test
config: default
metrics:
- type: acc
name: 'lambada_openai: acc,none; 0-shot (unscaled)'
value: 0.25926644673006016
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: mmlu_continuation (0-shot)
dataset:
type: cais/mmlu
name: mmlu_continuation
split: test
metrics:
- type: acc
name: 'mmlu_continuation: acc,none; 0-shot (unscaled)'
value: 0.2466885059108389
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: openbookqa (0-shot)
dataset:
type: allenai/openbookqa
name: openbookqa
split: test
config: main
metrics:
- type: acc_norm
name: 'openbookqa: acc_norm,none; 0-shot (unscaled)'
value: 0.26
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: piqa (0-shot)
dataset:
type: baber/piqa
name: piqa
split: validation
metrics:
- type: acc_norm
name: 'piqa: acc_norm,none; 0-shot (unscaled)'
value: 0.5554951033732318
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: sciq (0-shot)
dataset:
type: allenai/sciq
name: sciq
split: test
metrics:
- type: acc_norm
name: 'sciq: acc_norm,none; 0-shot (unscaled)'
value: 0.687
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: truthfulqa_mc2 (0-shot)
dataset:
type: truthfulqa/truthful_qa
name: truthfulqa_mc2
split: validation
config: multiple_choice
metrics:
- type: acc
name: 'truthfulqa_mc2: acc,none; 0-shot (unscaled)'
value: 0.4309439862757557
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: winogrande (0-shot)
dataset:
type: allenai/winogrande
name: winogrande
split: validation
config: winogrande_xl
metrics:
- type: acc
name: 'winogrande: acc,none; 0-shot (unscaled)'
value: 0.5074980268350434
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: bananamind_base (0-shot)
dataset:
type: BananaMind/BananaMind-Base-Bench-1.1
name: bananamind_base
revision: d4aade51312889e8580963e1ce960c6eaef1a450
split: test
metrics:
- type: raw_accuracy
name: 'bananamind_base: raw_accuracy,none; 0-shot (unscaled)'
value: 0.52
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: social_iqa (0-shot)
dataset:
type: allenai/social_i_qa
name: social_iqa
revision: 537a2ec8ec565adc0b70b70752893e59e024df26
split: validation
metrics:
- type: acc
name: 'social_iqa: acc,none; 0-shot (unscaled)'
value: 0.3679631525076766
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: race (0-shot)
dataset:
type: EleutherAI/race
name: race
revision: 4648d37b02a337d6ed57861667d9655e7799ce31
split: test
metrics:
- type: acc
name: 'race: acc,none; 0-shot (unscaled)'
value: 0.26220095693779905
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: mmlu (5-shot)
dataset:
type: cais/mmlu
name: mmlu
split: test
metrics:
- type: acc
name: 'mmlu: acc,none; 5-shot (unscaled)'
value: 0.26264064948013105
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: triviaqa (0-shot)
dataset:
type: mandarjoshi/trivia_qa
name: triviaqa
revision: bd67746ffd85804fdc6b2ec5b00222ea26f8117e
split: validation
metrics:
- type: exact_match
name: 'triviaqa: exact_match,remove_whitespace; 0-shot (unscaled)'
value: 0.0035109228711547036
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: gsm8k (5-shot)
dataset:
type: openai/gsm8k
name: gsm8k
split: test
config: main
metrics:
- type: exact_match
name: 'gsm8k: exact_match,flexible-extract; 5-shot (unscaled)'
value: 0.01819560272934041
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: hendrycks_math500 (0-shot)
dataset:
type: HuggingFaceH4/MATH-500
name: hendrycks_math500
split: test
config: default
metrics:
- type: exact_match
name: 'hendrycks_math500: exact_match,none; 0-shot (unscaled)'
value: 0.002
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: bbh (3-shot)
dataset:
type: SaylorTwift/bbh
name: bbh
split: test
metrics:
- type: exact_match
name: 'bbh: exact_match,get-answer; 3-shot (unscaled)'
value: 0.20488404238980187
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: humaneval (0-shot)
dataset:
type: openai/openai_humaneval
name: humaneval
split: test
metrics:
- type: pass@1
name: 'humaneval: pass@1,create_test; 0-shot (unscaled)'
value: 0.036585365853658534
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: mbpp (3-shot)
dataset:
type: google-research-datasets/mbpp
name: mbpp
split: test
config: full
metrics:
- type: pass_at_1
name: 'mbpp: pass_at_1,none; 3-shot (unscaled)'
value: 0.0
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: mbpp_plus (3-shot)
dataset:
type: evalplus/mbppplus
name: mbpp_plus
split: test
metrics:
- type: pass_at_1
name: 'mbpp_plus: pass_at_1,none; 3-shot (unscaled)'
value: 0.0026455026455026454
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: mmlu_pro_mc0 (0-shot)
dataset:
type: TIGER-Lab/MMLU-Pro
name: mmlu_pro_mc0
revision: b189ec765aa7ed75c8acfea42df31fdae71f97be
split: test
metrics:
- type: acc
name: 'mmlu_pro_mc0: acc,none; 0-shot (unscaled)'
value: 0.11328125
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: global_mmlu_full_ru (5-shot)
dataset:
type: CohereForAI/Global-MMLU
name: global_mmlu_full_ru
split: test
config: ru
metrics:
- type: acc
name: 'global_mmlu_full_ru: acc,none; 5-shot (unscaled)'
value: 0.2647058823529412
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: mmlu_prox_ru_mc0 (0-shot)
dataset:
type: li-lab/MMLU-ProX
name: mmlu_prox_ru_mc0
revision: 8e6106a6c6ce1c5027e66cc338143cf997b2aa09
split: test
config: ru
metrics:
- type: acc
name: 'mmlu_prox_ru_mc0: acc,none; 0-shot (unscaled)'
value: 0.11318989710009354
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: mera_rummlu_mc0 (0-shot)
dataset:
type: MERA-evaluation/MERA
name: mera_rummlu_mc0
revision: 15c0e5b8e27551b50aa27f5497074810c8740661
split: test
metrics:
- type: acc
name: 'mera_rummlu_mc0: acc,none; 0-shot (unscaled)'
value: 0.23108763916642877
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: include_base_44_russian (0-shot)
dataset:
type: CohereForAI/include-base-44
name: include_base_44_russian
split: test
config: Russian
metrics:
- type: acc
name: 'include_base_44_russian: acc,none; 0-shot (unscaled)'
value: 0.2807971014492754
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: rublimp_sum_ll (0-shot)
dataset:
type: RussianNLP/rublimp
name: rublimp_sum_ll
revision: 88f0934bf26992d67d4a457eba3a25444efaae9c
split: test
metrics:
- type: acc
name: 'rublimp_sum_ll: acc,none; 0-shot (unscaled)'
value: 0.9198888888888889
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: rucola_dev (0-shot)
dataset:
type: RussianNLP/rucola
name: rucola_dev
revision: 00e61d446ceb0daff4ac584798221bd0c7aa90c4
split: validation
metrics:
- type: mcc
name: 'rucola_dev: mcc,none; 0-shot (unscaled)'
value: 0.002637654467725006
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: sberquad_dev (0-shot)
dataset:
type: kuznetsoffandrey/sberquad
name: sberquad_dev
revision: deb870ee29b280657470f2c3851e9b23899fdbc3
split: validation
metrics:
- type: f1
name: 'sberquad_dev: f1,none; 0-shot (unscaled)'
value: 0.07848110874929681
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: rsg_danetqa (0-shot)
dataset:
type: RussianNLP/russian_super_glue
name: rsg_danetqa
revision: e2ce2b9b11b2c7005531b4fc205f45f4b59cae73
split: validation
metrics:
- type: acc
name: 'rsg_danetqa: acc,none; 0-shot (unscaled)'
value: 0.48964677222898906
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: rsg_parus (0-shot)
dataset:
type: RussianNLP/russian_super_glue
name: rsg_parus
revision: e2ce2b9b11b2c7005531b4fc205f45f4b59cae73
split: validation
metrics:
- type: acc
name: 'rsg_parus: acc,none; 0-shot (unscaled)'
value: 0.64
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: rsg_rcb (0-shot)
dataset:
type: RussianNLP/russian_super_glue
name: rsg_rcb
revision: e2ce2b9b11b2c7005531b4fc205f45f4b59cae73
split: validation
metrics:
- type: acc
name: 'rsg_rcb: acc,none; 0-shot (unscaled)'
value: 0.32272727272727275
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: rsg_russe (0-shot)
dataset:
type: RussianNLP/russian_super_glue
name: rsg_russe
revision: e2ce2b9b11b2c7005531b4fc205f45f4b59cae73
split: validation
metrics:
- type: acc
name: 'rsg_russe: acc,none; 0-shot (unscaled)'
value: 0.3850676072898295
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: rsg_rwsd (0-shot)
dataset:
type: RussianNLP/russian_super_glue
name: rsg_rwsd
revision: e2ce2b9b11b2c7005531b4fc205f45f4b59cae73
split: validation
metrics:
- type: acc
name: 'rsg_rwsd: acc,none; 0-shot (unscaled)'
value: 0.5147058823529411
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: rsg_terra (0-shot)
dataset:
type: RussianNLP/russian_super_glue
name: rsg_terra
revision: e2ce2b9b11b2c7005531b4fc205f45f4b59cae73
split: validation
metrics:
- type: acc
name: 'rsg_terra: acc,none; 0-shot (unscaled)'
value: 0.48534201954397393
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: belebele_rus_Cyrl (0-shot)
dataset:
type: facebook/belebele
name: belebele_rus_Cyrl
split: test
config: rus_Cyrl
metrics:
- type: acc
name: 'belebele_rus_Cyrl: acc,none; 0-shot (unscaled)'
value: 0.24888888888888888
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: xnli_ru (0-shot)
dataset:
type: facebook/xnli
name: xnli_ru
revision: b8dd5d7af51114dbda02c0e3f6133f332186418e
split: validation
config: ru
metrics:
- type: acc
name: 'xnli_ru: acc,none; 0-shot (unscaled)'
value: 0.39759036144578314
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: xquad_ru (0-shot)
dataset:
type: google/xquad
name: xquad_ru
revision: 51adfef1c1287aab1d2d91b5bead9bcfb9c68583
split: validation
config: xquad.ru
metrics:
- type: f1
name: 'xquad_ru: f1,none; 0-shot (unscaled)'
value: 0.02652058354691999
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: xwinograd_ru (0-shot)
dataset:
type: Muennighoff/xwinograd
name: xwinograd_ru
split: test
config: ru
metrics:
- type: acc
name: 'xwinograd_ru: acc,none; 0-shot (unscaled)'
value: 0.546031746031746
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: xstorycloze_ru (0-shot)
dataset:
type: juletxara/xstory_cloze
name: xstorycloze_ru
split: eval
config: ru
metrics:
- type: acc
name: 'xstorycloze_ru: acc,none; 0-shot (unscaled)'
value: 0.5208471211118465
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: mgsm_native_cot_ru (8-shot)
dataset:
type: juletxara/mgsm
name: mgsm_native_cot_ru
split: test
config: ru
metrics:
- type: exact_match
name: 'mgsm_native_cot_ru: exact_match,flexible-extract; 8-shot (unscaled)'
value: 0.016
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: arc_ru (0-shot)
dataset:
type: alexandrainst/m_arc
name: arc_ru
split: test
config: ru
metrics:
- type: acc_norm
name: 'arc_ru: acc_norm,none; 0-shot (unscaled)'
value: 0.2446535500427716
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: hellaswag_ru (0-shot)
dataset:
type: alexandrainst/m_hellaswag
name: hellaswag_ru
split: val
config: ru
metrics:
- type: acc_norm
name: 'hellaswag_ru: acc_norm,none; 0-shot (unscaled)'
value: 0.29227782571182054
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: truthfulqa_ru_mc2 (0-shot)
dataset:
type: alexandrainst/m_truthfulqa
name: truthfulqa_ru_mc2
split: val
config: ru
metrics:
- type: acc
name: 'truthfulqa_ru_mc2: acc,none; 0-shot (unscaled)'
value: 0.4753698298393998
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
- task:
type: text-generation
name: global_piqa_completions_rus_cyrl (0-shot)
dataset:
type: mrlbenchmarks/global-piqa-nonparallel
name: global_piqa_completions_rus_cyrl
split: test
config: rus_cyrl
metrics:
- type: acc_norm
name: 'global_piqa_completions_rus_cyrl: acc_norm,none; 0-shot (unscaled)'
value: 0.64
source:
name: Kroha matched 50-task evaluation, vLLM BF16, 2K
url: https://huggingface.co/d0rj/Kroha-base/blob/main/evaluation.json
datasets:
- HPLT/HPLT3.0
- HuggingFaceBio/FineDNA
- HuggingFaceFW/finepdfs-edu
- HuggingFaceFW/fineweb-2
- HuggingFaceFW/fineweb-edu
- HuggingFaceTB/finemath
- OneAdder/hill-mari-book-corpus
- OneAdder/mari-pdf-corpus
- OneAdder/meadow-mari-marnii-corpus
- RafaelUI/ru_science
- adeshkin/khakas-monolingual-corpus
- alexantonov/chuvash_mono
- allenai/dolma3_dolmino_mix-100B-1025
- codeparrot/codeparrot-clean-train
- d0rj/SNeG-data-1.0
- deepvk/cultura_ru_edu
- epfml/FineWeb2-HQ
- mlfoundations/dclm-baseline-1.0
- openbmb/Ultra-FineWeb-L3
- openbmb/UltraData-Code
- openbmb/UltraData-Math
- wikimedia/wikipedia
---
# Kroha-base
Kroha is a **71.69M-parameter multilingual base model** with a looped Gated
DeltaNet/GQA decoder. It was trained on **36 billion tokens** of text, Python,
mathematics, scientific prose and DNA, extending context from **2,048 to 4,096,
then 16,384 tokens**.
| Property | Value |
|---|---|
| Decoder parameters | 71,685,712 |
| Unique active parameters across both passes | 58.71M–63.03M per token |
| Additional MTP training parameters | 3,939,968 |
| Parameters during MTP training | 75,625,680 |
| Hidden size | 512 |
| Decoder blocks | 10 physical blocks, 18 block applications |
| Core | 8 shared blocks, 2 loop iterations |
| Core sequence mixer | Alternating Gated DeltaNet v1 and GQA |
| GQA heads | 8 query heads, 2 key/value heads, head dimension 64 |
| Routed experts | 8 per core block, top-2 per token and pass |
| Routed latent / expert hidden size | 256 / 352 |
| Shared expert hidden size | 256 |
| Block AttnRes group size | 4 sublayer outputs |
| Vocabulary | 69,650 token IDs, tied embedding and LM head |
| Final training context | 16,384 tokens |
Each core block runs twice and selects two to four distinct routed experts in
total. Active counts include the tied embedding/LM head and count shared weights
once.
## Quick start
Reference environment: Python 3.12, PyTorch 2.11.0 and Transformers 5.17.0.
```bash
python -m pip install "torch==2.11.0" "transformers==5.17.0"
```
```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "d0rj/Kroha-base"
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.bfloat16 if device == "cuda" else torch.float32
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
attn_implementation="sdpa",
dtype=dtype,
).to(device).eval()
inputs = tokenizer("Маленькие языковые модели интересны тем, что", return_tensors="pt")
inputs = inputs.to(device)
with torch.inference_mode():
output = model.generate(
**inputs,
max_new_tokens=64,
do_sample=False,
use_cache=True,
)
continuation = output[0, inputs["input_ids"].shape[1]:]
print(tokenizer.decode(continuation, skip_special_tokens=True))
```
Keep the prompt and generated continuation within `config.max_position_embeddings`,
the trained context limit. `model_id` can also point to a local export directory.
For CUDA GDN1 kernels, install `fla-core==0.5.2`. GQA supports
`attn_implementation="flash_attention_4"` with a compatible FlashAttention
installation; training used FlashAttention 4.0.0b35. CPU inference uses PyTorch
and Transformers. Router scores and recurrent decay parameters remain FP32 when
loading BF16 weights.
## Architecture
```text
Token embedding
↓
GQA + dense FFN
↓
Shared core, pass 1
↓
Shared core, pass 2
↓
GQA + dense FFN
↓
Final normalization → tied LM head
Each core pass = [GDN1 + MoE → GQA + MoE] × 4
```
**Hybrid sequence mixing.** GDN1 ([Gated Delta Networks](https://arxiv.org/abs/2412.06464))
maintains a recurrent state with a gated delta rule. GQA uses causal attention and RoPE with
`theta=10,000`. Each block application keeps a separate inference state, even
when weights are shared.
**Pass-specific adapters.** The second core pass adds rank-16 Q/V adapters,
separate normalization weights and learned sublayer gains, inspired by
[Relaxed Recursive Transformers](https://arxiv.org/abs/2410.20672).
**Latent MoE and SharedGate.** Each core FFN projects from 512 to 256 dimensions,
applies two routed experts, combines their weighted outputs, applies RMSNorm
and projects back to 512 dimensions. A separate shared expert processes every
token, with a learned sigmoid gate controlling its contribution. Routed and
shared experts use SwiGLU clipped at 10.
**HeadGate and Block AttnRes.** Learned gates scale GQA heads before the output
projection. Block AttnRes mixes earlier representations per token, grouping four
sublayer outputs at a time, following
[Attention Residuals](https://arxiv.org/abs/2603.15031).
The Hugging Face model is self-contained in `configuration_kroha.py` and `modeling_kroha.py`,
including the DNA codec. It uses PyTorch and Transformers for RoPE, RMSNorm,
attention dispatch, hybrid caching and generation.
## Training
Training used three stages with a global batch of 262,144 token
positions. Final partial batches follow the stored corpus boundaries.
| Stage | Source tokens | Context | Global sequences | Microbatch × accumulation | Optimizer steps | Peak LR |
|---|---:|---:|---:|---:|---:|---:|
| Pretrain | 30B | 2,048 | 128 | 32 × 4 | 114,442 | 1e-3 |
| Powerup 2× | 3B | 4,096 | 64 | 16 × 4 | 11,446 | 1e-4 |
| Powerup 8× | 3B | 16,384 | 16 | 4 × 4 | 11,448 | 1e-4 |
All stages use BF16 on one NVIDIA RTX 5070 Ti with 16 GB VRAM. Hidden and expert
matrices use Muon; routers, the tied embedding/LM head, norms and other groups
use AdamW. Each stage has 1% warmup and cosine decay to 10% of its peak LR.
Weight decay is 0.1, AdamW betas are `(0.9, 0.95)` and gradient-norm clipping is 1.0.
Training uses isolated document packing, buffered global load balancing,
SonicMoE/Quack expert kernels, FlashAttention 4, core activation checkpointing
and regional compilation. Document boundaries reset positions, attention,
convolution and recurrent state. Prediction targets crossing those boundaries
are masked. Source-token budgets include document EOS and exclude padding.
**Multi-token prediction.** An auxiliary GQA/SwiGLU block predicts `t+2`, using
the backbone state and the ground-truth `t+1` embedding. It shares the main
embedding and LM head. The objective is `CE(t+1) + 0.3 × CE(t+2)`, plus the router
balancing loss. Each prediction depth is normalized over its valid targets in
the global batch. This is adapted from the sequential MTP construction in
[DeepSeek-V3](https://arxiv.org/html/2412.19437#S2.SS2).
HF generation uses the next-token head. The companion
[Kroha-base-dev](https://huggingface.co/d0rj/Kroha-base-dev) archive pairs the same
HF model with full training checkpoints: MTP weights, optimizer/scheduler and RNG
states, data cursors, TensorBoard logs, configuration and original training code.
## Data
The corpus covers English, Russian and 34 other natural-language quota groups,
plus Python, mathematics, scientific prose and DNA. Language exposure varies
widely; the lowest-resource groups have very small allocations.
```text
alt atv bak bel bxr che chv eng kaz kbd kca kir kjh koi kpv krc krl kum
lez lud mdf mhr mns mrj myv nog olo rus sah tat tyv udm ukr uzn vep xal
```
Source-token shares from the stage manifests, rounded to two decimals:
| Domain | Pretrain | Powerup 2× | Powerup 8× |
|---|---:|---:|---:|
| General text | 74.42% | 58.00% | 47.22% |
| Python | 11.58% | 17.00% | 21.59% |
| Mathematics | 11.00% | 17.50% | 21.59% |
| Scientific prose | 1.35% | 3.38% | 4.32% |
| DNA | 1.65% | 4.13% | 5.28% |
General text includes SNeG, Cultura RU Edu, FineWeb-Edu,
FineWeb2-HQ, FinePDFs-Edu, DCLM, Wikipedia, HPLT and regional-language corpora.
SNeG has priority during deduplication and contributes about 2.80B selected tokens
across the curriculum. Corpus provenance records retain source metadata and
revision pins.
Python comes from [CodeParrot](https://huggingface.co/datasets/codeparrot/codeparrot-clean-train)
and [UltraData-Code](https://huggingface.co/datasets/openbmb/UltraData-Code);
mathematics comes from [FineMath](https://huggingface.co/datasets/HuggingFaceTB/finemath)
and [UltraData-Math](https://huggingface.co/datasets/openbmb/UltraData-Math).
Scientific prose includes Dolmino science web, FineDNA biology text and Russian
scientific articles. DNA comes from [FineDNA](https://huggingface.co/datasets/HuggingFaceBio/FineDNA)
sequence subsets.
Stages use disjoint selected token intervals. Filtering includes exact-text,
paragraph, Python-AST and DNA-body checks. Benchmark decontamination and biological
homology analysis are pending.
## Tokenizer and DNA
**B64 + DNA6 v3** combines a 65,536-ID multilingual byte-level BPE tokenizer
with 4,114 DNA IDs. Numbers are split into individual digits. A chat template and
markers for tool calls, reasoning and fill-in-the-middle are provided for later
instruction tuning.
DNA mode is selected explicitly. Its 4,096 canonical tokens cover all uppercase
ACGT 6-mers. Sixteen single-symbol tokens and the BPE vocabulary provide lossless
fallback for short tails, ambiguous bases, lowercase letters and formatting.
Ordinary text uses BPE; DNA uses the codec in `modeling_kroha.py`.
```python
import importlib
model_module = importlib.import_module(type(model).__module__)
codec = model_module.DNACodec(tokenizer)
sequence = "ACGTACGTACGTNNu\n"
encoded = codec.encode_sequence(sequence)
assert codec.decode_sequence(encoded["input_ids"]) == sequence
```
Pass `encoded["input_ids"]` to the model as token IDs for a sequence prompt.
For mixed text and DNA, use `codec.encode_document(text, dna_mode=True)` with
`...` spans. The tokenizer decodes DNA token IDs; `` closes a
DNA span so generation can continue afterwards.
## Evaluation
### Open SLM Leaderboard (Base)
Kroha-base scores **8.4783 on the Intelligence Index** and **37.1286 on Avg** under the Open SLM Base scoring rules. Both values were calculated from the final checkpoint's full zero-shot evaluations using vLLM in BF16. The Hub release has the same weights and tokenizer as the evaluated checkpoint.
| Benchmark | Correct / total | Normalized accuracy |
|---|---:|---:|
| HellaSwag | 2,957 / 10,042 | 29.4463% |
| ARC-Easy | 875 / 2,376 | 36.8266% |
| ARC-Challenge | 265 / 1,172 | 22.6109% |
| PIQA | 1,021 / 1,838 | 55.5495% |
| ArithMark-3 | 338 / 1,000 | 33.8000% |
ARC-Easy and ARC-Challenge count as one averaged component. The Intelligence Index adjusts for chance and gives ArithMark-3 a weight of 0.65. ArithMark-3 was scored locally using mean log likelihood per continuation token. [Scoring rules](https://huggingface.co/spaces/AxiomicLabs/Open_SLM_Leaderboard/blob/4b018425dab5205aca988f8450fa287c61360045/index.html) | [Task results](./evaluation.json).
Evaluation · scores × 100
| Evaluation slice | Tasks | Kroha-base · 71.69M | cRia-75M (benchmark-adapted) | GPT-X3-150M | Supra2-100M-Base | GPT-2 Small 124M |
|---|---:|---:|---:|---:|---:|---:|
| Mean50 | 50 | 32.3743 | — | — | — | — |
| Russian | 23 | 35.3759 | — | — | — | — |
| English | 27 | 29.8174 | — | — | — | — |
| Original Mean26 | 26 | 30.5285 | 34.9430 | 36.6805 | 32.6863 | 30.3616 |
| English/Russian suite | 26 | 33.6887 | — | — | — | — |
| Benchmark | Lang. | Primary metric / filter | Shots | Examples | Kroha-base · 71.69M | cRia-75M (benchmark-adapted) | GPT-X3-150M | Supra2-100M-Base | GPT-2 Small 124M |
|---|---|---|---:|---:|---:|---:|---:|---:|---:|
| `arc_challenge` | EN | `acc_norm,none` | 0 | 1,172 | 22.6109 | 30.4608 | 31.6553 | 24.5734 | 22.5256 |
| `arc_easy` | EN | `acc_norm,none` | 0 | 2,376 | 36.8266 | 58.3333 | 59.5539 | 47.7273 | 39.6465 |
| `arithmark3` | EN | `acc_norm,none` | 0 | 1,000 | 33.8000 | 37.1000 | 51.6000 | 37.5000 | 35.6000 |
| `balanced_copa` | EN | `acc,none` | 0 | 1,000 | 52.7000 | 58.7000 | 60.1000 | 57.8000 | 55.4000 |
| `blimp` | EN | `acc,none` | 0 | 67,000 | 74.4164 | 80.3806 | 79.8060 | 80.9075 | 83.3373 |
| `boolq` | EN | `acc,none` | 0 | 3,270 | 60.5505 | 53.9755 | 58.3180 | 61.7125 | 49.9388 |
| `commonsense_qa` | EN | `acc,none` | 0 | 1,221 | 20.6388 | 20.4750 | 21.2940 | 21.2940 | 19.5741 |
| `hellaswag` | EN | `acc_norm,none` | 0 | 10,042 | 29.4463 | 39.0161 | 45.9669 | 35.9988 | 31.2189 |
| `lambada_openai` | EN | `acc,none` | 0 | 5,153 | 25.9266 | 38.3272 | 36.7553 | 35.6491 | 30.6229 |
| `mmlu_continuation` | EN | `acc,none` | 0 | 14,042 | 24.6689 | 26.6629 | 28.6498 | 26.9833 | 25.2101 |
| `openbookqa` | EN | `acc_norm,none` | 0 | 500 | 26.0000 | 33.8000 | 34.4000 | 32.0000 | 27.0000 |
| `piqa` | EN | `acc_norm,none` | 0 | 1,838 | 55.5495 | 64.6899 | 71.1099 | 65.1251 | 63.4385 |
| `sciq` | EN | `acc_norm,none` | 0 | 1,000 | 68.7000 | 89.9000 | 80.1000 | 70.8000 | 63.9000 |
| `truthfulqa_mc2` | EN | `acc,none` | 0 | 817 | 43.0944 | 41.7106 | 40.0322 | 40.7490 | 40.6980 |
| `winogrande` | EN | `acc,none` | 0 | 1,267 | 50.7498 | 52.5651 | 53.7490 | 51.2234 | 50.8287 |
| `bananamind_base` | EN | `raw_accuracy,none` | 0 | 350 | 52.0000 | 60.5714 | 66.2857 | 56.5714 | 51.4286 |
| `social_iqa` | EN | `acc,none` | 0 | 1,954 | 36.7963 | 40.6346 | 38.9969 | 38.3828 | 36.5404 |
| `race` | EN | `acc,none` | 0 | 1,045 | 26.2201 | 30.7177 | 33.5885 | 30.1435 | 29.6651 |
| `mmlu` | EN | `acc,none` | 5 | 14,042 | 26.2641 | 25.5804 | 25.3169 | 25.1389 | 26.2926 |
| `triviaqa` | EN | `exact_match,remove_whitespace` | 0 | 17,944 | 0.3511 | 4.8373 | 2.2849 | 1.1313 | 0.3622 |
| `gsm8k` | EN | `exact_match,flexible-extract` | 5 | 1,319 | 1.8196 | 1.9712 | 4.9280 | 1.1372 | 1.2130 |
| `hendrycks_math500` | EN | `exact_match,none` | 0 | 500 | 0.2000 | 0.0000 | 1.6000 | 0.4000 | 0.2000 |
| `bbh` | EN | `exact_match,get-answer` | 3 | 6,511 | 20.4884 | 17.9082 | 23.5141 | 6.8960 | 4.7612 |
| `humaneval` | EN | `pass@1,create_test` | 0 | 164 | 3.6585 | 0.0000 | 1.8293 | 0.0000 | 0.0000 |
| `mbpp` | EN | `pass_at_1,none` | 3 | 500 | 0.0000 | 0.2000 | 1.2000 | 0.0000 | 0.0000 |
| `mbpp_plus` | EN | `pass_at_1,none` | 3 | 378 | 0.2646 | 0.0000 | 1.0582 | 0.0000 | 0.0000 |
| `mmlu_pro_mc0` | EN | `acc,none` | 0 | 12,032 | 11.3281 | — | — | — | — |
| `global_mmlu_full_ru` | RU | `acc,none` | 5 | 14,042 | 26.4706 | — | — | — | — |
| `mmlu_prox_ru_mc0` | RU | `acc,none` | 0 | 11,759 | 11.3190 | — | — | — | — |
| `mera_rummlu_mc0` | RU | `acc,none` | 0 | 14,012 | 23.1088 | — | — | — | — |
| `include_base_44_russian` | RU | `acc,none` | 0 | 552 | 28.0797 | — | — | — | — |
| `rublimp_sum_ll` | RU | `acc,none` | 0 | 45,000 | 91.9889 | — | — | — | — |
| `rucola_dev` | RU | `mcc,none` | 0 | 2,787 | 0.2638 | — | — | — | — |
| `sberquad_dev` | RU | `f1,none` | 0 | 5,036 | 7.8481 | — | — | — | — |
| `rsg_danetqa` | RU | `acc,none` | 0 | 821 | 48.9647 | — | — | — | — |
| `rsg_parus` | RU | `acc,none` | 0 | 100 | 64.0000 | — | — | — | — |
| `rsg_rcb` | RU | `acc,none` | 0 | 220 | 32.2727 | — | — | — | — |
| `rsg_russe` | RU | `acc,none` | 0 | 8,505 | 38.5068 | — | — | — | — |
| `rsg_rwsd` | RU | `acc,none` | 0 | 204 | 51.4706 | — | — | — | — |
| `rsg_terra` | RU | `acc,none` | 0 | 307 | 48.5342 | — | — | — | — |
| `belebele_rus_Cyrl` | RU | `acc,none` | 0 | 900 | 24.8889 | — | — | — | — |
| `xnli_ru` | RU | `acc,none` | 0 | 2,490 | 39.7590 | — | — | — | — |
| `xquad_ru` | RU | `f1,none` | 0 | 1,190 | 2.6521 | — | — | — | — |
| `xwinograd_ru` | RU | `acc,none` | 0 | 315 | 54.6032 | — | — | — | — |
| `xstorycloze_ru` | RU | `acc,none` | 0 | 1,511 | 52.0847 | — | — | — | — |
| `mgsm_native_cot_ru` | RU | `exact_match,flexible-extract` | 8 | 250 | 1.6000 | — | — | — | — |
| `arc_ru` | RU | `acc_norm,none` | 0 | 1,169 | 24.4654 | — | — | — | — |
| `hellaswag_ru` | RU | `acc_norm,none` | 0 | 9,272 | 29.2278 | — | — | — | — |
| `truthfulqa_ru_mc2` | RU | `acc,none` | 0 | 788 | 47.5370 | — | — | — | — |
| `global_piqa_completions_rus_cyrl` | RU | `acc_norm,none` | 0 | 100 | 64.0000 | — | — | — | — |
## Inference and compatibility
The HF implementation supports cached generation, `inputs_embeds`, hidden-state
outputs, gradient checkpointing and standard linear projections for LoRA.
Install the [vLLM](https://github.com/d0rj/kroha-vllm) or
[SGLang](https://github.com/d0rj/kroha-vllm/tree/main/sglang) adapter in a separate
environment, following its README.
Prefix reuse, quantization, speculative decoding and CUDA graphs are untested.