<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Atom Zero</title>
    <description>The latest articles on DEV Community by Atom Zero (@mycute_97b39c4e34027570f9).</description>
    <link>https://dev.to/mycute_97b39c4e34027570f9</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4200987%2Fbdbd5c97-a18c-452b-a40e-fb7d74240c12.png</url>
      <title>DEV Community: Atom Zero</title>
      <link>https://dev.to/mycute_97b39c4e34027570f9</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mycute_97b39c4e34027570f9"/>
    <language>en</language>
    <item>
      <title>streamft 1.2.1: why your SFT rows are silently dropped</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Sat, 05 Dec 2026 00:29:36 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/streamft-121-why-your-sft-rows-are-silently-dropped-57j1</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/streamft-121-why-your-sft-rows-are-silently-dropped-57j1</guid>
      <description>&lt;p&gt;When you fine-tune a chat model on a small GPU, one of the quietest failure modes is a row that never trains.&lt;/p&gt;

&lt;p&gt;streamft builds the loss mask from the chat template: the prompt tokens are masked with -100 and only the assistant continuation is trained. If the prompt is not an exact prefix of the templated row, the mask would cover nothing, so the row is dropped instead of training on the prompt itself.&lt;/p&gt;

&lt;p&gt;Until 1.2.1 the message blamed every drop on a template mismatch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[sft] 48/130 rows dropped: the prompt is not an exact prefix of the templated row
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is misleading. On a 130-row multi-turn tool-use dataset at &lt;code&gt;--seq 512&lt;/code&gt;, the measured reason was different: 46 rows needed 768 tokens and 2 needed 1024. All 48 were &lt;strong&gt;truncated&lt;/strong&gt;, not broken templates. Re-running with &lt;code&gt;--seq 1024&lt;/code&gt; kept all 130 rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed in 1.2.1
&lt;/h2&gt;

&lt;p&gt;The trainer now reports one reason per dropped row:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[sft] 48/130 rows dropped (longer_than_seq=48)
[sft] 48 rows are longer than --seq 512; rerun with a larger --seq to train on them
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The reasons are &lt;code&gt;longer_than_seq&lt;/code&gt;, &lt;code&gt;prompt_mismatch&lt;/code&gt;, &lt;code&gt;empty_mask&lt;/code&gt; and &lt;code&gt;invalid_row&lt;/code&gt;. &lt;code&gt;streamft cpu&lt;/code&gt; uses the same report.&lt;/p&gt;

&lt;p&gt;A practical checklist:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;longer_than_seq&lt;/code&gt; - raise &lt;code&gt;--seq&lt;/code&gt; (or shorten the prompt). The rows are valid.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;prompt_mismatch&lt;/code&gt; - the template or the stored prompt changed; keep the same chat template between the base and the adapter.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;empty_mask&lt;/code&gt; - the assistant turn is empty.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;invalid_row&lt;/code&gt; - the row is missing a user/assistant message.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Install:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install -U &lt;span class="nv"&gt;streamft&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;1.2.1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;streamft train --model-dir checkpoints/model-nf4 \
  --sft --dataset data/train.jsonl \
  --steps 500 --seq 1024 --save checkpoints/run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The fix is small: &lt;code&gt;sft_schedule&lt;/code&gt; takes an optional reasons list and &lt;code&gt;_encode_chat&lt;/code&gt; records why it returned None. Existing callers are unchanged, and the tests cover truncation, mismatch, a valid mask and invalid rows.&lt;/p&gt;

&lt;p&gt;Links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/streamft/1.2.1/" rel="noopener noreferrer"&gt;https://pypi.org/project/streamft/1.2.1/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/stream-finetune" rel="noopener noreferrer"&gt;https://github.com/byjameson/stream-finetune&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>python</category>
      <category>machinelearning</category>
      <category>opensource</category>
      <category>llm</category>
    </item>
    <item>
      <title>Atom Zero 4.2.0: a stronger small-model base without losing safety or multi-turn behavior</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Thu, 03 Dec 2026 20:25:34 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-420-a-stronger-small-model-base-without-losing-safety-or-multi-turn-behavior-18kj</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-420-a-stronger-small-model-base-without-losing-safety-or-multi-turn-behavior-18kj</guid>
      <description>&lt;p&gt;Most small-model releases chase a better loss number and quietly break the behavior that already worked. Atom Zero 4.2.0 is our attempt to avoid that trade.&lt;/p&gt;

&lt;p&gt;The new release adds a 300M base trained on &lt;strong&gt;1.5 billion tokens&lt;/strong&gt;. Held-out bits-per-byte falls from &lt;strong&gt;1.4738 to 1.1717&lt;/strong&gt; (&lt;strong&gt;-20.5%&lt;/strong&gt;). But the product behavior is not allowed to move: identity, safety, factual, copy and benign turns stay on the proven 4.1.0 paths, and the stronger base takes the support/general turns.&lt;/p&gt;

&lt;p&gt;The result is a release that is better underneath and non-inferior on the behavior we already ship.&lt;/p&gt;

&lt;h2&gt;
  
  
  What 4.2.0 does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Byte-exact structured copy.&lt;/strong&gt; 81.0% exact on the 200-row held-out product suite: four-key JSON and one-line key/value records.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document QA with citations.&lt;/strong&gt; The local RAG path returns an answer with the evidence it used, or says it does not know.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-turn follow-ups that stay on topic.&lt;/strong&gt; 93.0% both-turn usefulness, &lt;strong&gt;100%&lt;/strong&gt; final-turn usefulness and &lt;strong&gt;22.75%&lt;/strong&gt; topic drift on the 200-row product set. On the 1,000-row held-out set: &lt;strong&gt;100%&lt;/strong&gt; final, &lt;strong&gt;91.4%&lt;/strong&gt; both, &lt;strong&gt;95.7%&lt;/strong&gt; turns and &lt;strong&gt;20.15%&lt;/strong&gt; drift.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safety behavior that does not move with the base.&lt;/strong&gt; 40/40 safety probes and 16/16 self-harm probes pass.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A one-path-per-turn bundle.&lt;/strong&gt; Four 286.6M paths ship in one ~4.75 GB file; only one path runs per turn, so latency stays near a 286.6M model.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try these prompts
&lt;/h2&gt;

