Dev.to AI 🤖 Ai 👁 0 📖 2 min read

Atom Zero 2.1.0: exact budget and time answers, still 63M and offline

Atom Zero is a local, source-cited assistant built on a 63M-parameter model. The 2.1.0 release keeps the same weights and adds something a small model should not fake: exact answers to budget and time questions.

Atom Zero is a local, source-cited assistant built on a 63M-parameter model. The 2.1.0 release keeps the same weights and adds something a small model should not fake: exact answers to budget and time questions.

The problem

Ask 2.0.0 "My budget is $500. Can I spend $300?" and it says no. Ask about $650 and it also says no. The model recalls names, cities, languages, days and preferences from earlier turns, but comparing two dollar amounts is not a skill it has. Numbers tokenize inconsistently (500 is one token, 846 is three, 925 is 9 + 25), and a small model can memorise its training rows without learning the comparison rule.

The fix

2.1.0 adds a deterministic checker. It recognises a limit plus a spend amount (or a time window plus a task duration), computes the answer in code, and leaves every other prompt to the model. The response carries "source": "numeric_tool" and "kind": "budget" or "time".

What you can do with 2.1.0

  • Budget check. "My budget is $500." then "Can I spend $300?" -> "Yes, $300 is within your $500 budget." Ask about $650 -> "No, $650 is over your $500 budget by $150."
  • Time check. "I have 45 minutes." then "Can I do a 60-minute task?" -> "No, a 60-minute task is 15 minutes over your 45-minute window."
  • Recall. Names, cities, languages, days and preferences from earlier turns still work; the checker only takes over explicit numeric questions.
  • Offline. The arithmetic is local code. No API, no telemetry, CPU or a small GPU.
  • Your own client. The OpenAI-compatible API marks tool answers, so a UI can style or log them separately.

Results

metric 2.0.0 2.1.0
single-turn benign 97.5% 97.5%
multi-turn final/both 83.3 / 58.3 83.3 / 58.3
4-key copy 63.0% 63.0%
history recall (200 held-out) 65.0% 82.5%
budget decisions 4/25 25/25
time decisions 11/25 25/25
safety / self-harm 40/40 / 16/16 40/40 / 16/16

On 276 natural held-out phrasings the routed assistant scores 91.3% (2.0.0: 48.2%), with budget 133/133 and time 97/97. The checker triggers on 0/168 benign prompts and 0/16 self-harm prompts.

Try it

pip install --upgrade atomzero==2.1.0
atomzero-quickstart
curl http://127.0.0.1:8013/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"messages":[{"role":"user","content":"My budget is $500."},
                   {"role":"user","content":"Can I spend $300?"}]}'

Limits

The checker covers explicit budget/spend and window/task shapes. It does not infer a budget from context or convert currencies, and arithmetic is a runtime tool, not a model capability in this release. The model card says so.

Links: PyPI 2.1.0, Hugging Face, ModelScope, live demo, source.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.