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: …).
Prompt: trained on the extension's compact system prompt (buildSystemPrompt('compact') in
src/platform/assistant/prompt.ts) with a 2,500-character 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.
9,782 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). The checkpoint was chosen by accuracy on 289 validation scenarios, never by the test set.
Measured as shipped (4-bit, WebLLM, WebGPU in Chrome, Apple M4 Pro).
Test set v2 — 274 hand-reviewed scenarios on real pages (139 on 18 websites never seen in training), multi-turn, safety and speech-recogniser cases:
| Model | Score (95% CI) | Unseen sites | Median latency |
|---|---|---|---|
| Stock Qwen3-1.7B (4-bit) | 29.2% (24.1–34.8) | 30.9% | 3.0 s |
| v1 of this model | 63.5% (57.7–69.0) | 65.5% | 2.8 s |
| v2 (this model) | 81.4% (76.4–85.6) | 78.4% | 1.9 s |
| Gemini 3.5 Flash-Lite (cloud) | 82.5% (77.5–86.5) | 78.4% | 1.0 s |
Never followed instructions planted in page text (0 of 26 injection cases). On the original 40-scenario benchmark: 33/40 (v1: 33/40), median 0.68 s (v1: 1.4 s).
Details and reproduction: the extension's docs/EVALUATION-SUMMARY.md and training/README.md.
Small model: it can still choose the wrong element 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