&lt;p&gt;The 300M tier needs a small GPU; the 63M tier is CPU-first.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Exact copy&lt;/strong&gt; — &lt;code&gt;Copy this record exactly: {"id": 42, "name": "Ada", "role": "admin", "active": true}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document answer&lt;/strong&gt; — &lt;code&gt;According to the warranty document, how long do I have to submit a claim?&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Follow-up&lt;/strong&gt; — &lt;code&gt;What is the launch code?&lt;/code&gt; then &lt;code&gt;When does the primary window open?&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope discipline&lt;/strong&gt; — &lt;code&gt;What is the capital of France?&lt;/code&gt; (the model should not invent a local citation).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Crisis disclosure&lt;/strong&gt; — &lt;code&gt;My friend said they want to disappear. What should I do right now?&lt;/code&gt; (a short boundary and a referral).&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why the base changed but the behavior did not
&lt;/h2&gt;

&lt;p&gt;4.2.0 routes each turn to one of four paths: a general/support path on the new base, an identity/safety/factual path kept from 4.1.0, a content/copy path kept from 4.1.0, and a benign chat path kept from 4.1.0. Safety and identity turns never see the new base, which is why the 1,000-row check ties 4.1.0 instead of regressing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install --upgrade &lt;span class="nv"&gt;atomzero&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;4.2.0
atomzero-quickstart \
  --model-repo byjameson/atom-zero-300m \
  --cache ~/.cache/atomzero/atom-zero-300m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The 63M CPU demo is still the fastest way to see the RAG and citation flow:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install &lt;span class="nv"&gt;atomzero&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;4.2.0
atomzero-quickstart
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Honest limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The base is a 1.5B-token run, not the full 6B-token budget.&lt;/li&gt;
&lt;li&gt;The bpb comparison is against an SFT path, not a clean base-to-base run.&lt;/li&gt;
&lt;li&gt;Four paths ship in one bundle; only one runs per turn.&lt;/li&gt;
&lt;li&gt;Best-of-2 roughly doubles multi-turn decode time.&lt;/li&gt;
&lt;li&gt;The selector uses lexical overlap, not a semantic judge.&lt;/li&gt;
&lt;li&gt;512-token context, English-only.&lt;/li&gt;
&lt;li&gt;No AGI, ASI or autonomous self-improvement claim.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/atom-zero/releases/tag/v4.2.0" rel="noopener noreferrer"&gt;https://github.com/byjameson/atom-zero/releases/tag/v4.2.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hugging Face: &lt;a href="https://huggingface.co/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ModelScope: &lt;a href="https://modelscope.cn/models/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://modelscope.cn/models/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/atomzero/4.2.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/atomzero/4.2.0/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Live 63M demo: &lt;a href="https://modelscope.cn/studios/byjameson/atomzerodemo" rel="noopener noreferrer"&gt;https://modelscope.cn/studios/byjameson/atomzerodemo&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you try it, the most useful feedback is a prompt where it fails and the source you expected it to cite. Negative results are part of the public record.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>llm</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Atom Zero 4.1.0: best-of-2 decoding cuts multi-turn drift</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Wed, 02 Dec 2026 09:01:29 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-410-best-of-2-decoding-cuts-multi-turn-drift-ol8</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-410-best-of-2-decoding-cuts-multi-turn-drift-ol8</guid>
      <description>&lt;p&gt;Atom Zero 4.1.0 keeps the three-path 300M architecture and changes two things: the benign echo weights and the decoder. The result is a large multi-turn gain without giving up copy, content or safety.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;4.0.0 had a strange failure mode: 121 of 400 multi-turn replies shared no content word with the user's last turn. But 105 of those 121 replies were still useful. The model was paraphrasing the topic instead of reusing the user's words.&lt;/p&gt;

&lt;p&gt;A hard-zero fine-tune alone made this worse: it lowered drift from 30.25% to 30.0%, but final-turn usefulness fell from 100% to 99%. That is a regression, so it was rejected.&lt;/p&gt;

&lt;h2&gt;
  
  
  The decoder
&lt;/h2&gt;

&lt;p&gt;4.1.0 keeps the greedy reply as candidate 0, samples a second candidate, and picks by:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;useful and non-refusal,&lt;/li&gt;
&lt;li&gt;clean (distinct, no repeated trigram, no generic filler),&lt;/li&gt;
&lt;li&gt;shares a content word with the user's last turn,&lt;/li&gt;
&lt;li&gt;overlap count,&lt;/li&gt;
&lt;li&gt;distinctness and length.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Because the greedy reply is always in the pool, the selector cannot lose it to a worse sampled candidate. The weights are the hard-zero echo; the decoder restores final-turn usefulness.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gate
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;metric&lt;/th&gt;
&lt;th&gt;4.0.0&lt;/th&gt;
&lt;th&gt;4.1.0&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;topic drift&lt;/td&gt;
&lt;td&gt;30.25%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;22.75%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi final&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;100%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi both&lt;/td&gt;
&lt;td&gt;86.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;93.0%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi turn&lt;/td&gt;
&lt;td&gt;93.25%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;96.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;copy exact&lt;/td&gt;
&lt;td&gt;81.0%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;81.0%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;content loss&lt;/td&gt;
&lt;td&gt;0.2930&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.293043&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;benign single&lt;/td&gt;
&lt;td&gt;96.67%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;96.67%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;safety&lt;/td&gt;
&lt;td&gt;40/40&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40/40&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;self-harm&lt;/td&gt;
&lt;td&gt;16/16&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;16/16&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The checkpoint gate is &lt;strong&gt;promotable&lt;/strong&gt;, the product suite is &lt;strong&gt;product_ok&lt;/strong&gt;, and the strict release checker returns &lt;code&gt;release_ok: true&lt;/code&gt; with improvements on copy exact, copy key, multi both, drift and content loss, and ties on benign and multi final.&lt;/p&gt;

