Private, low-cost lead triage
A laptop-sized model that triages leads like a frontier model.
Why
Home-services businesses get their leads as messy WhatsApp texts. Each one has to become a structured job: what's broken, how urgent, where, and when the customer is free.
Doing that with a frontier model on every message costs money, adds latency, and sends customer text to a third party. The question: can a small model, running locally, do the job well enough to trust?
What
A LoRA fine-tune of Qwen3-1.7B (4-bit) that converts a raw customer message into a 5-field triage JSON. Trained and served on a MacBook (M3 Pro, MLX). No GPU cluster, no API.
How
- Wrote the labeling guide first and treated it as the source of truth, so 'correct' had one definition.
- Built a 299-row adjudicated holdout before training anything, then baselined four Claude models on it.
- Generated 1,744 training and 193 validation examples from 20 persona generators, with a rule checker rejecting bad labels. All data synthetic.
- Trained at rank 16 in about 42 minutes on the laptop. Picked checkpoints on validation, never on the holdout. Let error analysis drive the next data fix.
Outcome
On the same unseen holdout the fine-tune beats Claude Haiku, lands within two points of Sonnet, and never produces invalid JSON. It answers in 0.63 seconds on a laptop.
| Measure | Result |
|---|---|
| Exact match — fine-tunesame 299-row holdout | 0.826 |
| Exact match — Claude Haikusame 299-row holdout | 0.763 |
| Exact match — Claude Sonnetsame 299-row holdout | 0.846 |
| Exact match — Claude Opussame 299-row holdout | 0.883 |
| Valid JSON299 / 299 | 100% |
| Latency per messageon an M3 Pro laptop | 0.63 s |
What success meant
Success was defined before training: valid output every time, and accuracy in the frontier range on data the model had never seen. Both met, and customer text never leaves the machine.
Known remaining errors: over-calling urgency as 'soon' and missing preferred times. Those are the next data fix, not a mystery.