How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="d0rj/Kroha-base-dev", trust_remote_code=True)
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("d0rj/Kroha-base-dev", trust_remote_code=True, device_map="auto")
Quick Links

Kroha-base-dev

Training archive for Kroha-base, a looped Gated DeltaNet/attention model. It includes the same Hugging Face decoder and the states and history needed to resume MTP training.

The decoder has 71,685,712 parameters. MTP adds a 3,939,968-parameter block and shares the embedding and output head. Its objective is CE(t+1) + 0.3 × CE(t+2), plus router balancing loss. See the main model card for architecture, curriculum and tokenizer details.

Archive contents:

Artifact Contents
Root HF model The same decoder weights and tokenizer as the matching main-model revision
configuration_kroha.py, modeling_kroha.py The two complete Python files used by HF AutoClasses
Training checkpoints Pretrain, Powerup 2×, Powerup 8×, including original configuration and code files
train_state.pt inside each checkpoint MTP weights, Muon and AdamW state, schedule, RNG state, counters and exact data cursor
TensorBoard event files Original logs from all three stages, grouped by stage
Training records Profiles, corpus/tokenizer manifests, metrics and source revisions
Code and environment Training code, serving adapters, package versions and patched SonicMoE/Quack sources
Release manifest File checksums, checkpoint identities and correspondence with the main repository

Checkpoint archives preserve the original implementation names and resume contracts byte for byte. The root HF model uses the public _kroha.py names and supports causal generation through AutoModelForCausalLM. Restore MTP with the training checkpoint and its matching code.

To resume, restore the checkpoint in its stage's run directory and use the archived recipe, environment and matching tokenized curriculum. The manifests fix tokenizer identity, global batch boundaries and the next batch to consume. For CPT, record the new dataset and schedule and retain the intended model and optimizer states.

Extraction and TensorBoard commands: RESTORE.md.

Evaluation

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 adapters

Install the vLLM or SGLang adapter in a separate environment, following its README.

Prefix reuse, quantization, speculative decoding and CUDA graphs are untested.

Downloads last month
-
Safetensors
Model size
71.7M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for d0rj/Kroha-base-dev

Base model

d0rj/Kroha-base
Finetuned
(1)
this model

Datasets used to train d0rj/Kroha-base-dev

Collection including d0rj/Kroha-base-dev

Evaluation results