BubblSpace MoE-0.9B-A0.2B: full training states

Full training checkpoints: model weights plus optimizer state (Muon momentum, AdamW moments), learning-rate schedulers, step counter and RNG state. With these you can resume or branch training exactly, not just run inference.

For inference, use the model repo instead: TheFireHacker/bubblspace-moe0.9b-a0.2b (weights only, β‰ˆ3.7 GB; its main is the RL v1 model, Phase 4 step 500). Code, configs and data recipes: github.com/thefirehacker/bubblspace-MoE-0.9B-A0.2B.

Checkpoints: one branch each

Branches are named like OLMo's: <phase>-step<N>-tokens<X>B, where X is the total number of tokens seen since the start of Phase 1 (1 step = 524,288 tokens).

Branch What it is Config
phase1-step19000-tokens10B Phase 1, step 19,000 (second-to-last) base.yaml
phase1-step19073-tokens10B Phase 1 final: 10B FineWeb-Edu tokens, English only (warmup + cosine) base.yaml
phase2-step19000-tokens20B Phase 2, end of the constant-LR plateau, just before the anneal: branch a different anneal from here phase2.yaml
phase2-step22000-tokens22B Phase 2, inside the anneal (second-to-last) phase2.yaml
phase2-step22888-tokens22B Phase 2 final: code, tool calls, binding data; the WinoGrande twin-pair checkpoint phase2.yaml
phase25a-step20000-tokens32B Phase 2.5a, mid-plateau (knowledge, relations, fresh code) phase25a.yaml
phase25a-step28000-tokens37B Phase 2.5a, inside the LR decay phase25a.yaml
phase25a-step29000-tokens37B Phase 2.5a, second-to-last phase25a.yaml
phase25a-step29723-tokens38B Phase 2.5a final phase25a.yaml
phase25b-step2000-tokens39B Phase 2.5b (context 16k), step 2,000 phase25b.yaml
phase25b-step2861-tokens39B Phase 2.5b final: the last pretraining checkpoint (base model, 16k context) phase25b.yaml
phase3-step1000-tokens40B Phase 3 SFT run 01, step 1,000 of 1,500 phase3.yaml
phase3-step1500-tokens40B Phase 3 SFT run 01 final (over-refused harmless commands, doc/issue-02) phase3.yaml
phase3-run02b-step1000-tokens40B Phase 3 SFT run 02b (rebalanced refusal data), step 1,000 of 1,500 phase3_run02b.yaml
phase3-run02b-step1500-tokens40B Phase 3 SFT run 02b final: the model RL v1 started from phase3_run02b.yaml
phase4-rlv1-step100-tokens40B Phase 4 RL v1 (GRPO), step 100, with rollouts rl_v1.yaml
phase4-rlv1-step300-tokens40B Phase 4 RL v1, step 300, with rollouts rl_v1.yaml
phase4-rlv1-step500-tokens40B Phase 4 RL v1 final: every rollout of the run (same weights as the model repo's main) rl_v1.yaml

The main branch also keeps the first three exports as folders (phase1-step19073/, phase2-step19000/, phase2-step22888/), identical to the matching branches. At least the last two checkpoints of every stage are kept (18 branches); training text logs are under logs/.

Each checkpoint is β‰ˆ7.5 GB:

File Contents
model.safetensors model weights (fp32), β‰ˆ3.66 GB
optimizer.safetensors every tensor in the Muon and AdamW optimizer states, β‰ˆ3.87 GB
rng.safetensors CPU and CUDA RNG state
trainer_state.json step, both LR scheduler states, optimizer hyperparameters, and the training config used

RL branches (phase4-rlv1-*) hold the same four files (the optimizer is AdamW only; trainer_state.json also records the RL config, start checkpoint and task file under rl_info), plus the data of the run up to that step:

File Contents
rollouts/step_NNNN.jsonl.gz every sampled answer of every step: prompt, subject, task id, answer, finished, length, reward, advantage
eval_samples/step_NNNN.jsonl.gz every held-out test answer with its reward (every 25 steps)
train_log.jsonl, evals.jsonl, run_config.json per-step metrics (reward per subject, KL, length, timings), held-out scores, run settings

Read them with python scripts/rl_view.py <branch dir> (per-step table + held-out scores; --step 100 --area time prints the answers of a step).

No pickles. Everything is safetensors or JSON, so loading can't execute code. That's unlike raw PyTorch .pt files, which are Python pickles.

Resume training

Requires the training code from the GitHub repo.

git clone https://github.com/thefirehacker/bubblspace-MoE-0.9B-A0.2B && cd bubblspace-MoE-0.9B-A0.2B
hf download TheFireHacker/bubblspace-moe0.9b-a0.2b-training-states --revision phase25b-step2861-tokens39B --local-dir states/phase25b-step2861

# rebuild the exact training checkpoint (.pt) from safetensors + JSON
python scripts/restore_checkpoint.py restore --dir states/phase25b-step2861 --pt step_2861.pt

# continue the same run
python scripts/train.py configs/phase25b.yaml --resume step_2861.pt
# or start a new phase from it (fresh step counter and schedule, optimizer state kept)
python scripts/train.py <your_config>.yaml --init_from step_2861.pt
# or more RL from the RL v1 weights (train_grpo.py starts from the weights; the saved AdamW state is not wired up yet)
python scripts/train_grpo.py configs/rl_v1.yaml --set init_checkpoint=step_500.pt ...

restore_checkpoint.py is also in this repo. Every export was checked with a bit-exact round trip: rebuilding the checkpoint reproduces every tensor and value of the original .pt.

Model

β‰ˆ915.6M total / β‰ˆ211M active parameters: 16 layers, d_model 1024, GQA 16/4 with QK-norm and an output gate, 64-expert top-8 SwiGLU MoE, ZeroCenteredRMSNorm, tied embeddings, vocab 49,280. The tokenizer is SmolLM2's extended with 12 special tokens. Trained with Muon + AdamW on a single H100: β‰ˆ39.1B pretraining tokens over Phases 1, 2, 2.5a and 2.5b, then β‰ˆ0.8B tokens of SFT and 500 steps of GRPO (RL v1).

Disclaimer

For learning and research purposes only. Provided "AS IS" without warranty, consistent with the Apache License 2.0. AIEDX Private Limited bears no responsibility or liability for any output produced by this model or any software built using it.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including TheFireHacker/bubblspace-moe0.9b-a0.2b-training-states