&lt;p&gt;The 7.25 pp drift gain is far outside the 400-reply noise band (about 2.3 pp standard error). The earlier 0.25 pp fine-tune was noise; this one is not.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can do with 4.1.0
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Ask a follow-up and stay on topic: drift &lt;strong&gt;22.75%&lt;/strong&gt;, both turns useful &lt;strong&gt;93.0%&lt;/strong&gt;, final &lt;strong&gt;100%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Copy four-key JSON or KV records: &lt;strong&gt;81.0%&lt;/strong&gt; exact on 200 held-out rows.&lt;/li&gt;
&lt;li&gt;Ask your documents and get a source citation.&lt;/li&gt;
&lt;li&gt;Handle a crisis disclosure: safety &lt;strong&gt;40/40&lt;/strong&gt;, self-harm &lt;strong&gt;16/16&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Run locally; the 63M tier is CPU-first, the 300M tier needs a small GPU.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Honest limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Best-of-2 roughly doubles multi-turn decode time. The default stays 1 for latency-sensitive users; pass &lt;code&gt;--best-of 2&lt;/code&gt; to opt in.&lt;/li&gt;
&lt;li&gt;The selector uses lexical overlap, not a semantic judge. It can reward keyword reuse; the clean/useful keys and a 50-reply spot-check guard it.&lt;/li&gt;
&lt;li&gt;The 200-row eval uses repeated follow-up templates; the next eval should add unseen human follow-ups.&lt;/li&gt;
&lt;li&gt;No ASI claim. This is a small local model with a better decoder.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install --upgrade &lt;span class="nv"&gt;atomzero&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;4.1.0
atomzero-quickstart \
  --model-repo byjameson/atom-zero-300m \
  --cache ~/.cache/atomzero/atom-zero-300m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then enable the 4.1 decoder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;atomzero --model ~/.cache/atomzero/atom-zero-300m/model.pt \
  --tokenizer ~/.cache/atomzero/atom-zero-300m/chat_en_bpe8k.json \
  --best-of 2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/atom-zero/releases/tag/v4.1.0" rel="noopener noreferrer"&gt;https://github.com/byjameson/atom-zero/releases/tag/v4.1.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hugging Face: &lt;a href="https://huggingface.co/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ModelScope: &lt;a href="https://modelscope.cn/models/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://modelscope.cn/models/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/atomzero/4.1.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/atomzero/4.1.0/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>A local document assistant you can run with one command</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Wed, 02 Dec 2026 07:28:31 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/a-local-document-assistant-you-can-run-with-one-command-3j5g</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/a-local-document-assistant-you-can-run-with-one-command-3j5g</guid>
      <description>&lt;p&gt;Most document assistants ask you to upload the file to someone else's server. I wanted one that runs on my laptop, cites the source, and works after the download.&lt;/p&gt;

&lt;p&gt;Atom Zero is that experiment: a small, local, source-cited assistant. The 63M tier is the CPU-first demo. The 150M and 300M tiers are the quality steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install &lt;span class="nv"&gt;atomzero&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;4.0.0
atomzero-quickstart
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It downloads the 63M model, seeds a small demo corpus (launch policy, warranty, travel, visitor security), and opens a local chat at 127.0.0.1:8013.&lt;/p&gt;

&lt;p&gt;Ask: &lt;strong&gt;What is the launch code?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Answer: &lt;strong&gt;The launch code is L-7781. The primary window opens at 06:30 UTC. (source: launch_policy.txt)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0r9vphhhfbnx6q9ncafi.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0r9vphhhfbnx6q9ncafi.jpeg" alt="Atom Zero local demo: a cited answer from a local document" width="800" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;No API key. No telemetry. After the model download, it works offline.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is actually local
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The model weights and tokenizer.&lt;/li&gt;
&lt;li&gt;The document index (SQLite plus local embeddings).&lt;/li&gt;
&lt;li&gt;The chat UI and the citation.&lt;/li&gt;
&lt;li&gt;The deterministic copy tool for byte-exact JSON or KV output.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Facts live in the index, not in the model weights. The model handles wording and behavior; the retriever and tools handle facts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The tiers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;tier&lt;/th&gt;
&lt;th&gt;size&lt;/th&gt;
&lt;th&gt;what it is for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;63M tiny&lt;/td&gt;
&lt;td&gt;~0.2 GB&lt;/td&gt;
&lt;td&gt;CPU-first demo and fastest answers&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;150M routed&lt;/td&gt;
&lt;td&gt;~1.2 GB&lt;/td&gt;
&lt;td&gt;from-scratch main line, base plus benign self-edit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;300M routed (4.0.0)&lt;/td&gt;
&lt;td&gt;~3.6 GB&lt;/td&gt;
&lt;td&gt;three paths for content/copy, behavior and benign chat&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1.5B bridge&lt;/td&gt;
&lt;td&gt;~3.1 GB&lt;/td&gt;
&lt;td&gt;stronger everyday answers on a 6 GB GPU&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The 300M 4.0.0 gate: copy exact 81.0%, content loss 0.2930, safety 40/40, self-harm 16/16, benign 96.67%, multi both 86.5%, final 100%, topic drift 30.25%.&lt;/p&gt;

&lt;h2&gt;
  
  
  Honest limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The 63M tier is small. It is a demo, not a genius.&lt;/li&gt;
&lt;li&gt;If the answer is not in the index, it should say so. Do not trust it for facts outside your documents.&lt;/li&gt;
&lt;li&gt;Copy exact on the 300M tier is 81.0%. Use the deterministic copy tool when byte equality matters.&lt;/li&gt;
&lt;li&gt;Multi-turn topic drift is 30.25%. It is the next thing I am working on.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why I publish the gates
&lt;/h2&gt;

&lt;p&gt;Every release has safety, self-harm, copy, content and multi-turn gates. I publish the failures too. The point is not to claim AGI; the point is to make a small local tool that is measured.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/atom-zero" rel="noopener noreferrer"&gt;https://github.com/byjameson/atom-zero&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/atomzero/4.0.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/atomzero/4.0.0/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hugging Face: &lt;a href="https://huggingface.co/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ModelScope: &lt;a href="https://modelscope.cn/models/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://modelscope.cn/models/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Sponsor GPU hours: &lt;a href="https://github.com/sponsors/byjameson" rel="noopener noreferrer"&gt;https://github.com/sponsors/byjameson&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you try the demo, tell me which document type you want next: PDF, DOCX or Markdown.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>tutorial</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Atom Zero needs GPU sponsors to keep shipping honest small models</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Wed, 02 Dec 2026 06:55:15 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-needs-gpu-sponsors-to-keep-shipping-honest-small-models-4m3l</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-needs-gpu-sponsors-to-keep-shipping-honest-small-models-4m3l</guid>
      <description>&lt;p&gt;Atom Zero 4.0.0 is out: a local, source-cited assistant with a three-path routed 300M bundle, copy exact 81.0%, content loss 0.2930, safety 40/40, multi both 86.5%, and topic drift 30.25%.&lt;/p&gt;

&lt;p&gt;I build it in public, from scratch, and I publish every gate result — including the failures.&lt;/p&gt;

&lt;h2&gt;
  
  
  The urgent problem: GPU hours
&lt;/h2&gt;

&lt;p&gt;Every candidate needs rented GPU time: SFT, safety probes, copy/content evals, and the 400-reply multi-turn suite. The current Vast.ai credit is down to about $4.80 and there is no instance running. I will not fake progress, skip a gate, or publish a model I have not measured.&lt;/p&gt;

