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

  1. 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.

  2. 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.

  3. 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.

Phase 1 final compared with Phase 2 step 19,000
EvaluationPhase 1 finalPhase 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.1845.98
Held-out entity binding (probe v4, chance ≈ 28/112)13/11217/112
See the full benchmark results

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 notes
WSD vs. cosine decay learning rate for Phase 2: continual pretraining

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?

Team

Amardeep Singh Sidhu

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 Discord

For direct collaboration, contact AIEdx.