Kyro-2-45M

A 45.35M-parameter base language model pretrained from scratch on 27.5B tokens. No fine-tuning, no instruction tuning, and no training on any benchmark's train, validation or test split.

HellaSwag ARC-Easy ARC-Challenge PIQA ArithMark-3 Intelligence Index
Kyro-2-45M 35.38 46.84 26.02 66.59 45.5 21.93

HellaSwag / ARC / PIQA: lm-eval 0.4.12, hf backend, float32, 0-shot, acc_norm, full sets. ArithMark-3: 1,000 items, per-token-normalized log-likelihood, no special tokens added by the harness. The Intelligence Index follows the Open SLM Leaderboard formula.

lm_eval --model hf --model_args pretrained=<this repo>,trust_remote_code=True,dtype=float32 \
    --tasks hellaswag,arc_easy,arc_challenge,piqa --num_fewshot 0 --batch_size 32

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("<this repo>", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("<this repo>", trust_remote_code=True)
ids = tok("The water cycle is", return_tensors="pt").input_ids
print(tok.decode(model.generate(ids, max_new_tokens=30, do_sample=False)[0]))

trust_remote_code=True is needed for the custom architecture (modeling_kyro.py, plain PyTorch).

BOS: the model was trained with <|bos|> before every document, and the exported model inserts it itself (prepend_bos: true in config.json) and drops that position from its outputs. Do not add <|bos|> yourself; harnesses that add no special tokens (stock lm-eval, the ArithMark-3 script) score it exactly as trained. No KV cache: generation recomputes the prefix (fine at 512 tokens of context).

Model

Parameters 45,351,465 (tied input/output embedding counted once)
Shape 12 layers, d_model 512, 8 heads of 64, context 512
MLP ReLU², hidden 2048; layer 0 is MLP-only
Other value residual, U-Net skip connections, token smear at the input, partial RoPE (50% of head dims)
Tokenizer 16,384-token byte-level BPE (digits grouped 1-2 at a time)

Training

  • One RTX 5090, ~400K tokens/s, 19.1 training hours, 27.5B tokens, batch 49,152 tokens.
  • Muon (matrices) + Adam (embeddings, scalars); warmup-stable-decay with a constant learning rate for 22.0B tokens, then a 5.5B-token 1-sqrt cooldown to zero; weights are the EMA (0.9995) over the cooldown.
  • Stable phase (22.0B tokens): ClimbMix 50.6%, TxT360-v2 web (subset filter: Common Crawl, HPLT, Wikipedia, abstracts, patents, law, Europarl, PG-19) 13.5%, FineWeb-Edu 11.2%, TxT360-v2 QA 9.0%, FineMath-4+ 7.9%, Cosmopedia-v2 5.6%, Cosmopedia WikiHow 2.2%.
  • Cooldown (5.5B tokens): ClimbMix 75% (documents not seen in the stable phase), Cosmopedia WikiHow 7%, Cosmopedia-v2 6%, synthetic arithmetic 12% (below).
  • Decontamination: documents sharing any 13-gram with HellaSwag, ARC, PIQA or ArithMark-3 items were removed.

Synthetic arithmetic (disclosure)

12% of the cooldown (and none of the stable phase) is synthetic arithmetic text from our own generators. It was designed to teach arithmetic that generalizes, and it is not in ArithMark-3's format:

  • bare equations and verbal drills ("43 plus 19 equals 62", multi-step running totals);
  • templated word problems in seven different textual frames;
  • ~10,300 story-problem templates written by an LLM (DeepSeek), each with numbers as slots and the answer as a formula, verified by an independent re-solve; the LLM never saw any test item. Numbers are drawn fresh for each use.

Every generator excludes a held-out set of problems and 10% of the whole (a, op, b) space. Each template was checked against every evaluation set with a number-masked 8-gram filter, and the 52 templates that matched were dropped. To check that the skill generalizes rather than memorizing a format, we measured it on held-out sets that never appear in training:

Held-out set before the cooldown final
ASDiv + SVAMP (human-written word problems, 3,091 items) 33.7 52.8
"Question: What is A plus B? Answer:" (GPT-3 wording, never trained) 29.4 81.5
problem types and number ranges excluded from all generators 33.3 99.3
ArithMark-3 38.1 45.5

Without the synthetic data the model scores ArithMark-3 38.1 (the pre-cooldown checkpoint) and has an Intelligence Index of 15.23 before its cooldown.

License and limitations

  • Non-commercial (CC-BY-NC-4.0): ClimbMix is CC-BY-NC-4.0 upstream (Nemotron-CC). The other sources allow commercial use.
  • ClimbMix's mixture weights were selected by NVIDIA's CLIMB using proxy models scored on PIQA, ARC-Easy and HellaSwag validation data. ClimbMix contains no benchmark text, but this selection may favor those benchmarks.
  • A 45M-parameter base model: it makes factual errors, has no safety tuning, and English is its only language.
Downloads last month
80
Safetensors
Model size
45.4M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train Astrosully/Kyro-2-45M