Phase 2 · Modeling·Continual pretraining means starting the next phase of training from a cooled checkpoint. A cosine decay learning-rate schedule is best suited for fixed-budget training. Phase 2 has a mix of code, agentic, and English data. What’s the best move for Phase 2? Should we continue with cosine decay or use WSD?
BubblSpace MoE-0.9B-A0.2B
Building a small language model from scratch, in the open.
BubblSpace is AIEdx’s open research project. We built a 915M-parameter mixture-of-experts model, pretrained its English base on 10B tokens, and are in the final cooldown of Phase 2, which adds code, tool-use traces, and entity-binding examples alongside English.
The training journey
Model and training stack
Built the model
We implemented the architecture and training pipeline from scratch, and extended SmolLM2's tokenizer with 12 tokens for code infilling, tool calls and reasoning. The model routes each token through 8 of 64 experts, using roughly 211M of its 915M parameters per token.
Phase 1 · Complete
Trained the English base
We pretrained on 10B FineWeb-Edu tokens on one H100 and released the final checkpoint at step 19,073. The model could write fluent English but still struggled to associate facts and attributes with the right entities.
Phase 2 · Final cooldown
Continued into code and tool use
As of November 23, Phase 2 had reached about 21,000 of 22,888 steps. During the final 2B tokens of the 12B-token run, the learning rate falls and the mix shifts toward tool use and entity binding.
What Phase 2 is showing
The latest released checkpoint comes from just before the cooldown. Compared with Phase 1, it scores higher on code and tool calls, about 1.2 points lower on the English average, and below chance on the held-out entity-binding probe.
| Evaluation | Phase 1 final | Phase 2 |
|---|---|---|
| Code output prediction (CRUXEval-O pass@1) | 0.0% | 17.7% |
| Code generation (HumanEval pass@1) | 0.0% | 11.6% |
| Valid call with the expected tool name (23 held-out episodes) | 0% | 35% |
| English benchmark average (6 tasks) | 47.18 | 45.98 |
| Held-out entity binding (probe v4, chance ≈ 28/112) | 13/112 | 17/112 |
How we train and evaluate
Profiling showed that the H100 was spending time waiting for data. Loading batches in the background raised smoke-test throughput from roughly 69–71k to 85.5k tokens per second, moving the projected Phase 2 run time from about 48 to 39 hours.
We made evaluation deterministic so repeated runs give the same scores, and added per-layer routing inspection to see which experts handle different kinds of input as training progresses.
Recent Research Notes
All notesPhase 1 · Evals·Across 2,000 steps of FineWeb-Edu pretraining (~37% to ~47% of the 10B-token run), LAMBADA perplexity dropped monotonically from 58.1 to 49.3 while PIQA rose to 65.9%.
Phase 1 · Modeling·Architecture and optimizer setup for BubblSpace MoE-0.9B-A0.2B: Qwen3-Next-inspired GQA with QK-norm, output gating, ZeroCenteredRMSNorm, and hybrid Muon + AdamW in bf16.
Team
Founder & AI Researcher
First-principles builder and researcher behind AIEdx and the BubblSpace MoE pretraining runs.
Join BubblSpace on Discord
Running a checkpoint? Bring a prompt, an eval result, or a failure case. You can also follow along as Phase 2 progresses.
Join BubblSpace DiscordFor direct collaboration, contact AIEdx.