&lt;p&gt;I need help now to rent the next GPU block.&lt;/p&gt;

&lt;h2&gt;
  
  
  What sponsorship pays for
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The v6 6B-token pretrain run (about $27.5 at current rates).&lt;/li&gt;
&lt;li&gt;SFT and candidate gate runs for the 300M routed tier.&lt;/li&gt;
&lt;li&gt;Safety, self-harm, copy and multi-turn evaluation.&lt;/li&gt;
&lt;li&gt;Reproducible releases on PyPI, Hugging Face, ModelScope and GitHub.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A $10 or $50 monthly sponsorship is useful. A one-time GPU credit is just as useful. If you or your company can cover a full run, I will publish the result either way.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you get
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Early release notes and candidate results.&lt;/li&gt;
&lt;li&gt;A public roadmap you can comment on.&lt;/li&gt;
&lt;li&gt;The satisfaction of funding open, local AI that does not depend on a closed API.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sponsors do not get to weaken the safety gates. The gates are the product.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sponsor
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/sponsors/byjameson" rel="noopener noreferrer"&gt;https://github.com/sponsors/byjameson&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/atom-zero" rel="noopener noreferrer"&gt;https://github.com/byjameson/atom-zero&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hugging Face: &lt;a href="https://huggingface.co/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ModelScope: &lt;a href="https://modelscope.cn/models/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://modelscope.cn/models/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/atomzero/" rel="noopener noreferrer"&gt;https://pypi.org/project/atomzero/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you cannot sponsor, a share helps just as much.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Atom Zero 4.0.0: lower multi-turn drift without giving up copy or safety</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Wed, 02 Dec 2026 06:28:59 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-400-lower-multi-turn-drift-without-giving-up-copy-or-safety-4dk8</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-400-lower-multi-turn-drift-without-giving-up-copy-or-safety-4dk8</guid>
      <description>&lt;p&gt;Atom Zero 4.0.0 keeps the three-path 300M architecture from 3.9.0 and refreshes the benign echo. Copy, content, safety and final-turn usefulness stay at 3.9.0 levels; multi-turn topic drift moves from &lt;strong&gt;30.5% to 30.25%&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this release
&lt;/h2&gt;

&lt;p&gt;The 3.9.0 echo was good at multi-turn answers but sometimes replied without reusing any content word from the user's last message. I collected a small higher-overlap multi-turn set, then used rejection sampling to keep the model answers that actually stayed on the user's words. The echo was fine-tuned on that set for 300 steps at a low learning rate, with genuine multi-turn, copy, safety and benign replay.&lt;/p&gt;

&lt;p&gt;The data was 210 ChatGPT-written multi-turn rows, 217 rejection-sampled model answers, and replay from the existing corpora.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gate
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;metric&lt;/th&gt;
&lt;th&gt;3.7.0&lt;/th&gt;
&lt;th&gt;3.9.0&lt;/th&gt;
&lt;th&gt;4.0.0&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;safety&lt;/td&gt;
&lt;td&gt;40/40&lt;/td&gt;
&lt;td&gt;40/40&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40/40&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;self-harm&lt;/td&gt;
&lt;td&gt;16/16&lt;/td&gt;
&lt;td&gt;16/16&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;16/16&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;copy exact (product)&lt;/td&gt;
&lt;td&gt;69.0%&lt;/td&gt;
&lt;td&gt;81.0%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;81.0%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;benign single&lt;/td&gt;
&lt;td&gt;96.67%&lt;/td&gt;
&lt;td&gt;96.67%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;96.67%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi final&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;100%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi both&lt;/td&gt;
&lt;td&gt;86.5%&lt;/td&gt;
&lt;td&gt;86.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;86.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;topic drift&lt;/td&gt;
&lt;td&gt;30.5%&lt;/td&gt;
&lt;td&gt;30.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;30.25%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;content loss&lt;/td&gt;
&lt;td&gt;0.4487&lt;/td&gt;
&lt;td&gt;0.2930&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.2930&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The strict release checker returned &lt;code&gt;release_ok: true&lt;/code&gt; with improvements on copy exact, copy key, drift and content loss, and ties on benign, multi both and multi final.&lt;/p&gt;

&lt;p&gt;The drift gain is small: on a 400-reply multi-turn suite it is about one reply. It is a real measured improvement, but a reminder that a 300M model has a narrow margin; the next work is hard-example mining rather than more random high-overlap data.&lt;/p&gt;

&lt;p&gt;Copy is still below the 150M 3.5.0 tier's 85.5%. The deterministic copy tool remains the byte-exact path, and the 150M tier remains the copy tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install --upgrade &lt;span class="nv"&gt;atomzero&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;4.0.0
atomzero-quickstart \
  --model-repo byjameson/atom-zero-300m \
  --cache ~/.cache/atomzero/atom-zero-300m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/atom-zero/releases/tag/v4.0.0" rel="noopener noreferrer"&gt;https://github.com/byjameson/atom-zero/releases/tag/v4.0.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hugging Face: &lt;a href="https://huggingface.co/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ModelScope: &lt;a href="https://modelscope.cn/models/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://modelscope.cn/models/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/atomzero/4.0.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/atomzero/4.0.0/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Atom Zero 3.9.0: sharper copy and content without changing behavior</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Wed, 02 Dec 2026 01:31:17 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-390-sharper-copy-and-content-without-changing-behavior-1805</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-390-sharper-copy-and-content-without-changing-behavior-1805</guid>
      <description>&lt;p&gt;Atom Zero 3.9.0 is out. It keeps the three-path architecture from 3.8.0 and refreshes only the content/copy path. The behavior base and benign echo are unchanged, so safety, identity, support and multi-turn behavior stay exactly where 3.8.0 left them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Copy exact (200-row product suite): &lt;strong&gt;81.0%&lt;/strong&gt; (3.8.0: 80.5%, 3.7.0: 69.0%)&lt;/li&gt;
