- BubblSpace MoE-0.9B-A0.2B
- Where we are
- Checkpoints
- Phase 4 (RL v1) results
- Disclaimer
- Phase 1 training config (base.yaml)
- Phase 1 benchmarks (base model)
- step_7000 (step 7,000 / 19,073 planned steps, β37% through the single
- step_8000 (step 8,000 / 19,073 planned steps, β42% through the run)
- step_9000 (step 9,000 / 19,073 planned steps, β47% through the run)
- step_18000 (step 18,000 / 19,073 planned steps, β94% through the run)
- step_19073 β Phase 1 final checkpoint (100%, 10.0B tokens complete)
- Phase 2 results
- Phase 2.5 results
- Phase 3 (SFT) results
- Try it yourself
- Where we are
BubblSpace MoE-0.9B-A0.2B
Project homepage: bubblspace.com Β· GitHub Β· Training states Β· W&B
π BubblSpace MoE-0.9B-A0.2B is ahead of OLMo-2 1B and Pythia on WinoGrande twin pairs at the same token count. Details
A small Mixture-of-Experts language model trained from scratch on one H100: β915M parameters, β211M active per token, built for coding and agentic tool use. Everything is open: the weights, every checkpoint with its optimizer state, the training code and the data pipeline.
β οΈ A small model for learning. BubblSpace is a small model built to learn, and to show, how language models are trained. Its outputs are not reliable, so don't depend on them. The whole project is open source to help others learn.
Where we are
Token counts are cumulative. Pretraining, supervised fine-tuning and a first RL round are complete. This repo's main is the RL model: Phase 4 RL v1 step 500 (SFT run 02b + 500 GRPO steps). Next: decide from the benchmarks whether a knowledge round or a bigger RL comes first (plan).
| Phase | What it adds | Tokens (total) | Highlight | Status |
|---|---|---|---|---|
| 1 | English base (FineWeb-Edu) | 10B | English 6-task average 47.2 | β 19,073 steps, 32 h |
| 2 | code, tool calls, synthetic binding data (plan) | 22B | HumanEval 14.6% Β· MBPP 18.2% Β· the WinoGrande twin-pair lead | β 22,888 steps, 40 h, 23 Nov |
| 2.5a | knowledge (full Wikipedia, fact Q&A, SYNTH), relations, fresh code; early LR decay with order-alternated binding data (plan) | 37.6B | TriviaQA 15.8% Β· English average 47.9 Β· BFCL multiple 26% | β 29,723 steps, 26 Nov |
| 2.5b | context 2k β 16k (RoPE base 1e6) | 39.1B | passkey retrieval 70% at 4k, 48% at 16k | β 2,861 steps, 27 Nov |
| 3 | SFT: chat, tool calling, agent traces, step-by-step maths; assistant-only loss at 16k (plan) | +0.8B | chats, picks the right tool, makes parallel calls, uses tool results (results) | β 1,500 steps, 3 h, 27 Nov |
| 4 | RL v1: GRPO with verifiable rewards (maths, time problems, instruction constraints, code in a sandbox, tool calls, binding, refusal balance) (plan) | +500 RL steps | BFCL parallel 24 β 40% Β· IFEval 23 β 30% Β· GSM8K 9.6 β 12.4% Β· no forgetting (results) | β 500 steps, 1 h 40 min, 27 Nov |
Checkpoints
| Where | |
|---|---|
This repo's main: the latest model |
Phase 4 RL v1 step 500 (SFT run 02b + 500 GRPO steps), 16k context: model.safetensors, model code, tokenizer with chat template, generate.py (try it); same weights as branch phase4-rlv1-step500-tokens40B |
| RL v1 steps 100 / 300 | branches phase4-rlv1-step100-tokens40B, phase4-rlv1-step300-tokens40B |
| SFT models | run 02b (the RL start): phase3-run02b-step1500-tokens40B, phase3-run02b-step1000-tokens40B; run 01: phase3-step1500-tokens40B (main 27β28 Nov), phase3-step1000-tokens40B |
| Base model (last pretraining checkpoint) | branch phase25b-step2861-tokens39B: Phase 2.5b final, 16k context, no SFT |
| Earlier weights | branches phase2-step22888-tokens22B (Phase 2 final, the WinoGrande checkpoint, main until 27 Nov), phase2-step19000, phase2-step9000, phase1-final |
| Full training states (weights + optimizer + schedulers + RNG, to resume or branch training) | huggingface.co/TheFireHacker/bubblspace-moe0.9b-a0.2b-training-states: one branch per checkpoint, named like OLMo's <phase>-step<N>-tokens<X>B (18 in all: at least the last two of every stage, from phase1-step19000-tokens10B to phase4-rlv1-step500-tokens40B; the RL branches carry every rollout). Restore with scripts/restore_checkpoint.py |
| Training logs (public W&B) | Phase 1 goa8jk6e Β· Phase 2 lec9ww5h Β· 2.5a l2i2yoqf Β· 2.5b 9be9emiq Β· SFT run 01 qq4dnyp4 Β· SFT run 02b 6dz3e9d5 Β· RL v1 0qt8oyzz |
| Code, data pipeline, every training script | github.com/thefirehacker/bubblspace-MoE-0.9B-A0.2B |
| License | Apache 2.0 |
Phase 4 (RL v1) results
RL v1 ran 500 steps of GRPO with verifiable rewards on top of SFT run 02b: the model answers each question 8 times, plain-code checkers score every answer (maths, time problems, instruction constraints with known answers, code run in a docker sandbox, tool calls incl. parallel and no-tool-needed, who-did-what, refusal balance), and training raises the better answers (plan, primer). 1 h 40 min on one H100, generation through our vLLM plugin. Every rollout is on the training-states branches.
Chat benchmarks, all models evaluated the same way (A10, vLLM backend, greedy; raw results in benchmark/phase4/):
| Model | Harmless refused | Harmful refused | Live data honest | HumanEval % | MBPP % | GSM8K % | IFEval prompt / instr. % | BFCL simple | BFCL multiple | BFCL parallel | BFCL no tool needed |
|---|---|---|---|---|---|---|---|---|---|---|---|
| SFT run 01 | 9/45 | 8/8 | 6/8 | 15.2 | 22.6 | 10.0 | 26.1 / 38.1 | 57.0 | 40.0 | 31.0 | 75.4 |
| SFT run 02b (RL start) | 1/45 | 8/8 | 7/8 | 15.2 | 21.8 | 9.6 | 23.1 / 36.0 | 63.0 | 36.0 | 24.0 | 56.2 |
| RL v1 step 100 | 1/45 | 7/8 | 8/8 | 15.9 | 22.4 | 10.5 | 28.1 / 40.3 | 68.0 | 42.0 | 37.0 | 71.7 |
| RL v1 step 300 | 0/45 | 7/8 | 8/8 | 15.9 | 22.8 | 12.3 | 27.9 / 41.8 | 70.0 | 37.0 | 34.0 | 75.4 |
RL v1 step 500 (main) |
0/45 | 7/8 | 8/8 | 16.5 | 22.2 | 12.4 | 29.6 / 43.5 | 71.0 | 43.0 | 40.0 | 69.6 |
- Tool calling: RL recovered run 02b's losses and went past both SFT runs on simple, multiple and parallel calls (parallel 24 β 40%); "no tool needed" back near run 01.
- Instructions and maths: best IFEval of any of our models; GSM8K 9.6 β 12.4% (maths stays weak: most maths tasks were never solved in 8 tries before RL, a knowledge gap rather than an RL target).
- Refusals: answers every harmless prompt in our 45-prompt check, says when it has no live data, refuses 7 of 8 clearly harmful requests (the eighth it discourages without a refusal phrase).
- No forgetting: English 6-task average 47.91 (run 02b) β 48.00 (RL v1).
- Chat test: passive sentences right for the first time ("The letter was written by Mayaβ¦ who wrote it?" β Maya), two calls for "weather in Tokyo and London", shorter direct answers. One regression: "capital of India" β "Delhi" instead of "New Delhi".
BFCL has 100 questions per category (Β±5 points is noise).
Pass@8 (8 answers per question at temperature 1.0; summary): RL v1 raised pass@8 or kept it level on every task (GSM8K 19.6 β 31.8%), so it didn't narrow what the model can reach. The gap between greedy and pass@8 shows where a bigger RL can still help: IFEval 30 vs 55%, BFCL multiple 43 vs 67%, GSM8K 12 vs 32%. Two-thirds to three-quarters of HumanEval, MBPP and GSM8K questions are never right in 8 tries: that part needs more code and maths knowledge, not more RL.
Hand tests and long context (summary): on the 18 relational and 16 calculation prompts of our OLMo comparison, RL v1 scores 10/18 and 9/16 as raw text (2.5a base: 6/18 and 5/16; OLMo-2 1B final base: 9/18 and 10/16) and 8/18 and 12/16 in chat (SFT run 02b: 5/18 and 8/16; OLMo-2 1B Instruct: 14/18 and 16/16). Days of the week, time order and swapping stay wrong. Long-context retrieval is kept as raw text (passkey 85% at 2k, 83% at 8k, 50% at 16k), but drops when the document comes as a chat message (75 / 38 / 33%): long-document questions in the chat format are the next gap to train.
Disclaimer
This model, its weights/checkpoints, and the training/data-prep code are published for learning and research purposes only. It is an experimental, independently-trained small language model, not a finished or production-grade product.
AIEDX Private Limited bears no responsibility or liability for any output produced by this model or any software built using it. Use is entirely at your own risk, provided "AS IS" without warranty of any kind, consistent with the Apache License 2.0.
On the nature of AI output: this is a small model, pretrained, then instruction-tuned (SFT) and given one short round of RL. Its outputs are statistically plausible continuations of text, not verified facts, advice, or reasoning β it can be confidently wrong, biased, inconsistent, or nonsensical, especially at this parameter scale and training stage. Do not rely on its output for factual, medical, legal, financial, or safety-critical purposes.
This is the Phase 4 RL v1 checkpoint of a multi-phase project, not a finished model.
- Architecture: GQA (16 heads / 4 kv-heads), QK-norm, RoPE, dropless top-8 SwiGLU MoE (64 experts), ZeroCenteredRMSNorm, tied embeddings.
- Total params: 915,573,760 (β915M total / β211M active per token)
- Checkpoint: Phase 4 RL v1, step 500. Pretraining: 39.1B tokens over Phases 1, 2, 2.5a and 2.5b; then β0.8B tokens of SFT (run 02b); then 500 GRPO steps (64 prompts Γ 8 answers each)
- Context: 16,384 tokens (RoPE base 1e6)
- Trained with Muon + AdamW, bf16, on a single H100.
- Tokenizer: SmolLM2-360M base + BubblSpace special tokens (chat/FIM/tool/reasoning), vocab 49,280.
This checkpoint is instruction-tuned (SFT) and RL-tuned: it answers in the chat format, writes code when asked, and calls tools given in the system turn. RL v1 was short (500 steps) and had no preference tuning. Expect it to get facts wrong, to be weak at maths, and sometimes to mix up who did what in tricky sentences.
Weights are provided as model.safetensors (raw state_dict of the custom Transformer class β
this is NOT a transformers-library-compatible checkpoint; the model code is included in this
repo under src/, and the full project is at https://github.com/thefirehacker/bubblspace-MoE-0.9B-A0.2B).
Phase 1 training config (base.yaml)
This repo's training_config.yaml is the Phase 3 run 02b (SFT) config, which defines the architecture; the RL settings are configs/rl_v1.yaml. The Phase 1 config is below; every phase's config is in the GitHub repo under configs/.
# ============================================================
# MoE-0.9B-A0.2B v2 β ~915M total / ~211M active params
# Qwen3-Next-inspired, single H100 80GB, Muon + AdamW
# ============================================================
run_name: moe0-9b-a0-2b-base
model:
n_layers: 16
d_model: 1024
vocab_size: 49280 # bubblspace-tokenizer real length 49164, padded to a multiple of 128
tie_embeddings: true
max_seq_len: 2048
norm_eps: 1.0e-6
attention:
n_heads: 16
head_dim: 64
n_kv_heads: 4
qk_norm: true
rope_theta: 10000
output_gate: true
bias: false
moe:
n_experts: 64
top_k: 8
expert_hidden: 256
activation: silu
router_init_std: 0.02
backend: auto # auto | grouped_mm | fallback β resolved at startup by probing torch._grouped_mm
load_balance_coef: 0.01
router_z_loss_coef: 0.001
init:
std: 0.02
# residual_proj_std = std / sqrt(2 * n_layers), applied to attn.o_proj and experts.W_down
optimizer:
muon:
lr: 6.0e-4
momentum: 0.95
nesterov: true
ns_steps: 5
weight_decay: 0.1
adamw:
lr: 6.0e-4
betas: [0.9, 0.95]
eps: 1.0e-8
weight_decay: 0.1
grad_clip: 1.0
schedule:
warmup_steps: 2000
decay: cosine # cosine | wsd
min_lr_ratio: 0.1
wsd_decay_frac: 0.2 # only used when decay: wsd
training:
dataset: HuggingFaceFW/fineweb-edu
dataset_config: sample-10BT
total_tokens: 10_000_000_000
seq_len: 2048
global_batch_tokens: 524288
micro_batch: 16
precision: bf16
compile: true
checkpoint_every: 1000
log_every: 10
expert_hist_every: 100
attn_logit_every: 100
data:
data_dir: /lambda/nfs/h100-f1/data
checkpoint_dir: /lambda/nfs/h100-f1/checkpoints
tokenizer:
path: ./bubblspace-tokenizer
doc_separator: "<|endoftext|>"
wandb:
project: moe0-9b-a0-2b
entity: null
Phase 1 benchmarks (base model)
Standard base-LM benchmark suite via lm-evaluation-harness (loglikelihood-scored, multiple-choice tasks only), tracked through Phase 1. Chat benchmarks of the current model are in Phase 4 results.
step_7000 (step 7,000 / 19,073 planned steps, β37% through the single
10B-token FineWeb-Edu pretraining run)
| Task | Metric | Score | Random baseline |
|---|---|---|---|
| PIQA | acc_norm | 64.7% | 50% (2-choice) |
| ARC-Easy | acc_norm | 51.1% | β25% (multi-choice) |
| HellaSwag | acc_norm | 37.0% | 25% (4-choice) |
| LAMBADA (openai) | acc (exact last-word match) | 29.0% | β0% (strict exact-match) |
| LAMBADA (openai) | perplexity | 58.1 | β |
| WinoGrande | acc | 52.4% | 50% (2-choice) |
| ARC-Challenge | acc_norm | 28.0% | 25% (4-choice) |
Tasks rewarding broad surface-pattern learning (PIQA, ARC-Easy, HellaSwag) are clearly above chance already. The two hardest, most reasoning-heavy benchmarks (ARC-Challenge, WinoGrande) sitting near chance is expected at this model size and training stage β not a sign of a problem.
step_8000 (step 8,000 / 19,073 planned steps, β42% through the run)
| Task | Metric | step_7000 | step_8000 | Ξ |
|---|---|---|---|---|
| PIQA | acc_norm | 64.7% | 64.5% | -0.2 (noise) |
| ARC-Easy | acc_norm | 51.1% | 50.7% | -0.4 (noise) |
| HellaSwag | acc_norm | 37.0% | 38.0% | +1.0 |
| LAMBADA (openai) | acc | 29.0% | 31.0% | +2.0 |
| LAMBADA (openai) | perplexity | 58.1 | 50.3 | -7.8 (better) |
| WinoGrande | acc | 52.4% | 51.7% | -0.7 (noise) |
| ARC-Challenge | acc_norm | 28.0% | 27.6% | -0.4 (noise) |
Most metrics are flat within statistical noise over just 1,000 steps. LAMBADA is the exception β a real, consistent improvement (perplexity down 13%, accuracy up 2 points), the expected signal for the metric most dependent on total tokens seen. More checkpoints will be benchmarked the same way as training progresses.
step_9000 (step 9,000 / 19,073 planned steps, β47% through the run)
| Task | Metric | step_8000 | step_9000 | Ξ |
|---|---|---|---|---|
| PIQA | acc_norm | 64.5% | 65.9% | +1.4 |
| ARC-Easy | acc_norm | 50.7% | 50.8% | +0.1 (noise) |
| HellaSwag | acc_norm | 38.0% | 38.5% | +0.5 |
| LAMBADA (openai) | acc | 31.0% | 30.6% | -0.4 (noise) |
| LAMBADA (openai) | perplexity | 50.3 | 49.3 | -1.0 (better) |
| WinoGrande | acc | 51.7% | 51.5% | -0.2 (noise) |
| ARC-Challenge | acc_norm | 27.6% | 27.2% | -0.4 (noise) |
PIQA shows a real move this step (+1.4, clear of its β1.1% stderr), and HellaSwag keeps climbing steadily. LAMBADA perplexity continues its monotonic improvement (58.1 β 50.3 β 49.3), now 15% better than the step_7000 baseline. The reasoning-heavy benchmarks (ARC-Challenge, WinoGrande) remain flat within noise, as expected at this model size and training stage.
step_18000 (step 18,000 / 19,073 planned steps, β94% through the run)
This entry jumps 9,000 steps ahead of step_9000 (β4.7B additional tokens), so these deltas reflect that larger gap, not the usual 1,000-step increment.
| Task | Metric | step_9000 | step_18000 | Ξ |
|---|---|---|---|---|
| PIQA | acc_norm | 65.9% | 68.8% | +2.9 |
| ARC-Easy | acc_norm | 50.8% | 56.6% | +5.8 |
| HellaSwag | acc_norm | 38.5% | 42.6% | +4.1 |
| LAMBADA (openai) | acc | 30.6% | 35.3% | +4.7 |
| LAMBADA (openai) | perplexity | 49.3 | 31.0 | -18.3 (better) |
| WinoGrande | acc | 51.5% | 50.7% | -0.8 (noise) |
| ARC-Challenge | acc_norm | 27.2% | 29.9% | +2.7 |
Every task except WinoGrande moves well clear of its stderr band (β1-1.4% on most tasks) β the clearest real-learning signal of the run so far, matching the near-doubling of tokens seen since step_9000. LAMBADA perplexity has now fallen 37% from the step_7000 baseline (58.1 β 31.0) with accuracy up 6.3 points (29.0% β 35.3%). ARC-Easy and HellaSwag post their largest single-entry jumps of the run. WinoGrande stays flat within noise β expected, as it and ARC-Challenge are the two hardest, reasoning-heavy tasks in this suite (ARC-Challenge did move here, +2.7).
step_19073 β Phase 1 final checkpoint (100%, 10.0B tokens complete)
| Task | Metric | step_18000 | step_19073 | Ξ |
|---|---|---|---|---|
| PIQA | acc_norm | 68.8% | 68.2% | -0.6 (noise) |
| ARC-Easy | acc_norm | 56.6% | 56.1% | -0.5 (noise) |
| HellaSwag | acc_norm | 42.6% | 42.9% | +0.3 (noise) |
| LAMBADA (openai) | acc | 35.3% | 34.8% | -0.5 (noise) |
| LAMBADA (openai) | perplexity | 31.0 | 32.0 | +1.0 (noise) |
| WinoGrande | acc | 50.7% | 51.4% | +0.7 (noise) |
| ARC-Challenge | acc_norm | 29.9% | 29.8% | -0.1 (noise) |
Flat within stderr across the board over the final 1,073 steps β expected,
since the cosine LR schedule had already decayed to its floor well before
this point. This is the final Phase 1 base-pretraining checkpoint
(branch phase1-final). Further improvement requires Phase 2 continual training
on an expanded English + code + agentic mixture, not more steps on this run.
Phase 2 results
Phase 2 continues from the step_19073 checkpoint above for 22,888 more steps (12B tokens):
- Data: English/knowledge/STEM (Wikipedia, Cosmopedia-v2, FineMath, FineWeb-Edu replay), code in 5 languages with fill-in-the-middle, agentic tool-use and reasoning episodes, and synthetic contrastive entity-binding pairs.
- Schedule: a long stable plateau at learning rate 2.4e-4 (Stage 2A, 10B tokens), then an anneal (Stage 2B, 2B tokens) where the learning rate decays to 6e-6 while the mix shifts toward curated code, agentic and binding data.
All evals are deterministic. BFCL is decontaminated (11 overlapping questions excluded). No model-written code is executed.
| Eval | Phase 1 final | Phase 2 step 9,000 | Phase 2 step 19,000 | Phase 2 final (22,888) |
|---|---|---|---|---|
| CRUXEval-O pass@1 (code output prediction) | 0.0% | β | 17.7% | 20.7% |
| BFCL simple / multiple / parallel (function calling, AST) | 0 / 0 / 0% | β | 25 / 13 / 0% | 25 / 17 / 1% |
| HumanEval pass@1 (code executed in an isolated sandbox) | 0.0% | 9.1% | 11.6% | 14.6% |
| MBPP pass@1 (500, sandboxed) | β | 8.4% | 12.6% | 18.2% |
| Held-out tool-call format: valid call, correct name | 0% | 30% | 35% | 39% |
| Fill-in-the-middle exact match | 0% | 1.7% | 3.3% | 5.0% |
Reasoning: closes </think> within 512 tokens |
0% | 12% | 0% | 0% |
| English 6-task average (forgetting check) | 47.18 | 46.19 | 45.98 | 46.92 |
| Entity-binding probe v2 / v3 | 24/100, 4/70 | 24/100, 3/70 | 30/100, 4/70 | 37/100, 6/70 |
| Entity-binding probe v4 (held-out phrasings + entities; chance β 28) | 13/112 | 11/112 | 17/112 | 77/112 (82 at step 21k) |
| TriviaQA / NQ-open (closed-book, 5-shot) | 8.5% / 2.9% | β | β | 11.6% / 3.9% |
Phase 2 English benchmarks, per task (lm-evaluation-harness, zero-shot, same suite as Phase 1 above):
| Task | Metric | Phase 1 final | P2 5k | P2 7k | P2 9k | P2 11k | P2 13k | P2 15k | P2 17k | P2 19k | P2 21k | P2 final 22,888 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| HellaSwag | acc_norm | 42.86 | 40.39 | 40.69 | 40.64 | 40.28 | 40.61 | 40.65 | 40.72 | 40.26 | 41.07 | 41.74 |
| PIQA | acc_norm | 68.17 | 67.30 | 67.52 | 67.90 | 67.19 | 67.57 | 67.46 | 66.92 | 66.87 | 68.82 | 67.85 |
| ARC-Easy | acc_norm | 56.10 | 52.78 | 51.18 | 52.57 | 53.20 | 52.90 | 51.64 | 52.15 | 55.09 | 54.92 | 54.12 |
| ARC-Challenge | acc_norm | 29.78 | 27.99 | 27.39 | 27.99 | 27.99 | 29.18 | 27.90 | 29.61 | 29.18 | 29.10 | 28.58 |
| WinoGrande | acc | 51.38 | 51.07 | 51.70 | 52.72 | 52.57 | 51.78 | 50.67 | 53.75 | 52.25 | 52.96 | 54.30 |
| LAMBADA (openai) | acc | 34.80 | 32.85 | 33.03 | 35.30 | 34.54 | 34.02 | 32.08 | 33.96 | 32.21 | 33.01 | 34.91 |
| Average | 47.18 | 45.40 | 45.25 | 46.19 | 45.96 | 46.01 | 45.07 | 46.18 | 45.98 | 46.65 | 46.92 |
All Phase 2 English evals are listed (every 2,000 steps from step 5,000, plus the final step 22,888). Raw results: the GitHub repo's benchmark/phase2/english6_phase2_step*.json.
Honest read:
- Code and tool calling grew through the plateau and again in the anneal. HumanEval reached 14.6% and MBPP 18.2% at the final checkpoint (Phase 1: 0%). A contamination check shows problems the model passed are not more overlapping with the training data than ones it failed.
- English recovered in the anneal to 46.92, within 0.3 of Phase 1. WinoGrande and LAMBADA are now above Phase 1.
- Entity binding transferred to new words, not to new structures. Probe v4 jumped to 82/112 once a more varied contrastive corpus entered in the anneal (77 at the final step). The different-structure probe v3 stayed at 6/70.
- Factual recall is still weak: TriviaQA 11.6%, NQ 3.9%. Phase 2.5 targets this with knowledge-dense data.
- Not solved yet: parallel function calls (1%) and closing reasoning blocks.
Full per-checkpoint results are in the GitHub repo under benchmark/phase2/.
WinoGrande twin pairs at three levels (Phase 2 final, step 22,888)
BubblSpace MoE-0.9B-A0.2B is ahead of OLMo-2 1B and Pythia on WinoGrande twin pairs at the same token count, with a fraction of their active parameters, and matches OLMo-2 1B at 42B tokens, about twice the data.
WinoGrande sentences come in twin pairs: change one word and the correct answer flips. On top of the usual single-row score, we score:
- L2: both twins ranked correctly, Elazar et al. 2021's group scoring. Chance is 25%, and a model with a fixed habit scores below it.
- L3: the model writes the correct answer itself in both twins (5-shot, greedy).
The harness is the same as our 85-checkpoint cross-model study, with 284 twin pairs.
| Model | Tokens | Active params | L2: both twins ranked right | L3: both twins written right |
|---|---|---|---|---|
| BubblSpace MoE-0.9B-A0.2B (Phase 2 final) | 22B | 211M | 18.3% | 1.8% |
| OLMo-2-0425-1B (stage-1 checkpoint) | 21B | β1.5B | 17% | 1% |
| Pythia-1.4B / 1B / 410M | 21B | 1.4B / 1B / 410M | 15% / 14% / 14% | 1% / 1% / 1% |
| OLMo-2-0425-1B (stage-1 checkpoint) | 42B | β1.5B | 19% | 1% |
- At equal tokens (β21β22B), Phase 2 final is slightly ahead of OLMo-2 1B and Pythia 410Mβ1.4B, with a fraction of their active parameters.
- It matches OLMo-2 1B at 42B tokens, about twice the data.
Caveats:
- The gaps are 1β4 points on 284 pairs (Β±β2.3 points), so the lead over OLMo-2 1B is within noise.
- Phase 2 included synthetic contrastive entity-binding data, which the public models didn't have.
- Every model here is still below the 25% chance level, mostly writing the same name for both twins. That's a habit, not yet binding.
Public-model results: benchmark/binding_levels/report.md.
Phase 2.5 results
Phase 2.5a added knowledge (full Wikipedia, fact Q&A, SYNTH), relations and fresh code (15.6B tokens, learning-rate decay from step 24,000 with order-alternated contrastive data). Phase 2.5b extended the context to 16,384 tokens (1.5B tokens, RoPE base 1e6). The final base weights are on branch phase25b-step2861-tokens39B.
| Phase 2 final (22B tokens) | Phase 2.5a final (37.6B tokens) | |
|---|---|---|
| English 6-task average | 46.92 | 47.88 |
| ARC-Easy / ARC-Challenge | 54.1 / 28.6 | 57.4 / 31.1 |
| LAMBADA | 34.9 | 35.9 |
| TriviaQA / NQ-open | 11.6% / 3.9% | 15.8% / 4.5% |
| HumanEval / MBPP (pass@1, sandboxed) | 14.6% / 18.2% | 15.2% / 20.6% |
| BFCL simple / multiple / parallel | 25 / 17 / 1 | 16 / 26 / 0 |
| Bits per byte, English / code | 0.913 / 0.696 | 0.897 / 0.690 |
| Held-out binding structures incl. passives (probe v5) | 10/120 | 54/120 |
Long context (Phase 2.5b):
| Checkpoint | Passkey 4k | Passkey 8k | Passkey 16k | 2-hop 4k | 2-hop 16k | Loss at 1β2k / 8β16k tokens |
|---|---|---|---|---|---|---|
| 2.5b step 1,000 | 62% | 78% | 35% | 21% | 8% | 2.52 / 2.27 |
| 2.5b step 2,000 | 72% | 75% | 45% | 21% | 17% | 2.50 / 2.25 |
| 2.5b final (2,861) | 70% | 72% | 48% | 29% | 17% | 2.49 / 2.24 |
| SFT run 02b (28 Nov) | 73% | 80% | 40% | 29% | 0% | 2.52 / 2.27 |
| RL v1 step 500 (28 Nov) | 73% | 83% | 50% | 13% | 8% | 2.53 / 2.28 |
Passkey: 40 trials per length; 2-hop fact retrieval from the text: 24 per length (chance 25%). Loss keeps falling deeper into a document, so the model uses the long context. Retrieval works well up to 8k and about half the time at 16k; SFT and RL kept it (same raw-text test). In the chat format (document in a user message) passkey falls to 55% at 4k and 33% at 16k for RL v1.
Relational and calculation prompts vs OLMo-2 1B (written answers, raw greedy): at matched tokens, BubblSpace answers 6/18 relational prompts (OLMo-2 1B: 3/18 at 21B, 4/18 at 42B tokens) and 5/16 calculation prompts at 32.5B tokens (OLMo-2 1B: 1/16 at 42B, 2/16 at 168B). Details: doc/handtest-01-relational-vs-olmo.md.
Phase 3 (SFT) results
Phase 3 fine-tuned the Phase 2.5b base model into a chat model: 1,500 steps, β0.8B tokens in 16k-token blocks, loss on assistant tokens only, learning rate 6e-5 decaying to 0 (3 h on one H100). Data: TΓΌlu 3 (OLMo-2 mix) for chat, ToolMind, Glaive and Hermes for function calling, Nemotron terminal traces, SYNTHETIC-1 verified code and maths, GSM8K train, our own fact, arithmetic, binding and identity sets, and 6% pretraining replay. Every set was decontaminated against the evals.
Hand test, 23 conversations (greedy, no repetition penalty; full transcript):
| Area | Result |
|---|---|
| Facts, both directions | β "What is the capital of India?" β New Delhi; "New Delhi is the capital of which country?" β India |
| Instructions | β
"three fruits, one per line" β a clean list; "one word only" β blue |
| Maths with steps | β 47 + 38 = 85; 7 pens Γ 12 = 84; 3 Γ 8 β 5 = 19 |
| Code | β
correct string reversal, PyTorch nn.Module, FizzBuzz |
| Tool calls | β
picks convert_currency over get_weather; two parallel calls for two cities; turns a tool result into an answer |
| Who did what | β taller-than chain; β "Ravi gave Anita a red capβ¦ who has it?"; β "written by Mayaβ¦ who wrote it?" |
| No tool needed | β "Hi! How are you?" with tools available β calls get_weather |
What changed: the base model's quiz-format and hedging habits are gone; it answers directly and stops cleanly at the end of its turn. Tool calls come after a <think> block (from the ToolMind data), which makes them slow. Validation loss on plain pretraining text rose only β1%, so SFT caused little forgetting.
Still weak: binding in "gave" and passive sentences (SFT changed the answer format, not this ability), and knowing when not to call a tool. Run 01 also over-refused harmless commands (9 of 45 in our check); run 02b rebalanced the refusal data (1 of 45, issue-02) and is the model RL started from. Chat benchmarks of both SFT runs are in the Phase 4 table.
Try it yourself
This repo is self-contained β model code, weights, tokenizer, and a generation script are all included, so you don't need the training repo to run it.
Or run it directly in Colab, no setup required: https://github.com/thefirehacker/FirstBreakAI-Code/blob/main/notebooks/bubblspace_moe0_9b_a0_2b.ipynb
git lfs install
git clone https://huggingface.co/TheFireHacker/bubblspace-moe0.9b-a0.2b
cd bubblspace-moe0.9b-a0.2b
pip install -r requirements.txt
python generate.py --chat --prompt "What is the capital of India?" # chat
python generate.py --chat --tools tools.json --prompt "Weather in Paris?" # tool calling; tools.json = list of tool definitions
python generate.py --prompt "The capital of France is" # plain text continuation
The tokenizer includes the chat template, so tokenizer.apply_chat_template(messages, add_generation_prompt=True) gives the exact training format: <|im_start|>{role}\n{text}\n<|im_end|> per turn, tools inside <tools>β¦</tools> in the system turn, calls as <tool_call>{β¦}</tool_call>, tool results in a user turn inside <tool_response>β¦</tool_response>.
Needs a CUDA GPU for reasonable speed (falls back to CPU automatically, but will
be slow). moe.backend auto-resolves to torch._grouped_mm if available on
your GPU/torch build, otherwise a portable gather-loop fallback β both produce
identical outputs.