Qwen3 0.6B writes from the notes

5 min read✓ Done
Qwen3 0.6B writes from the notes

Qwen3 0.6B writes from the notes

The chat on this site can search the notes and answer from them without sending the question to a hosted model. Search was already local. The writer was the part that did not hold.

What changed

Opening the chat still loads the writings index first. Typing matches titles, tags, and text on this machine. Enter asks that index.

The writer is now Qwen3-0.6B through the ONNX export that Transformers.js already knows how to run. The file is the q4f16 build, about 545 MB. It is fetched once, the first time the chat opens, and kept in the browser cache. WebGPU is tried first. If that session fails, the same weights run on WASM.

The previous writer was an optional 1-bit Qwen3-1.7B (Bonsai). It stayed behind a button because that path often failed to load. This export is the ordinary Qwen3 chat model, not a custom architecture.

What the model is allowed to see

Qwen is not the search engine. A 0.6B model is a poor index, and I do not want it inventing a note that is not on the site.

The order is fixed:

  1. The local index returns the matching notes.
  2. Three of those notes, trimmed, go into the prompt with their titles.
  3. The model writes from that text. A short history of the same chat goes with it, so a follow-up can refer to the last answer.
  4. The note cards stay on screen either way. If the weights are still downloading, or if they fail, the cards are the answer.

The Qwen3 chat template can spend its tokens inside a hidden think block. The site passes enable_thinking: false, which the template treats by opening and closing that block empty before the answer. The token budget is 180 new tokens. That is enough for a short grounded reply and not enough for a speech.

If the retrieved notes do not cover the question, the instruction is to say so. I would rather read that sentence than a fluent guess.

What I am not claiming

Qwen's card describes a 0.6B model you can run locally. The ONNX community card says those weights are arranged for Transformers.js, and their sample uses q4f16. Those are their claims. I have not run a scored eval of this chat against the notes. A small model will drop a caveat, blend two adjacent notes, or stop early. The cards under the answer are the check.

545 MB is not small. It is smaller than keeping a hosted model in the loop, and it is larger than the 35 MB tool-calling net that only picks a search call. The download does not start until the chat is opened. Search on the notes page does not wait for it.

This is not a general assistant. It does not see a note the index missed. It does not browse the web. It does not keep a memory past the open chat.

What is still open

A smaller quant would make the first open cheaper. I will switch if an ONNX build of this same model lands well under 545 MB and still follows the notes. Until then the size is the price of a writer that actually loads.

The next measurement is not a leaderboard. It is a handful of questions where the right sentence is in a known note, and a check that the reply names that note or admits it cannot.