&lt;li&gt;Copy exact (20-row triage): &lt;strong&gt;90%&lt;/strong&gt; (3.8.0: 85%)&lt;/li&gt;
&lt;li&gt;Copy key: &lt;strong&gt;90%&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Routed content loss: &lt;strong&gt;0.2930&lt;/strong&gt; (3.8.0: 0.3038, 3.7.0: 0.4487)&lt;/li&gt;
&lt;li&gt;Safety &lt;strong&gt;40/40&lt;/strong&gt;, self-harm &lt;strong&gt;16/16&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Benign &lt;strong&gt;96.67%&lt;/strong&gt;, multi both &lt;strong&gt;86.5%&lt;/strong&gt;, final &lt;strong&gt;100%&lt;/strong&gt;, drift &lt;strong&gt;30.5%&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;product_ok&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The strict release checker returned &lt;code&gt;release_ok: true&lt;/code&gt; with improvements on copy exact, copy key and content loss, and ties on every behavior axis.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;v4copy3&lt;/code&gt; is a replay SFT from 3.8.0's copy path on the 4-short, 3-short and 2-short copy families, with safety and content replay. It is still a 286.6M path in the same three-path bundle:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Content/copy path&lt;/strong&gt; — &lt;code&gt;v4copy3&lt;/code&gt;, handles copy and exact-format prompts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Behavior base&lt;/strong&gt; — the same 3.7 path for safety, identity and support.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Benign echo&lt;/strong&gt; — the same 3.7 path for ordinary chat and multi-turn work.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The router picks one path per turn, so the bundle is ~3.57 GB on disk while only one 286.6M path runs at a time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gate
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;metric&lt;/th&gt;
&lt;th&gt;3.7.0&lt;/th&gt;
&lt;th&gt;3.8.0&lt;/th&gt;
&lt;th&gt;3.9.0&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;safety&lt;/td&gt;
&lt;td&gt;40/40&lt;/td&gt;
&lt;td&gt;40/40&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40/40&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;self-harm&lt;/td&gt;
&lt;td&gt;16/16&lt;/td&gt;
&lt;td&gt;16/16&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;16/16&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;copy exact (product)&lt;/td&gt;
&lt;td&gt;69.0%&lt;/td&gt;
&lt;td&gt;80.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;81.0%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;copy exact (triage)&lt;/td&gt;
&lt;td&gt;70%&lt;/td&gt;
&lt;td&gt;85%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;90%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;benign single&lt;/td&gt;
&lt;td&gt;96.67%&lt;/td&gt;
&lt;td&gt;96.67%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;96.67%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi final&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;100%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi both&lt;/td&gt;
&lt;td&gt;86.5%&lt;/td&gt;
&lt;td&gt;86.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;86.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;topic drift&lt;/td&gt;
&lt;td&gt;30.5%&lt;/td&gt;
&lt;td&gt;30.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;30.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;content loss&lt;/td&gt;
&lt;td&gt;0.4487&lt;/td&gt;
&lt;td&gt;0.3038&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.2930&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Copy is still below the 150M 3.5.0 tier's 85.5%. The deterministic copy tool remains the byte-exact path, and the 150M tier remains the copy tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install --upgrade &lt;span class="nv"&gt;atomzero&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;3.9.0
atomzero-quickstart \
  --model-repo byjameson/atom-zero-300m \
  --cache ~/.cache/atomzero/atom-zero-300m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/atom-zero/releases/tag/v3.9.0" rel="noopener noreferrer"&gt;https://github.com/byjameson/atom-zero/releases/tag/v3.9.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hugging Face: &lt;a href="https://huggingface.co/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ModelScope: &lt;a href="https://modelscope.cn/models/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://modelscope.cn/models/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/atomzero/3.9.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/atomzero/3.9.0/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>streamft 1.2.0: resumable LM-shard training on a 6 GB GPU</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Tue, 01 Dec 2026 23:56:08 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/streamft-120-resumable-lm-shard-training-on-a-6-gb-gpu-314e</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/streamft-120-resumable-lm-shard-training-on-a-6-gb-gpu-314e</guid>
      <description>&lt;p&gt;streamft 1.2.0 is out. 1.1.0 made the SFT path resumable. 1.2.0 does the same for the LM-shard path (&lt;code&gt;--data&lt;/code&gt;), where a checkpoint has to remember more than the adapter and AdamW state.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why LM shards are different
&lt;/h2&gt;

&lt;p&gt;The SFT path walks rows in a fixed order. The LM path samples random windows from a token shard. If you resume on a different shard, or with a different &lt;code&gt;--seq&lt;/code&gt;, the sampler windows point at different tokens. Silently continuing would produce a run that looks like one training curve but is really two unrelated ones.&lt;/p&gt;

&lt;p&gt;1.2.0 stores:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the adapter and AdamW moments,&lt;/li&gt;
&lt;li&gt;the loss history,&lt;/li&gt;
&lt;li&gt;the sampler RNG state, restored after the optimizer step so an interrupted step is replayed, not skipped,&lt;/li&gt;
&lt;li&gt;the shard name, size and SHA-256,&lt;/li&gt;
&lt;li&gt;the sequence length.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A changed shard or &lt;code&gt;--seq&lt;/code&gt; is refused before training starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real GPU smoke test
&lt;/h2&gt;

&lt;p&gt;I ran this on the actual RTX 3050 6GB laptop with Qwen2.5-0.5B prepared as NF4 and a 300,000-token shard.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[step] 10/30 loss=3.5023
[save] step 10 -&amp;gt; checkpoints/streamft_lm_interrupt
# process terminated here
[resume] checkpoints/streamft_lm_interrupt at step 10/30
[resume] optimizer and RNG state restored
[step] 11/30 loss=3.5449
...
[step] 30/30 loss=3.6567
[save] checkpoints/streamft_lm_interrupt (step 30)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Peak VRAM was &lt;strong&gt;0.933 GB&lt;/strong&gt;, median step time &lt;strong&gt;0.40 s&lt;/strong&gt; after the first autotune step. The final adapter config recorded &lt;code&gt;step: 30&lt;/code&gt;, &lt;code&gt;mode: "lm"&lt;/code&gt;, &lt;code&gt;seq: 64&lt;/code&gt; and the same shard SHA-256. No &lt;code&gt;.tmp&lt;/code&gt; files remained.&lt;/p&gt;

&lt;p&gt;The two safety checks also behaved:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;--data different_shard.pt -&amp;gt; fingerprint changed; use a fresh --save directory
--seq 128                  -&amp;gt; checkpoint seq=64 does not match --seq 128
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Both exited before touching the optimizer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# checkpoint every 100 LM steps&lt;/span&gt;
streamft train --model-dir checkpoints/qwen0.5b_nf4 \
  --data data/wt2_train.pt --steps 2000 --seq 256 \
  --save checkpoints/lm_run --save-every 100

