soma-1b against a matched transformer
james blight · 2026-11-27 · version 1 · result · verdict: alive
current evidence note
editorial review 27 november 2026, for this specific notebook version. the original title and experiment text below are historical.
evaluation protocol: frozen_held_out, online_held_out. one seed each, one dataset, one size; equal tokens, not equal compute; the transformer sees one 1,024-token window at a time; longer-context or cached transformers are untested; from an empty store with weights frozen, soma-1b scored worse than the transformer.
cost/accounting scope: equal training tokens, not equal compute; the transformer trained about five times faster.
structured evidence and available material · developments
this entry is part of a later one: soma-1b. it is kept here as it was.
original summary
a 1.04b transformer, built from soma-1b's own learner blocks without the store, read the same first billion fineweb-edu tokens in the same eight lanes. on 100 mb of text neither had seen, the transformer scored 0.950 bits per byte frozen and 0.946 learning. soma-1b scored 0.919 frozen and 0.916 learning, starting from the memory it carries from training. started with an empty store, soma scored 0.963 frozen (behind the transformer) and 0.937 learning (ahead). the lead comes from the memory, and from learning while it reads. one seed each; equal tokens, not equal compute: the transformer trained about five times faster.
published: 2026-11-27 08:47:44.651528+00:00
evidence: one seed each · same 1,011,515,392 training tokens (text sha256 aadfb60d…) in the same 8 lanes of 1,024 · held-out: 100,009,572 bytes of fineweb-edu past the first 7.6 gb of the same stream, unseen by both (sha256 74b4586c…), 26.6m tokens scored · transformer rate 1e-4, best of four probed · soma-1b is the published pretrained checkpoint · h100s on runpod
the question
soma-1b's first post said it plainly: no matched transformer, and no held-out test. its numbers were scores of the training stream. this closes both gaps for the first billion tokens.
what we did
the transformer. soma-1b's own learner blocks (2048 wide, 20 deep, the same heads and rotary positions), with no store, no cache and no copy ring: 1,040,732,160 parameters, against soma-1b's 1,057,581,284. it read the same 1,011,515,392 tokens, once, in the same eight lanes of 1,024 tokens. like any standard transformer, each 1,024-token window starts fresh. adamw, warmup, then a fixed rate. we tried four rates on the first 50 million tokens and kept the best:
| rate | bits per byte, first 50m tokens |
|---|---|
| 5e-5 | 1.580 |
| 1e-4 | 1.548 |
| 2e-4 | 1.674 |
| 4e-4 | 1.987 |
soma-1b. the published pretrained checkpoint, as it was after its first billion and before anyone talked to it.
the test. 100 mb of fineweb-edu, taken from the same shuffled stream after the first 7.6 gb, so neither model had seen it. both read it in the same eight lanes of 1,024 tokens, through soma's real chat bridge for soma, and each token was scored before anything learned from it. two regimes each:
- frozen: weights held. for soma, the store still counts what it reads. that is its context, the way a transformer's window is its own.
- learning: weights update after each window is scored.
soma ran from two starts: memory, the store it built over its billion tokens, carried in the checkpoint; and empty, a fresh store.
results
bits per byte on the 100 mb, lower is better:
| frozen | learning | |
|---|---|---|
| transformer | 0.950 | 0.946 |
| soma-1b, from its memory | 0.919 | 0.916 |
| soma-1b, from an empty store | 0.963 | 0.937 |

what it shows
- with its memory, soma-1b is ahead: by 0.031 frozen and 0.030 learning, about 3%.
- the lead comes from the memory. with an empty store and weights held, the transformer is ahead by 0.013. what soma's weights hold on their own is not better than a transformer's.
- learning matters more to soma. from empty, learning took soma from 0.963 to 0.937. learning took the transformer from 0.950 to 0.946. soma is built to keep learning, and the transformer is built to be frozen. each did best in its own regime, and soma's regime came out ahead.
- training curves. the transformer's whole-run score was 1.053; its last 10 million tokens averaged about 0.945. soma's were 1.022 and about 0.926. soma's curve is flattered early: before training, each lane's store was seeded with counts of the text before it in the file. no scored text leaked, but held-out is the clean comparison.
what it doesn't show
- equal compute. the comparison is equal tokens. the transformer read about 65,000 tokens a second; soma-1b's pretraining averaged about 12,900, on similar h100s. given the same gpu hours, the transformer could have read about five times as much text.
- the strongest transformer. this one sees at most its current 1,024-token window. a transformer with a longer window, a cache across windows or retrieval would be a stronger control.
- variance. one seed each, one dataset, one size.
a correction on the way
the first frozen soma scores came back as 3.29 and 3.44. they were wrong. scoring without learning took a path that skips the store entirely. the fix holds the weights by zeroing their learning rates, and lets the store keep reading. the broken numbers are kept in the run log. on a short check, the corrected frozen scores matched to four decimals whichever regime ran first.
since
after its first billion, soma-1b kept learning through the product: about 420 million tokens of reading and conversation, then a second billion tokens of fineweb-edu, the slice that follows the first: 16.6 gpu hours, about $45. the last stretch of that billion scored about 0.873, against 0.925 at the end of pretraining. that is the stream as it was read, not this held-out test. the same test on today's soma-1b is next.
attached evidence
- progress.log · log · 3083 bytes · sha256
0254b1676e36f39f2c02ed8d17c660ff68705b1fcf1fa54942ac87dddc0cc646 - results.json · data · 1028 bytes · sha256
f7921cf1781b4c8292bb578d529bfd6f1f5ab5c96c70715e13f1239062900c1c - soma_heldout.py · code · 4782 bytes · sha256
f5359a02f392cc0326a69aeb16dfe624c8c3a1fd5037d6c2c16d7adfcd6e0c9c - soma-1b-vs-transformer.png · figure · 151809 bytes · sha256
a36cd62f8e188299fadb5302bf50eb0bac359ae904417a42320da8e32434a169 - tf_baseline.py · code · 6737 bytes · sha256
58ec7851faf94d6803de0fcb958b82514f17a1b98a7ee9be86929de04875e5fa - transformer_log_every8.jsonl · log · 87517 bytes · sha256
457afddc7c7ba4c6f7a36989a0ef45220d4c61ba05d716d5628e4406bf5129c4