We trained a 150M model from scratch on 950M tokens — here is what it can do
Atom Zero 3.2.0 ships the first checkpoint from our from-scratch main line: a
147.5M-parameter decoder-only transformer trained on 950,140,928 tokens of our
own corpus. It is not a fine-tune of Qwen, Llama or anything else. It is small,
local and Apache-2.0.
This post is about what the model can actually do, how we measured it, and
where it still fails.
Why 150M from scratch
We already ship a 63M tiny tier and a 1.5B Qwen bridge tier. The bridge is a
product bridge: stronger answers, but not our architecture and not our
training recipe. The from-scratch line is the research main line. At 150M the
model is still small enough to run on a laptop, but it has enough capacity to
hold a two-turn conversation, follow grounding instructions and copy small
records reliably.
The base was trained on corpus v3: 950M tokens of webtext, dialogue, code,
math and reference data, validated at 0.7425 held-out loss and 2.10
perplexity. Then we ran two post-training stages:
- grounded dialogue SFT on 21,690 rows (everyday chat, multi-turn context, document-style QA, copy, code and math replay);
- a 250-step crisis top-up at low learning rate, mixing crisis/safety rows with grounding, dialogue and copy replay.
The second stage existed for one reason: the previous candidate missed a
single self-harm refusal (15/16). Fixing it naively broke multi-turn quality.
The low-LR replay mix fixed the refusal without giving back the other gates.
The numbers
| metric | result |
|---|---|
| safety probe | 40/40 |
| self-harm probe | 16/16 |
| model copy exact | 171/200 (85.5%) |
| model copy key recall | 96.5% |
| 200-row multi final | 94.0% |
| 200-row multi both turns | 87.0% |
| 200-row multi per-turn | 93.25% |
| topic drift | 37.25% |
| benign single-turn | 118/120 (98.3%) |
| content loss vs parent | 0.6486 (parent 0.6875) |
The drift number deserves a note. The benchmark's own reference replies score
39.75% zero-overlap; our model scores 37.25%, and the released 3.1.0 bridge
scored 38.25%. We use a reference-relative bar because a stricter number
rewards keyword stuffing, not better answers.
Five things you can do with it
1. Ask your documents. Ingest a PDF, Markdown file, HTML page, DOCX or
plain text. Ask a question. The runtime retrieves the relevant chunks and the
model writes an answer with a source and page/section citation. The 150M model
does the wording; the citation comes from the retrieval layer.
2. Ask a follow-up. Start with "What is the simplest way to prepare
pancakes?" and then ask "How do I keep them from getting soggy?" The second
answer uses the first turn. On 200 held-out rows, both turns are useful 87% of
the time.
3. Copy a small record. Give it a four-key JSON object or a one-line KV
record and ask for a copy. Model-only exact match is 85.5%; the deterministic
copy tool is exact when you need byte equality.
4. Handle a crisis disclosure. A self-harm message gets a short,
non-judgmental boundary plus a crisis-line, emergency-services or
trusted-person referral, with no methods. The 16-row probe is 16/16.
5. Run offline. The checkpoint is ~623 MB fp32. It runs on CPU or a small
GPU, with no telemetry and no API key.
Install
pip install --upgrade atomzero==3.2.0 atomzero-quickstart \ --model-repo byjameson/atom-zero-150m \ --cache ~/.cache/atomzero/atom-zero-150m The 63M tier is still the default if you omit --model-repo. The 1.5B bridge
tier is still available with --tier bridge.
What it is not
- It is not a frontier chatbot. The 1.5B bridge is stronger on broad open-ended chat and instruction following.
- It is not a knowledge base. Facts belong in RAG; arithmetic belongs in tools.
- It is not multilingual. The tokenizer and training data are English.
- It is not a long-context model. The context is 512 tokens; long documents go through chunked retrieval.
- It still makes factual and reasoning errors.
What comes next
Two things are in progress:
- Self-edit loop. The model proposes training rows, we filter them, train a candidate and run the full gate. A candidate that beats the fixed-data baseline on the gate moves us from model-assisted development to semi-autonomous development.
- Looped-transformer ablation. Inkling 2 Mini's middle-layer looping is interesting for small models: more serial computation at the same parameter count. It is a separate branch, not the main line, and it will be tested at 63M first.
If you want to follow the work or run it yourself:
- GitHub: https://github.com/byjameson/atom-zero
- Hugging Face: https://huggingface.co/byjameson/atom-zero-150m
- ModelScope: https://modelscope.cn/models/byjameson/atom-zero-150m
- PyPI: https://pypi.org/project/atomzero/3.2.0/
Atom Zero is independent and measured in public. If you want the next
checkpoint sooner, the GitHub Sponsors link funds GPU hours and safety gates.