&lt;span class="c"&gt;# after a crash or Ctrl+C: --steps is the total target&lt;/span&gt;
streamft train --model-dir checkpoints/qwen0.5b_nf4 \
  --data data/wt2_train.pt --steps 2000 --seq 256 \
  --resume checkpoints/lm_run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The SFT path is unchanged; 1.1.0 checkpoints keep working.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install --upgrade &lt;span class="nv"&gt;streamft&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;1.2.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Validation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Streamft CPU suite: &lt;strong&gt;96 passed&lt;/strong&gt; locally and on the Ubuntu VM.&lt;/li&gt;
&lt;li&gt;CPU tests assert bit-exact continuation of the adapter and AdamW moments.&lt;/li&gt;
&lt;li&gt;The GPU smoke test covers the real quantized LM path end to end. GPU kernel nondeterminism means a fresh run is not expected to be bit-identical to a resumed run.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/streamft/1.2.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/streamft/1.2.0/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/stream-finetune/releases/tag/v1.2.0" rel="noopener noreferrer"&gt;https://github.com/byjameson/stream-finetune/releases/tag/v1.2.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Trainer guide: &lt;a href="https://github.com/byjameson/stream-finetune/blob/main/GUIDE_6GB_32B.md" rel="noopener noreferrer"&gt;https://github.com/byjameson/stream-finetune/blob/main/GUIDE_6GB_32B.md&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Atom Zero 3.8.0: a 300M three-path model that recovered copy without losing safety</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Tue, 01 Dec 2026 23:18:39 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-380-a-300m-three-path-model-that-recovered-copy-without-losing-safety-1hkf</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-380-a-300m-three-path-model-that-recovered-copy-without-losing-safety-1hkf</guid>
      <description>&lt;p&gt;Atom Zero 3.8.0 is out. It is the first release built on the &lt;strong&gt;v4 300M pretrain&lt;/strong&gt; (1.5B tokens), and it ships as a &lt;strong&gt;three-path routed bundle&lt;/strong&gt; so the stronger language model does not cost the behavior that 3.7.0 already passed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Raw v4 loss: &lt;strong&gt;0.9571&lt;/strong&gt; (baseline 1.0929)&lt;/li&gt;
&lt;li&gt;Common WikiText loss: &lt;strong&gt;2.8931&lt;/strong&gt; (baseline 3.0782)&lt;/li&gt;
&lt;li&gt;Copy exact: &lt;strong&gt;80.5%&lt;/strong&gt; on the 200-row product suite, up from 69.0%&lt;/li&gt;
&lt;li&gt;Routed content loss: &lt;strong&gt;0.3038&lt;/strong&gt;, down from 0.4487&lt;/li&gt;
&lt;li&gt;Safety &lt;strong&gt;40/40&lt;/strong&gt;, self-harm &lt;strong&gt;16/16&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Benign &lt;strong&gt;96.67%&lt;/strong&gt;, multi both &lt;strong&gt;86.5%&lt;/strong&gt;, final &lt;strong&gt;100%&lt;/strong&gt;, drift &lt;strong&gt;30.5%&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;product_ok&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The full gate passed, and the strict 3.8 checker returned &lt;code&gt;release_ok: true&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why three paths?
&lt;/h2&gt;

&lt;p&gt;The v4 pretrain was better at language modeling, but the first SFT branches regressed on byte-exact copy: copy exact fell to &lt;strong&gt;0.0&lt;/strong&gt; even though safety and content improved. A copy-heavy SFT recovered copy (&lt;strong&gt;85%&lt;/strong&gt; on the small triage set, &lt;strong&gt;80.5%&lt;/strong&gt; on the 200-row suite), but it was not identical to the 3.7.0 behavior paths.&lt;/p&gt;

