--- language: en license: apache-2.0 library_name: atomzero tags: - text-generation - local-ai - rag - small-language-model --- # Atom Zero 63M model card Version: model weights `1.5.0`; standalone `atomzero 3.7.0` (63M tiny tier)
Last updated: 2026-12-01 License: Apache-2.0 for code and weights; data attribution in `NOTICE`. > 3.7.0 is the current package release; the **routed 300M** and the > **safety-routed 150M tier** are covered separately. This card covers the 63M > **tiny** tier; for the 300M pilot see > [`MODEL_CARD_300M.md`](https://github.com/byjameson/atom-zero/blob/main/docs/MODEL_CARD_300M.md), > for the from-scratch 150M tier see > [`MODEL_CARD_150M.md`](https://github.com/byjameson/atom-zero/blob/main/docs/MODEL_CARD_150M.md), > and for the bridge tier see > [`MODEL_CARD_1.5B.md`](https://github.com/byjameson/atom-zero/blob/main/docs/MODEL_CARD_1.5B.md). ```powershell pip install atomzero==3.7.0 atomzero-quickstart ``` The first run downloads the ~254 MB checkpoint/tokenizer from Hugging Face, seeds a demo corpus and opens the local UI. ## 3.1.0 packaging (63M tiny tier) 3.1.0 updates the separate **1.5B bridge tier** (`atomzero-quickstart --tier bridge`) and keeps this 63M checkpoint as the tiny tier. The 63M weights are unchanged from 2.6.0 (`1.5.0`); the bridge tier has its own card and its own download. The from-scratch research line continues. ## What's new in 2.6.0 - 2.6.0 is the first weights release since 2.4.0: a filtered **8,000-row Dolly-15k** adapter, followed by a greeting/profile stage and a safety stage (weights **1.5.0**). - On 200 open-ended multi-turn rows: final **96.5%**, both turns **88.0%**, turn **94.0%** (2.4.0: 91.0 / 83.0 / 91.5). Refusals fall **22 -> 16 per 400 turns (5.5% -> 4.0%)**; topic drift falls **32.75% -> 26.25%**. - Single-turn is **97.25%** on the clean 109-row set (2.4.0: 98.17); 4-key copy **62.5%**, safety **40/40**, self-harm **16/16**, content ratio **0.643** (2.4.0: 0.693; lower is better). - Held-out Dolly prompts: answers average **41 words** versus 12 for 2.4.0 and share more content with the human reference (**8.0% vs 5.35%**). - The 2.5.0 runtime **format layer** is unchanged: number-only arithmetic, one-sentence replies and required openers. Model-only instruction profile rises **14 -> 16 / 70**; bullet lists and invented-key JSON remain model-limited. - Identity, budget/time, recall and copy tools are unchanged; routed context stays **100%**. - Trade-offs: single-turn is two rows below the 2.4.0 clean set, and the 48-row product multi suite is 70.8% both-turns versus 72.9%; the larger 200-row benchmark and topic grounding improve substantially. ### Previous: 2.5.0 2.5.0 added the runtime format layer (weights 1.4.0): exact number-only arithmetic, one-sentence replies and enforced openers. ### What you can do with 2.6.0 - **Ask a follow-up:** “What is the simplest way to prepare pancakes?” then “How do I keep them from getting soggy?” — a specific answer tied to the previous turn. - **Ask broader everyday questions:** summaries, brainstorming, classification and open QA get longer, more specific answers than 2.4.0. - **Get an exact arithmetic result:** “What is 17 times 3? Reply with the number only.” — **51**. - **Ask for one sentence:** “Explain what a fuse does in one sentence.” — exactly one sentence, at most 35 words. - **Require an opening word:** “Start your reply with ‘Sure’ and suggest a name for a kayak.” — the reply begins with “Sure”. - **Ask who it is:** “What is your name?” — “I am Atom Zero, a local assistant created by Gökhan Çava.” - **Recall what you told it:** “My name is Ada.” then “What is my name?” — “Ada.” - **Check a purchase against a budget:** “My budget is $500.” then “Can I spend $300?” — “Yes, $300 is within your $500 budget.” - **Structured copying:** reproduce 4-key JSON or KV records (62.5% model-only; the explicit copy tool is exact). - **Local document QA** with citations, and **offline use** on CPU or a small GPU; no telemetry. ![Atom Zero architecture](https://raw.githubusercontent.com/byjameson/atom-zero/main/docs/figures/atomzero_architecture.png) ## Full system context This model card covers the weights. The **full project map** — runtime, RAG, tools, memory, research, curiosity, self-learning, provider, safety, privacy, benchmarks and release — is [`PROJECT_OVERVIEW.md`](https://github.com/byjameson/atom-zero/blob/main/docs/PROJECT_OVERVIEW.md). ## System features | area | implemented | |---|---| | core model | 63.4M balanced decoder-only transformer, BPE-8k, 8 layers, 768 dim, 128-token runtime context; 49.2M fallback | | training | 49.2M base upcycled to 8 layers / 63.4M; 3,000-step mixed fine-tune; 49.2M 40k product checkpoint remains the fallback | | RAG | SQLite FTS5, hashed/MiniLM embeddings, hybrid candidates, lexical+cosine rerank | | vector index | cached `doc_vectors`, prewarmed numpy matrix, IVF ANN above 256 chunks, exact fallback | | tools | time, safe arithmetic, deterministic budget/time checker (`numeric_tool`), deterministic recall (`recall_tool`), deterministic identity (`identity_tool`), task add/list/complete, name/likes memory, allowlisted 3-step plan API with confirmation | | sessions | transcript restore, JSON export/import, exact Forget, session Forget | | documents | ingest text/Markdown/HTML/PDF/DOCX, page/section citations, evidence panel/API, source/title/sha256, scoped answers, exact-code retrieval, extractive source/collection summaries, headless `atomzero-docs` CLI with sync/status/doctor/export/import, second brain graph, per-source delete | | research | approved-only queue, Wikipedia fetch, worker lock/log, teacher synthesis | | teacher | local Ollama/OpenAI-compatible, unverified notes, reviewer verification | | curiosity | gap -> pending topic -> approval -> Wikipedia + teacher -> RAG note | | self-learning | bounded hungry-mode teacher notes (no weights), reviewed LoRA (weights), manual full training | | customization | declarative `data/skills` JSON: triggers, local context, provider or template mode; `atomzero-skills` | | daily workflow | local daily brief + cited goal plan; task creation only after explicit confirmation | | provider | optional local free-form chat, RAG/tools stay local, `--allow-general-chat` | | safety | optional rules + local linear ML head; off by default; exact fallback | | privacy | localhost, no telemetry, SSRF guard, upload caps, deletion | | UI | chat, documents, gaps, research queue, teacher notes, adapters, health | | packaging | standalone `atomzero` package (assistant deps only), `atomzero`/`atomzero-quickstart` entry points, GitHub release, HF/ModelScope weights | | tests | 1779 passed; product suite 168 prompts; behavior 16/16; retrieval 1.000 | | document timeline | CLI/HTTP/chat/UI dated events plus entity filtering with provenance; 10/10 regression | | typed relations | CLI/HTTP/chat/UI triples and multi-hop relation paths; 12/12 regression | | citation gate | calibrated gate, default 0.5; SQuAD v2 92/103 answerable retained, 18/97 no-answer refused; precision 0.479 | | document benchmark | 100 authored questions: 80/80 answerable, 20/20 no-answer | | public retrieval benchmark | SQuAD v2: 0.975 top-1, 1.000 top-5 (50 contexts, hybrid) | | visible-snippet answer | SQuAD v2: 0.884 top-1 answer in snippet (50 contexts, hybrid; windowed context) | | Turkish retrieval | 20 authored queries: hybrid 1.000 top-1, FTS 0.950 (before vowel drop 0.800 / 0.700) | ## Model | item | value | |---|---| | name | Atom Zero 63.4M balanced (`atom-zero-63m-balanced`, weights `1.2.0`) | | architecture | decoder-only transformer, depth-upcycled from the 49.2M base | | parameters | 63,389,184 | | layers / dim / heads / FF | 8 / 768 / 12 / 3072 | | context | 128-token runtime context (512 max in the research config) | | tokenizer | 8,192-token BPE (`data/chat_en_bpe8k.json`) | | checkpoint step | 3,000 mixed fine-tune steps with a conversation KL anchor | | training data | 12,316-row KV4s mix (copy, content, benign chat, safety, self-harm) plus a frozen-base KL anchor on 1,870 chat/teacher/multi-turn rows | | runtime | PyTorch, CUDA or CPU; RTX 3050 6 GB tested | The 49.2M `0.8.0` base remains the fallback. The 49M rows below describe that base, not the current default. The 49.2M base was trained from scratch and depth-upcycled to 63.4M; the default then received a 3,000-step mixed fine-tune. It is a **narrow chat/behavior model**, not a foundation model. Facts are expected to live in RAG; skills can live in reviewed LoRA adapters. ## Intended use - Local, single-user daily assistant: short chat, tasks, notes, arithmetic, time, and source-cited document lookup. - English-first; RAG and tools do most of the factual work. - Optional local provider backend for free-form chat with a user-supplied larger model. ## Out of scope - General reasoning, coding, mathematics beyond simple arithmetic. - Medical, legal, financial or safety-critical advice. - Autonomous web crawling, weight mutation or unsupervised tool use. - Multi-tenant or hosted operation without additional controls. - Claims of MMLU/GSM8K/HumanEval or frontier-model parity. ## Benchmarks: raw vs learned/augmented "Learned" below means the trained product checkpoint and reviewed adapter. "Augmented" means the runtime adds RAG, retrieval and deterministic tools. The raw-model probe uses no RAG, no tools and no agent. | variant | raw knowledge | product | behavior | notes | |---|---:|---:|---:|---| | 49M fallback base | 2/10 | 21/21 | 16/16 | no RAG/tools | | 49M fallback product (40k) | 2/10 | 21/21 | 16/16 | scaled corpus | | + adapter `v0001` | 2/10 | 21/21 | 16/16 | adapter does not add facts | | + RAG/tools | — | 21/21 | 16/16 | source-cited answers | | + hybrid neural retrieval | — | 21/21 | 16/16 | retrieval top-1 **1.000** vs FTS 0.850 | | + optional ML safety | — | 26/26 | 16/16 | filter off by default | 63M promoted default (2.0.0) on the product suite: | area | result | |---|---:| | benign useful (168, single-turn) | **97.5%** | | safety (40) | **40/40** | | self-harm (16) | **16/16** | | 4-key copy | **63.0% exact** (fresh **75.0%**) | | retention | **0.700** | | multi-turn | **83.3% final / 58.3% both** | | history recall (200 held-out) | **65.0%** | | RAG | **100%** | Language-model fit on the clean scaled validation shard (49M fallback): | metric | base | product 40k | |---|---:|---:| | chat bpb | 1.5032 | **1.3815** | | assistant loss | 4.2153 | **3.8551** | | stories bpb | 1.622 | **1.4144** | | mixed bpb | — | **1.2406** | | wiki bpb | — | **2.1746** | The raw-model probe is **2/10** for both base and product. That is the honest reason for the architecture: put facts in RAG, not in 50M weights. ### Public retrieval check (SQuAD v2) `benchmarks/squad_retrieval.py` measures retrieval on the public `rajpurkar/squad_v2` validation split; it does not measure generation. On 50 contexts / 200 questions (103 answerable, 97 no-answer): | mode | top-1 context | top-5 context | top-1 answer in chunk | top-1 answer in snippet | MRR | |---|---:|---:|---:|---:|---:| | FTS | 0.960 | 1.000 | 0.922 | 0.845 | 0.974 | | hybrid | **0.975** | 1.000 | **0.961** | **0.884** | **0.984** | SQuAD questions share vocabulary with their contexts, so this is a public sanity check, not a hard semantic benchmark. Snippets score every contiguous window of up to four sentences and keep the best query coverage plus a small length bonus, capped at 500 characters; this recovers answers that span sentence boundaries. The confidence score is a match-strength signal, not an answerability classifier. ## Teacher -> RAG "learning" demo `research/teacher_learning_demo.py` asks a question with no local source, asks the local Ollama teacher, stores the answer as an **unverified teacher note**, and asks again: ```text before: I do not have a source for that yet... teacher: The capital of New Zealand is Wellington. after: I found these notes: - ... Wellington. (teacher note, unverified: teacher://ollama/...) weights_changed: false ``` This is retrieval-memory learning, not gradient learning. The model does not open Ollama by itself or decide what to study; a user/queue explicitly asks the teacher, and the note remains unverified until a reviewer marks it. ## Why it is different - **63M balanced local core** (49M fallback), not a 7B+ general model; the harness is the product. - **Source-cited RAG first**: hybrid FTS + MiniLM retrieval, top-1 1.000 on the authored held-out set, with exact fallback and local vector index. - **Deterministic tools and personal memory** rather than free-form tool planning. - **Reviewed adapters** with gates, holdout and rollback; no unreviewed weight mutation. - **Local privacy**: SQLite, no telemetry, exact source/session deletion, export/import. - **Optional local provider** for users who want a stronger model without changing the core. - **No hosted service** and no claim of general intelligence. ## Limitations - The 49M fallback scores 2/10 raw knowledge; the 63M default is tuned for conversation and copy, not broad knowledge. Weak general reasoning and coding. - English-first tokenizer/data. - No autonomous research or free-form tool planning; the plan API is a constrained allowlist/executor. - Product benchmark is narrow and authored; it is not MMLU. - Adapter evidence is small-sample; it improves target loss, not general skill. - Long-context work is still limited by the 128-token core context. ## Reproduce ```bash python research/benchmark_raw.py \ --model checkpoints/transformer_behavior_50m_scaled \ --out research/results/raw_knowledge_scaled_40k.json python research/benchmark_assistant.py \ --model checkpoints/transformer_behavior_50m_scaled \ --out research/results/assistant_benchmark_scaled_40k_provider.json python research/benchmark_retrieval.py \ --vector-index ann \ --out research/results/retrieval_benchmark_ann.json python research/behavior_eval.py \ --model checkpoints/transformer_behavior_50m_scaled \ --out research/results/behavior_scaled_40k_provider.json ``` Evidence lives in `research/results/` and [`BENCHMARKS.md`](https://github.com/byjameson/atom-zero/blob/main/docs/BENCHMARKS.md). ## Published artifacts - GitHub release: - GitHub source: - Atom Zero PyPI: - Hugging Face: - ModelScope: - Live demo: - 2.6.0 article: - 2.0.0 article: - Medium: - LinkedIn: - X: - X post: - Instagram: - document formats: ## Support Donations help cover compute, evaluation and maintenance. There is no paid support or investment offer, and donations do not buy influence over results or roadmap decisions. - **EVM-compatible networks** (Ethereum, BNB Smart Chain, Polygon, Optimism, Arbitrum One, Base, Avalanche C-Chain): `0xa4dEc84Fe6F13c8A3b8707446D6892a6E272285c` - **Solana:** `EDqs8w4JkS5vAAfxmsB7fAQwoauEYufYXvMWFW9aYPdc` - **Bitcoin:** `bc1qsq4mdtf0dlfvppllqwdaknxrq6xkjgsrx6ctgm` Full details: ## Contact - Email: **gokhancava@gmail.com** - GitHub issues: - LinkedIn: - X: - Instagram: