Kroha-base-dev / RESTORE.md
d0rj's picture
Publish complete Kroha training checkpoints and TensorBoard history
123d4d6 verified
|
Raw History Blame Contribute Delete
1.8 kB

Restore training artifacts

Download the development repository:

hf download d0rj/Kroha-base-dev --local-dir Kroha-base-dev

Extract the training code and the three completed checkpoints:

tar -xzf Kroha-base-dev/code/training-code.tar.gz
mkdir -p tiny_llm/runs/kroha-routed-norm-mtp-curriculum-36b-v1
for stage in pretrain powerup_2x powerup_8x; do
  tar -xzf "Kroha-base-dev/checkpoints/${stage}.tar.gz" \
    -C tiny_llm/runs/kroha-routed-norm-mtp-curriculum-36b-v1
done

Each checkpoint contains decoder and MTP weights, Muon/AdamW states, scheduler, CPU/CUDA/Python/NumPy RNG states and the next global-batch cursor. All three stages have finished; additional pretraining or CPT needs a new data budget and schedule.

code/requirements-training.txt records the installed training packages. code/runtime-sources.tar.gz contains the exact SonicMoE and patched Quack sources under site-packages/, with their original license notices. Restore them into the training environment after installing its dependencies. The original launcher expects .venv-kroha-moe-20261106 and CUDA 13.3; see scripts/kroha_sonic_env.sh in the code snapshot.

Exact replay also requires the original tokenized curriculum under tiny_llm/data/kroha-curriculum-36b-v1. Its manifests, tokenizer and provenance records are in training/data-provenance.tar.gz; corpus shards are not included. After restoring the corpus and environment, inspect the saved recipe with:

cd tiny_llm
bash scripts/train_kroha_curriculum.sh powerup_8x --mtp --dry-run

From the extracted tiny_llm directory, view the original TensorBoard logs:

tensorboard --logdir ../Kroha-base-dev/tensorboard --port 6006

File hashes and checkpoint identities are listed in release-manifest.json.