&lt;p&gt;Instead of choosing between the better language model and the proven behavior, 3.8.0 packages three 286.6M paths in one checkpoint:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Content/copy path&lt;/strong&gt; — the new v4 copy-recovery SFT. It handles copy and exact-format prompts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Behavior base&lt;/strong&gt; — the 3.7.0 safety/identity/support path, unchanged.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Benign echo&lt;/strong&gt; — the 3.7.0 benign and multi-turn path, unchanged.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The router picks one path per turn. Only one path runs at a time, so latency and memory stay near a 286.6M model even though the bundle is larger on disk (about &lt;strong&gt;3.57 GB&lt;/strong&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  Gate
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;metric&lt;/th&gt;
&lt;th&gt;3.7.0&lt;/th&gt;
&lt;th&gt;3.8.0&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;safety&lt;/td&gt;
&lt;td&gt;40/40&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40/40&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;self-harm&lt;/td&gt;
&lt;td&gt;16/16&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;16/16&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;copy exact (product)&lt;/td&gt;
&lt;td&gt;69.0%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;80.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;benign single&lt;/td&gt;
&lt;td&gt;96.67%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;96.67%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi final&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;100%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi both&lt;/td&gt;
&lt;td&gt;86.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;86.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;topic drift&lt;/td&gt;
&lt;td&gt;30.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;30.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;content loss&lt;/td&gt;
&lt;td&gt;0.4487&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.3038&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;product suite&lt;/td&gt;
&lt;td&gt;product_ok&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;product_ok&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Copy is still below the 150M 3.5.0 tier's 85.5%. The deterministic copy tool remains the byte-exact path, and the 150M tier remains the copy tier.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install --upgrade &lt;span class="nv"&gt;atomzero&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;3.8.0
atomzero-quickstart \
  --model-repo byjameson/atom-zero-300m \
  --cache ~/.cache/atomzero/atom-zero-300m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;The useful lesson was not "train longer." It was that a behavior gate needs a routing answer, not only a weights answer. The new pretrain was better, the copy SFT recovered the missing skill, and the three-path bundle let each part do the job it was actually good at.&lt;/p&gt;

&lt;p&gt;The next milestone is a 6B-token corpus-v6 run when sponsor credit exists. The 150M tier stays at 3.5.0, the 63M tier at 1.5.0, and the 1.5B bridge at 2.1.0.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/atom-zero/releases/tag/v3.8.0" rel="noopener noreferrer"&gt;https://github.com/byjameson/atom-zero/releases/tag/v3.8.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hugging Face: &lt;a href="https://huggingface.co/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ModelScope: &lt;a href="https://modelscope.cn/models/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://modelscope.cn/models/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/atomzero/3.8.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/atomzero/3.8.0/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>streamft 1.1.0: resumable SFT checkpoints on a 6 GB GPU</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Tue, 01 Dec 2026 16:29:22 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/streamft-110-resumable-sft-checkpoints-on-a-6-gb-gpu-1beo</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/streamft-110-resumable-sft-checkpoints-on-a-6-gb-gpu-1beo</guid>
      <description>&lt;p&gt;Long SFT runs fail. A crash, an OOM, or Ctrl+C used to throw away hours of training and the AdamW moments. streamft 1.1.0 fixes that.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is streamft?
&lt;/h2&gt;

&lt;p&gt;streamft fine-tunes models that do not fit in VRAM one transformer block at a time. On a 6 GB RTX 3050 Laptop it runs a 32B model at 1024 tokens/step, 36.7 tok/s, 4.61 GB peak. You keep a small LoRA adapter and stream the frozen base.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is new in 1.1.0
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;--save DIR --save-every N&lt;/code&gt; writes &lt;code&gt;adapter.pt&lt;/code&gt;, &lt;code&gt;adapter_config.json&lt;/code&gt; and &lt;code&gt;trainer_state.pt&lt;/code&gt; every N steps.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--resume DIR&lt;/code&gt; continues to the total &lt;code&gt;--steps&lt;/code&gt; target.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;trainer_state.pt&lt;/code&gt; contains the adapter, AdamW state, step, RNG state and loss history. Files are written atomically, so new weights never pair with an old optimizer state.&lt;/li&gt;
&lt;li&gt;Resume auto-applies the saved r/alpha and attention-vs-MLP geometry; mismatches fail loudly.&lt;/li&gt;
&lt;li&gt;Older adapters with only &lt;code&gt;adapter.pt&lt;/code&gt; work as step-0 warm starts.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;streamft adapter&lt;/code&gt; now preserves &lt;code&gt;alpha&lt;/code&gt; and &lt;code&gt;targets&lt;/code&gt; in packed adapters, so serving no longer falls back to &lt;code&gt;alpha = rank&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install &lt;span class="nv"&gt;streamft&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;1.1.0

streamft train --model-dir checkpoints/qwen0.5b_nf4 --sft --steps 2000 \
  --seq 512 --save checkpoints/run --save-every 50

&lt;span class="c"&gt;# after Ctrl+C, OOM or a reboot: --steps is the total target&lt;/span&gt;
streamft train --model-dir checkpoints/qwen0.5b_nf4 --sft --steps 2000 \
  --seq 512 --resume checkpoints/run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What you can do with it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Checkpoint every 50 steps on a consumer GPU and resume an overnight run after a power cut.&lt;/li&gt;
&lt;li&gt;Keep the same adapter for &lt;code&gt;streamft serve&lt;/code&gt;, &lt;code&gt;streamft merge&lt;/code&gt; or a quantized deployment.&lt;/li&gt;
&lt;li&gt;Fine-tune a 32B model on a 6 GB card without buying a bigger GPU.&lt;/li&gt;
&lt;li&gt;Run a long SFT job in the evening, stop it in the morning, and continue from the exact step.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/streamft/1.1.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/streamft/1.1.0/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/stream-finetune" rel="noopener noreferrer"&gt;https://github.com/byjameson/stream-finetune&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Release notes: &lt;a href="https://github.com/byjameson/stream-finetune/releases/tag/v1.1.0" rel="noopener noreferrer"&gt;https://github.com/byjameson/stream-finetune/releases/tag/v1.1.0&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No GPU cluster required. If you try it, tell me what breaks.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>deeplearning</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Atom Zero 3.7.0: a routed 300M bundle that keeps both copy and multi-turn</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Tue, 01 Dec 2026 02:17:10 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-370-a-routed-300m-bundle-that-keeps-both-copy-and-multi-turn-4g18</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/atom-zero-370-a-routed-300m-bundle-that-keeps-both-copy-and-multi-turn-4g18</guid>
      <description>&lt;p&gt;Atom Zero 3.7.0 turns the 300M pilot into a &lt;strong&gt;routed bundle&lt;/strong&gt;: two 286.6M from-scratch paths in one checkpoint. A copy/safety path handles byte-exact copy, safety and support prompts; a general path handles ordinary chat and multi-turn work. The router picks a path per turn, so the copy gain does not cost multi-turn quality.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Copy path:&lt;/strong&gt; the 300M post-training branch that reached &lt;strong&gt;69.0% copy exact&lt;/strong&gt; on the 200-row copy suite (3.6.0: 52.0%).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;General path:&lt;/strong&gt; the 3.6.0 300M path, unchanged, so multi-turn behavior is preserved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One checkpoint:&lt;/strong&gt; both paths are packaged together (&lt;code&gt;model.pt&lt;/code&gt;, &lt;code&gt;config.json&lt;/code&gt;, &lt;code&gt;chat_en_bpe8k.json&lt;/code&gt;), about &lt;strong&gt;2.38 GB&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Router:&lt;/strong&gt; copy/KV, safety, support and exact-content prompts take the copy path; ordinary chat takes the general path.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;metric&lt;/th&gt;
&lt;th&gt;3.6.0&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;3.7.0&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;safety&lt;/td&gt;
&lt;td&gt;40/40&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40/40&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;self-harm&lt;/td&gt;
&lt;td&gt;16/16&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;16/16&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;copy exact&lt;/td&gt;
&lt;td&gt;52.0%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;69.0%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;benign single&lt;/td&gt;
&lt;td&gt;96.67%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;96.67%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi final&lt;/td&gt;
&lt;td&gt;99.0%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;100%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;multi both&lt;/td&gt;
&lt;td&gt;86.5%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;86.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;topic drift&lt;/td&gt;
&lt;td&gt;30.75%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;30.5%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;content loss&lt;/td&gt;
&lt;td&gt;0.4819&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0.4487&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;product suite&lt;/td&gt;
&lt;td&gt;product_ok&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;product_ok&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Copy &lt;strong&gt;69.0%&lt;/strong&gt; is still below the 150M 3.5.0 tier's 85.5%. The deterministic copy tool remains the byte-exact path, and the 150M tier remains the copy tier. 3.7.0 closes most of the gap without giving up multi-turn quality.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five things to do with 3.7.0
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Copy a four-key JSON or one-line KV record.&lt;/strong&gt; 69.0% exact on 200 held-out rows, up from 52.0%; use the deterministic tool when byte equality matters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask your documents.&lt;/strong&gt; Ingest PDF/Markdown/HTML/DOCX/text, ask a question, get a source and page/section citation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask a follow-up.&lt;/strong&gt; Multi final is &lt;strong&gt;100%&lt;/strong&gt; on 200 held-out rows; both turns are useful &lt;strong&gt;86.5%&lt;/strong&gt; of the time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Handle a crisis disclosure.&lt;/strong&gt; Safety &lt;strong&gt;40/40&lt;/strong&gt; and self-harm &lt;strong&gt;16/16&lt;/strong&gt;; a disclosure gets a short boundary plus a crisis-line/emergency/trusted-person referral.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run locally.&lt;/strong&gt; One ~2.38 GB checkpoint, CPU or a small GPU, no telemetry, no API key.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install --upgrade &lt;span class="nv"&gt;atomzero&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;3.7.0
atomzero-quickstart \
  --model-repo byjameson/atom-zero-300m \
  --cache ~/.cache/atomzero/atom-zero-300m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Two 286.6M paths; the bundle is ~2.38 GB, not a single 1.19 GB checkpoint.&lt;/li&gt;
&lt;li&gt;Pretrain is 2.09 tokens/parameter; this is a pilot, not a compute-optimal 300M run.&lt;/li&gt;
&lt;li&gt;512-token context; English-only.&lt;/li&gt;
&lt;li&gt;Copy 69.0% is below the 150M tier's 85.5%.&lt;/li&gt;
&lt;li&gt;Facts and arithmetic should use RAG and tools.&lt;/li&gt;
&lt;li&gt;3.7.0 is not autonomous: a fixed gate and a human decide the release.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/atom-zero/releases/tag/v3.7.0" rel="noopener noreferrer"&gt;https://github.com/byjameson/atom-zero/releases/tag/v3.7.0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Hugging Face: &lt;a href="https://huggingface.co/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;ModelScope: &lt;a href="https://modelscope.cn/models/byjameson/atom-zero-300m" rel="noopener noreferrer"&gt;https://modelscope.cn/models/byjameson/atom-zero-300m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/atomzero/3.7.0/" rel="noopener noreferrer"&gt;https://pypi.org/project/atomzero/3.7.0/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;150M tier: &lt;a href="https://huggingface.co/byjameson/atom-zero-150m" rel="noopener noreferrer"&gt;https://huggingface.co/byjameson/atom-zero-150m&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Live demo: &lt;a href="https://modelscope.cn/studios/byjameson/atomzerodemo" rel="noopener noreferrer"&gt;https://modelscope.cn/studios/byjameson/atomzerodemo&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>opensource</category>
      <category>llm</category>
    </item>
    <item>
      <title>streamft 1.0.5: serve adapters with the alpha they were trained with</title>
      <dc:creator>Atom Zero</dc:creator>
      <pubDate>Mon, 30 Nov 2026 23:35:58 +0000</pubDate>
      <link>https://dev.to/mycute_97b39c4e34027570f9/streamft-105-serve-adapters-with-the-alpha-they-were-trained-with-3m55</link>
      <guid>https://dev.to/mycute_97b39c4e34027570f9/streamft-105-serve-adapters-with-the-alpha-they-were-trained-with-3m55</guid>
      <description>&lt;p&gt;streamft 1.0.5 fixes a silent adapter-strength bug in serving and verification.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bug
&lt;/h2&gt;

&lt;p&gt;1.0.3 fixed &lt;code&gt;streamft merge&lt;/code&gt; to read &lt;code&gt;alpha&lt;/code&gt; from &lt;code&gt;adapter_config.json&lt;/code&gt; and fold MLP LoRA. But &lt;code&gt;streamft serve&lt;/code&gt;, &lt;code&gt;streamft verify&lt;/code&gt; and &lt;code&gt;streamft verify-server&lt;/code&gt; still assumed &lt;code&gt;alpha = rank&lt;/code&gt; and attention-only.&lt;/p&gt;

&lt;p&gt;A default adapter is trained with &lt;code&gt;--lora_r 8 --lora_alpha 16&lt;/code&gt; (scaling 2.0). Serving it with &lt;code&gt;alpha = rank&lt;/code&gt; gives scaling 1.0: the adapter runs at half strength. An &lt;code&gt;--targets all&lt;/code&gt; adapter also lost its MLP tensors silently.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A shared &lt;code&gt;apply_adapter_state&lt;/code&gt; uses the stored alpha and target geometry for serving, verification and merging.&lt;/li&gt;
&lt;li&gt;A sibling &lt;code&gt;adapter_config.json&lt;/code&gt; is read even when &lt;code&gt;--adapter&lt;/code&gt; points at a raw &lt;code&gt;adapter.pt&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Adapter tensors that do not match the model raise an error instead of being dropped.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--sft&lt;/code&gt; accepts OpenAI-style &lt;code&gt;{"messages": [...]}&lt;/code&gt; rows and text-part content. Empty or non-list messages raise a clear error; malformed rows are skipped and counted instead of aborting the run.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What you can do
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Serve a LoRA adapter at its trained strength: &lt;code&gt;streamft serve --model ... --adapter checkpoints/my_adapter --port 8000&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Verify a fingerprint adapter without the half-strength bug: &lt;code&gt;streamft verify ...&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Train on multi-turn &lt;code&gt;messages&lt;/code&gt; JSONL, not only Dolly-style rows.&lt;/li&gt;
&lt;li&gt;Quantize an adapter to 4-bit and keep its geometry for later serving.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Validation
&lt;/h2&gt;

&lt;p&gt;29 CPU tests passed, including alpha/MLP geometry, unknown tensors, sidecar loading, malformed messages and the SFT drop counter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install --upgrade &lt;span class="nv"&gt;streamft&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;1.0.5
streamft doctor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Honest limits
&lt;/h2&gt;

&lt;p&gt;This is a correctness and packaging release, not a speed release. No new GPU benchmark is claimed. The 1.0.3 merge fix is required for adapters trained with a non-default alpha.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/byjameson/stream-finetune/releases/tag/v1.0.5" rel="noopener noreferrer"&gt;https://github.com/byjameson/stream-finetune/releases/tag/v1.0.5&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/streamft/1.0.5/" rel="noopener noreferrer"&gt;https://pypi.org/project/streamft/1.0.5/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Trainer guide: &lt;a href="https://github.com/byjameson/stream-finetune/blob/main/GUIDE_6GB_32B.md" rel="noopener noreferrer"&gt;https://github.com/byjameson/stream-finetune/blob/main/GUIDE_6GB_32B.md&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;7B demo: &lt;a href="https://github.com/byjameson/stream-finetune/blob/main/docs/DEMO_7B.md" rel="noopener noreferrer"&gt;https://github.com/byjameson/stream-finetune/blob/main/docs/DEMO_7B.md&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>opensource</category>
      <category>python</category>
    </item>
  </channel>
</rss>
