Phase 2 · Evals·At the same token count, the Phase 2 final checkpoint (step 22,888) gets 18.3% of WinoGrande twin pairs fully right and writes the answer in 1.8%, ahead of OLMo-2 1B (17% / 1%) and Pythia 410M–1.4B (14–15% / 1%). Every model is still below chance this early.
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 completed another 12B tokens of continual pretraining on English, code, tool use, and entity binding. Phase 2.5 is training now.
Phase 2 final · step 22,888BubblSpace MoE-0.9B-A0.2B is ahead of OLMo-2 1B on WinoGrande twin pairsBoth twins right: 18.3% vs 17% for OLMo-2 1B · Written right: 1.8% vs 1%Models, datasets, and checkpoints
Inference weights
The model repo’s main branch serves Phase 2 final, step 22,888. Step 19,000, just before the cooldown, is on the phase2-step19000 branch.
Full training states
Resume or branch from Phase 1 final (19,073), Phase 2 before cooldown (19,000), or Phase 2 final (22,888). Each includes the weights, optimizer, learning-rate scheduler, and random-number generator state.
BubblSpace collection
Find the model, training states, contrastive binding dataset, and Wikipedia-based relational passages in one place.
The FirstBreakAI notebooks folder includes the latest relational dataset EDA notebook comparing v3 and v4.
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 · Complete
Continued into code and tool use
Phase 2 finished on November 23, 2026, at step 22,888 after 12B more tokens and about 39 hours and 50 minutes on one H100. During the final 2B tokens, the learning rate fell and the mix shifted toward tool use and entity binding.
Training roadmap
Phase 1 · Done
English base
Learns the language itself.
Phase 2 · Done
Coding + agentic
Code and agent-style tasks. It now writes working Python.
Phase 2.5 · Training
More knowledge, longer context
Phase 2.5a is training on 20B tokens focused on factual knowledge, semantic relations, and code. Phase 2.5b follows with about 1.5B tokens to extend the context window.
- Factual data
- Relational data
- More code
Phase 3 · Next
SFT: instruction following
Teaches it to do what the user actually asked.
Phase 4 · Next
RL: reinforcement learning
Rewards good outputs to sharpen reliability.
Context window
8× target
What Phase 2 showed
Code generation scores rose through the final checkpoint. During the cooldown, binding improved on new names and phrasings, from 17 to 82 out of 112 on probe v4. On the separate test for new sentence structures, the score moved from 4 to 6 out of 70.
| Evaluation | Phase 1 final | Phase 2 |
|---|---|---|
| Code output prediction (CRUXEval-O pass@1) | 0.0% | 17.7%Step 19,000 |
| Code generation (HumanEval pass@1) | 0.0% | 14.6%Step 22,888 |
| Python programming tasks (MBPP pass@1) | — | 18.2%Step 22,888 |
| Valid call with the expected tool name (23 held-out episodes) | 0% | 39.1%Step 21,000 |
| English benchmark average (6 tasks) | 47.18 | 46.65Step 21,000 |
| Held-out entity binding (probe v4, chance ≈ 28/112) | 13/112 | 82/112Step 21,000 |
BubblSpace MoE-0.9B-A0.2B is ahead of OLMo-2 1B on WinoGrande twin pairs
With 211M active parameters and 22B tokens, the Phase 2 final checkpoint is ahead of OLMo-2 1B and Pythia 410M–1.4B at the same token count. It matches OLMo-2 1B at 42B tokens, so it reaches the same score with about half the tokens.
Research shows that language models pass through two habits before they learn to pick the right entity. Chan, Huang, Elazar and Geiger (2026) traced three phases in entity comparison. We test whether the same phases show up when a model has to bind a property to a name inside one sentence.
1. Frequency
Picks whichever answer is more common in its training data, whatever the sentence says.
How it shows up: Same answer for both twins, so pair scores fall below 25% chance.
2. Position
Picks a name by where it sits in the sentence: the first-mentioned one, or the last-mentioned one, nearest the blank.
How it shows up: Still the same name for both twins. What it writes leans first or last.
3. Binding
Reads the sentence and picks the name the property actually belongs to.
How it shows up: Pair scores rise well above 25%, then the model starts writing the right name.
Every model here, BubblSpace included, is still in the habit phase at this token count, and the gap is within noise on 284 pairs. The research note has the scoring, what we have and haven’t observed, and the full table.
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 2.5 · Data·OLMo 2, Marin, Llama 3 and Databricks all report large, task-specific gains from changing the data mix during the learning-rate decay. The evidence for that is strong. The stronger claim, that a token counts for more in decay than on the plateau, has not been tested directly.
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
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, or follow the work on Phase 2.5.
Join BubblSpace DiscordFor direct collaboration, contact AIEdx.