Slayer1B-1.10b-NC / code /README.md
Maggio33's picture
Add the exact training code (trainer r24.3, launchers, data packer) with SHA-256 and change notes
6661fea verified
|
Raw History Blame Contribute Delete
2.85 kB

Training code

The exact files that trained Slayer1B 1.10b-NC and the clean Slayer1B 1.10 run (in progress on 27–28 November 2026). Each file below is byte-identical to the copy that ran on the training machine; check it with sha256sum.

File SHA-256 Used by
train_gpt_ref_r24_3.py 592ac0552bff64c489aa1036143e94d591f29a19d55aa2f13ecccbafc0bd01a8 the trainer, both runs
start_110_base.py f7a7b319c5df0f8ce4a84ae0ab23b5032aac450cbdf5b80c20116ac03e5efd50 launcher of 1.10b-NC (this model)
start_110c_v1.py 640739f865a4db4369b0a1385e9aef6ad30248b4755aebcb4610a45a1c1f4f6f launcher of clean 1.10, updates 0 to 2,859
start_110c.py ff3eff4d0eb9be7df915f338ef4880be2242782f3cccb72802cc2a7072f9eb7b launcher of clean 1.10, from update 2,859
pack_110c.py 171563b544ed07a88650427f0b924089e81a8e1594dfdd2c3f0ff64315eb52b9 builds the clean 1.10 training package from approved data blocks

How the pieces fit

  • The launcher checks the SHA-256 of the trainer, the tokenizer, the starting weights (Slayer1B 1.09, update 95,000) and the data package, then runs the trainer once per data slot on 8 GPUs and keeps a permanent copy of the checkpoint at the end of every slot. All training settings (learning rate, batch, optimizer, schedule) are written in the launcher's trainer command, so the launcher file is the full recipe.
  • The trainer is a single-file GPT trainer (PyTorch, torch.compile, BF16 autocast, Muon + AdamW).
  • The packer interleaves the approved data blocks into equal slots with a fixed English/Polish ratio (70/30).

Changes between versions

  • Trainer r24.2 → r24.3 (r24.2 is published with Slayer1B-1.09): one optional flag, --eval-batch, which evaluates the validation loss on the same fixed sample at every evaluation, so the validation curve is comparable between steps. Model, training loop, optimizer and data handling are unchanged.
  • Clean 1.10 launcher v1 → v2, at update 2,859 (a slot boundary, approved by the project owner): activation recomputation (--act-ckpt) switched off and the rolling checkpoint written every 400 updates instead of every 200. Both change speed only, not the computation: on one GPU the loss matched to the fourth decimal with recomputation on and off, and training throughput on 8 GPUs rose from about 192 to about 225 thousand tokens per second.

License

The code in this folder is released under Apache-2.0, like the trainer published with Slayer1B-1.09. Parts adapted from other projects are credited in the trainer's header (Muon from modded-nanogpt; several optional architecture options adapted from kurcontko/Tiny-Chick-10M, Apache-2.0). The model weights in this repository remain under CC BY-NC 4.0.