|
Download README.md from byjameson/atom-zero-150m: direct link, hf CLI and curl.
- Browser
- Download file 6.62 kB
-
https://huggingface.co/byjameson/atom-zero-150m/resolve/main/README.md
- Command line
-
hf download hf://byjameson/atom-zero-150m/README.md
-
curl -L -o README.md https://huggingface.co/byjameson/atom-zero-150m/resolve/main/README.md
6.62 kB
| language: en | |
| license: apache-2.0 | |
| library_name: atomzero | |
| tags: | |
| - text-generation | |
| - local-ai | |
| - rag | |
| - safety-routing | |
| # Atom Zero 150M model card | |
| Version: model weights `3.5.0`; standalone `atomzero 3.7.0` (150M routed tier)<br> | |
| Last updated: 2026-12-01<br> | |
| License: Apache-2.0 for code and weights; data attribution in `NOTICE`. | |
| > This card covers the **150M routed** tier; package 3.7.0 adds the separate | |
| > **300M pilot** tier. The 300M card is in | |
| > [`MODEL_CARD_300M.md`](https://github.com/byjameson/atom-zero/blob/main/docs/MODEL_CARD_300M.md); | |
| > the 63M tiny tier is in | |
| > [`MODEL_CARD.md`](https://github.com/byjameson/atom-zero/blob/main/docs/MODEL_CARD.md); | |
| > the 1.5B Qwen bridge tier is in | |
| > [`MODEL_CARD_1.5B.md`](https://github.com/byjameson/atom-zero/blob/main/docs/MODEL_CARD_1.5B.md). | |
| ```bash | |
| pip install --upgrade atomzero==3.7.0 | |
| atomzero-quickstart \ | |
| --model-repo byjameson/atom-zero-150m \ | |
| --cache ~/.cache/atomzero/atom-zero-150m | |
| ``` | |
| The checkpoint is ~1.24 GB because it bundles two paths: the safety | |
| base and the benign echo model. The 63M tier remains the default when | |
| `--model-repo` is omitted. | |
| ## What this model is | |
| A 147.5M-parameter decoder-only transformer trained from scratch on | |
| 950,140,928 tokens of Atom Zero corpus v3, post-trained for grounded dialogue | |
| and crisis safety, then released as a **safety-routed** model: | |
| - **base path** (`3.2.0` checkpoint): safety, self-harm, factual/content, copy | |
| and identity turns. | |
| - **echo path** (the `3.5.0` candidate): ordinary benign chat, trained on | |
| model-generated rows whose answers start with the question's key words. | |
| A small router in `atomzero` reads the last user turn and selects the path. | |
| 3.5.0 also fixes the packaged server: `atomzero.chat_server` now loads both | |
| `base_state` and `state` from the bundle and routes each turn, instead of | |
| loading only the echo weights. Third-person distress and support prompts are | |
| routed to the base path. Safety and content are preserved because those turns | |
| never reach the echo weights; multi-turn drift improves because benign chat | |
| does. | |
| | item | value | | |
| |---|---:| | |
| | parameters per path | 147,473,408 | | |
| | total bundled parameters | 294,946,816 | | |
| | layers | 11 | | |
| | width | 1,024 | | |
| | heads | 16 | | |
| | feed-forward | 4,096 | | |
| | vocabulary | 8,192 BPE | | |
| | context | 512 tokens | | |
| | pretrain tokens | 950,140,928 | | |
| ## Metrics | |
| Measured on held-out or authored probe sets. The 3.5 column must come from | |
| the gated 3.5 checkpoint, not from a projection or a 3.4 run. | |
| | metric | 3.4.0 parent | **3.5.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% | | |
| | model copy key recall | 96.5% | **96.5%** | - | | |
| | multi-turn final | 96.5% | **97.0%** | - | | |
| | multi-turn both turns | 94.0% | **94.0%** | >=94% | | |
| | multi-turn per-turn | 96.75% | **96.8%** | - | | |
| | topic drift | 19.0% | **16.0%** | <=19% | | |
| | benign single-turn | 99.2% | **97.5%** | >=94% | | |
| | content loss | 0.6486 | **0.6486** | not worse | | |
| | product suite | product_ok | **product_ok** | product_ok | | |
| The 3.4.0 parent column is the released seed-13 checkpoint. The 3.4 model card | |
| also reports 18.25–20.5% drift and 98.3–99.2% benign single-turn across seeds | |
| 13/17/23; 3.5 is compared with the released checkpoint, not the best seed. | |
| 3.5 is publishable only if it clears all of these together: multi-turn both | |
| `>=94%`, topic drift `<=19%`, safety `40/40`, self-harm `16/16`, and the product | |
| suite. A candidate that does not clear every line is not a 3.5 release. | |
| ## Repeatability | |
| | seed | multi both | drift | final | self-harm | | |
| |---|---:|---:|---:|---:| | |
| | 13 | 93.0% | 15.5% | 96.0% | 16/16 | | |
| | 17 | 93.5% | 14.75% | 96.0% | 16/16 | | |
| | 23 | 94.0% | 16.0% | 97.0% | 16/16* | | |
| \* The seed-23 probe was 15/16 before the support-routing fix; the released | |
| router routes that prompt to the base path and scores 16/16. | |
| ## What you can do with 3.5 | |
| 1. **Ask your documents.** Ingest PDF/Markdown/HTML/DOCX/text, ask a question, | |
| get an answer with a source and page/section citation. | |
| 2. **Ask a follow-up.** Cooking, travel or planning follow-ups use the previous | |
| turn; the 200-row multi gate scores both turns, not only the last one. | |
| 3. **Copy a small record.** Four-key JSON and one-line KV records are | |
| reproduced at 85.5% model-only; the deterministic copy tool is exact for | |
| byte equality. | |
| 4. **Handle a crisis disclosure.** A self-harm message gets a short boundary | |
| plus a crisis-line/emergency/trusted-person referral, with no methods. | |
| 5. **Run offline.** ~1.24 GB on disk, CPU or a small GPU, no telemetry, | |
| no API key. | |
| ## Router behavior and limits | |
| - The router is a **heuristic** over the last user turn (`research/routed_model.py`): | |
| local `SafetyFilter` plus markers for sensitive, copy, factual/content and | |
| identity prompts. It is not a learned safety classifier. | |
| - A sensitive prompt phrased in an unseen way could reach the echo path. Treat | |
| the router as a product guard, not a proof of safety; external red-teaming is | |
| still required. | |
| - The echo path can repeat the question's key words. That is intentional for | |
| drift, but it can sound repetitive. | |
| - 512-token context; long documents use chunked retrieval. | |
| - Facts and arithmetic should use RAG and tools. | |
| - English-only tokenizer and training data. | |
| - The 1.5B bridge tier remains stronger on broad open-ended chat. | |
| - 3.5 is not autonomous. The fixed evaluation gate and a human decide the | |
| release; no model output publishes itself. | |
| ## Training data and provenance | |
| The base path is the 3.2.0 safety/content checkpoint. The 3.5 echo path was | |
| trained on 34 rows generated by the 3.2.0 base from fixed seed | |
| prompts, filtered for length, refusal and duplicates, then a 100-step | |
| full fine-tune at lr 1e-5. No user conversations and no private data | |
| were used. | |
| Corpus v3 combines public web text, public dialogue datasets, permissively | |
| licensed code and math, and authored Atom Zero product data. The base | |
| checkpoint's corpus and provenance are unchanged; confirm that statement against | |
| the 3.5 data manifest before publishing. | |
| ## Links | |
| - GitHub: <https://github.com/byjameson/atom-zero/releases/tag/v3.5.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.5.0/> | |
| - Live demo: <https://modelscope.cn/studios/byjameson/atomzerodemo> | |