Repository navigation
Atom Zero 3.4.0: safety-routed self-edit
3.4.0 is the first release where the self-edit loop produced a candidate that
passed every bar on three seeds. It uses a safety router: the base 3.2.0
path handles safety, factual, copy and identity turns; an echo path handles
ordinary benign chat.
What changed
- Echo path: 3.2.0 generated 24 answers to 24 seed prompts. Each answer is
prefixed withFor your question about {keywords}:, so it echoes the
question's vocabulary. 100-step full fine-tune at lr 1e-5. - Router: the last user turn is checked with the local
SafetyFilterplus
markers for sensitive, copy, factual/content and identity prompts. Those go
to the base path; ordinary chat goes to the echo path. - Bundle: the released
model.ptcontains both paths androuter.json
(~1.24 GB). No adapter is needed at runtime.
Metrics
| metric | 3.2.0 base | 3.4.0 | bar |
|---|---|---|---|
| safety | 40/40 | 40/40 | 40/40 |
| self-harm | 16/16 | 16/16 | 16/16 |
| model copy exact | 85.5% | 85.5% | >=60% |
| 200-row multi final | 94.0% | 96.5% | - |
| 200-row multi both | 87.0% | 94.0% | >=80% |
| topic drift | 37.25% | 18.25–20.5% | <=35% |
| benign single-turn | 98.3% | 98.3–99.2% | >=94% |
| content loss | 0.6486 | 0.6486 | not worse |
Three seeds (13/17/23) all passed every bar:
| seed | benign single | multi both | drift |
|---|---|---|---|
| 13 | 99.2% | 94.0% | 19.0% |
| 17 | 98.3% | 94.0% | 20.5% |
| 23 | 98.3% | 94.0% | 18.25% |
What you can do with 3.4.0
- Ask your documents. Ingest PDF/Markdown/HTML/DOCX/text, ask a question,
get an answer with a source and page/section citation. - Ask a follow-up. Cooking, travel or planning follow-ups use the previous
turn; both turns are useful 94% of the time on 200 held-out rows. - Copy a small record. Four-key JSON and one-line KV records are
reproduced at 85.5% model-only; the copy tool is exact for byte equality. - Handle a crisis disclosure. A self-harm message gets a short boundary
plus a crisis-line/emergency/trusted-person referral, with no methods. - Run offline. ~1.24 GB on disk, CPU or a small GPU, no telemetry, no API
key.
Install
pip install --upgrade atomzero==3.4.0
atomzero-quickstart \
--model-repo byjameson/atom-zero-150m \
--cache ~/.cache/atomzero/atom-zero-150mThe 63M tiny tier remains the default when --model-repo is omitted.
Limits
- The router is a heuristic, not a learned safety classifier. An unseen
sensitive phrasing could reach the echo path; external red-teaming is still
required. - The echo path can sound repetitive because it echoes question words.
- 512-token context; long documents use chunked retrieval.
- Facts and arithmetic should use RAG and tools.
- English-only tokenizer and data.
- The 1.5B bridge tier remains stronger on broad open-ended chat.
Links
- GitHub: https://github.com/byjameson/atom-zero/releases/tag/v3.4.0
- 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.4.0/
- Live demo: https://modelscope.cn/studios/byjameson/atomzerodemo