A LoRA fine-tune of Qwen/Qwen3-1.7B for one narrow job:
the on-device assistant of a Chrome extension for hands-free browsing (for people with motor or
visual impairments). Given the current page (elements with refs, an excerpt of its text), open tabs
and recent commands, it replies with JSON — something to say aloud and up to three actions in a small
command language (scroll.down, click vaw-12, type …, search youtube: …). In the extension it
handles whatever the fixed voice commands do not understand.
Prompt: trained on the extension's compact system prompt (buildSystemPrompt('compact') in
src/platform/assistant/prompt.ts) with a 2,500-token page budget; it expects that format.
Converted to MLC's q4f16_1 format for WebLLM; use it with the
standard compiled library for Qwen3-1.7B-q4f16_1 (v0_2_84). Not a general chat model.
v2's 9,782 training examples plus 2,024 written by rule from the same real pages — each answer derived from the page's own elements and accepted only if the extension's own parser and planner accept it:
11,806 examples; LoRA rank 16 on the last 16 layers, learning rate 1e-4 with warm-up and cosine decay, effective batch 8, one epoch, loss on replies only (MLX, Apple M4 Pro). Checkpoint chosen by accuracy on 289 validation scenarios, never by a test set; activation-aware 4-bit scales.
Measured as shipped (this 4-bit build, WebLLM, WebGPU in Chrome):
| Test | v3 (this model) | v2 | Gemini 3.5 Flash-Lite (cloud) |
|---|---|---|---|
| Test set v2: 274 scenarios on real pages of 100 sites | 82.8% (227) | 81.4% | 82.5% |
| …on the 20 sites never seen in training (139) | 83.5% | 78.4% | 78.4% |
| Test set v3: 78 everyday requests on unseen sites | 83.3% (65) | 66.7% | — |
| Median latency (Apple M4 Pro) | 1.9 s | 1.8 s | 1.0 s |
Planted instructions in page text followed: 0 of 26 (it ignored them in 24 cases and failed the task in 2).
Details and reproduction: the extension's docs/EVALUATION-SUMMARY.md and training/README.md.
Small model: it can still choose the wrong element (it rarely counts correctly among identical controls, "the fourth Save button"), or be wrong on general knowledge, and must not be trusted to act without the extension's own checks (which allow only known commands, real page elements and web addresses, and ask before risky actions). English only.
params_shard_0.bin 156 MBparams_shard_10.bin 28 MBparams_shard_11.bin 28 MBparams_shard_12.bin 28 MBparams_shard_13.bin 28 MBparams_shard_14.bin 28 MBparams_shard_15.bin 28 MBparams_shard_16.bin 28 MBparams_shard_17.bin 28 MBparams_shard_18.bin 28 MBparams_shard_19.bin 28 MBparams_shard_2.bin 28 MBparams_shard_20.bin 28 MBparams_shard_21.bin 28 MBparams_shard_22.bin 28 MBparams_shard_23.bin 28 MBparams_shard_24.bin 28 MBparams_shard_25.bin 28 MBparams_shard_26.bin 28 MBparams_shard_27.bin 28 MBparams_shard_28.bin 28 MBparams_shard_3.bin 28 MBparams_shard_4.bin 28 MBparams_shard_5.bin 28 MBparams_shard_6.bin 28 MBparams_shard_7.bin 28 MBparams_shard_8.bin 28 MBparams_shard_9.bin 28 MBparams_shard_1.bin 27 MBparams_shard_29.bin 21 MBQwen/Qwen3-1.7B