774 1 week ago

The smallest model in the family, built to run faster and on CPU. Define intents at prompt time, no retraining. It averages 92.2% in-scope accuracy at half the parameters of the larger 1.5B models.

tools thinking 0.8b
ollama run Abyssal/intent-classifier-general-small

Details

1 week ago

4a46cd2ffd6c · 1.6GB

qwen35
·
773M
·
BF16
You are a precise intent classifier. You are given a list of candidate intents, each written as `nam
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR US
{ "num_ctx": 2048, "temperature": 0 }
{{ .Prompt }}

Readme

Abyssal/intent-classifier-general-small

The 0.8B member of the intent-classifier-general family. It averages 92.2% in-scope accuracy across free and enum decoding (93.7% free / 90.7% enum) on the same 6,076-call audit as the 1.5B models, matching overall (92.1%) at roughly half the parameters. It stays on your candidate list in 6,075 of 6,076 calls, defines intents at prompt time with no retraining, and runs on a CPU.

Recommended usage

Turn thinking off. This is a Qwen3.5 model. With think left on (the default), Ollama returns the label in message.thinking and leaves message.content empty. Pass "think": false in the API, or --think=false on the CLI. The model was trained with thinking disabled, so this is the intended mode.

Routing (the normal case). No catch-all, no enum — the model is trained to answer with one of your intents:

curl http://localhost:11434/api/chat -d '{
  "model": "Abyssal/intent-classifier-general-small:0.8b",
  "stream": false,
  "think": false,
  "options": {"temperature": 0},
  "messages": [{"role": "user", "content":
    "Candidate intents:\nrefund: wants money back\ntracking: where their order is\naccount: login or profile\n\nUser message: where is my package?\n\nAnswer with exactly one intent name from the list above."
  }]
}'
# -> tracking

CLI: ollama run Abyssal/intent-classifier-general-small:0.8b --think=false

No out-of-scope mode. There is no trained none_of_the_above: small never refuses; it picks the closest intent. If you need rejection, see Limitations.

Hard in-list guarantee (optional). If you need decoding itself constrained to your labels, add a JSON-schema enum:

curl http://localhost:11434/api/chat -d '{
  "model": "Abyssal/intent-classifier-general-small:0.8b",
  "stream": false,
  "think": false,
  "format": {"type": "string", "enum": ["refund", "tracking", "account"]},
  "options": {"temperature": 0},
  "messages": [{"role": "user", "content":
    "Candidate intents:\nrefund: wants money back\ntracking: where their order is\naccount: login or profile\n\nUser message: where is my package?\n\nAnswer with exactly one intent name from the list above."
  }]
}'
# -> "tracking"  (the quotes are part of the JSON string)

The reply is a JSON string, so parse it or strip the quotes. This guarantees the output is one of your labels; see Accuracy for the trade-off.

Getting the best results

  • Write clear, specific descriptions. The model matches on the description, so this is the single biggest lever. Prefer tracking: track or locate a customer's order or shipment over a terse tracking: order status.
  • Keep temperature 0 (the baked-in default) for deterministic, repeatable routing.
  • Use the exact prompt shape shown above (Candidate intents: … User message: … Answer with exactly one intent name from the list above.) — it was trained on this format.
  • Names are free-form — snake_case, CamelCase, hyphens or plain words all work, including names the model has never seen; it matches by description and echoes your name verbatim.

Under the hood

Base: a reasoning-distilled Qwen3.5-0.8B checkpoint (Apache-2.0), 772.85M parameters. A LoRA adapter was fine-tuned on the acv3 intent corpus using the same prompt shape as acv3, with thinking disabled (enable_thinking: false) and a held-out validation split. Exported to GGUF at BF16 (~1.6 GB). Runs at temperature 0 with num_ctx 2048 and is fully deterministic.

Accuracy — 6,076 calls

6,076 calls at temperature 0 over the family’s 243-intent / 22-domain taxonomy, with zero message overlap with the training data.

Usage Free-gen acc In-list Enum-constrained acc In-list
In-taxonomy names, gold offered 93.8% 100% 91.2% 100%
+ near-synonym trap 93.3% 100% 91.0% 100%
Invented / custom names 93.3% 99.9% 89.2% 100%
Exact-phrase probes 100% 100% 100% 100%
Gold not offered — out of scope — 100% (0% rejected) — —

Across both modes, 6,075 of 6,076 answers came from the offered list. The one miss was a free-generation invented-name probe that answered with an unlisted synonym (house_loan for the offered home_loan); every other answer was on-list.

Enum-constrained decoding is slightly weaker on this model (90.7% vs 93.7% free), mostly on invented names (89.2%). Use it when a hard guarantee matters more than the last few points.

These 6,076-call results are reproducible: the 1.5B models’ per-call outputs are public at intent-classifier-audit, and the small run used the same harness with think: false.

small vs stock qwen3.5:0.8b vs acv3 vs overall

acv3 is the family’s most accurate 1.5B model; overall is the balanced 1.5B model with a trained none_of_the_above reject option. stock qwen3.5:0.8b is the untrained baseline.

Metric small stock qwen3.5:0.8b acv3 overall
In-scope accuracy (free + enum) 92.2% 64.5% 95.7% 92.1%
Free-gen accuracy (in-scope) 93.7% 66.0% 96.1% 90.2%
Near-synonym trap (free) 93.3% 64.4% 94.5% 91.0%
Invented / custom names (free) 93.3% 63.6% 96.2% 88.9%
Exact-phrase probes (free) 100% 90.0% 100% —
Answers on list 99.98% 99.2% 100.0% 89.2%
Out-of-scope rejection none 3.2% (accidental) opt-in 73.9%

small is +27.7 points over the stock 0.8B base (64.5% → 92.2%) — the fine-tune is doing the work, not the parameter count.

The fine-tune starts from a reasoning-distilled Qwen3.5-0.8B checkpoint, not the stock model; the baseline is shown for scale. Answers on list counts all 6,076 calls, including out-of-scope probes; models that refuse score lower there by design.

Held-out tests

Test small acv3
Held-out split — 1,163 unseen messages 94.6% 95.9%
Private airline test — 327 unseen messages 82.6% 89.6%

On the complete 1,437-message held-out split, small scores 94.9% (vs 96.0% for acv3). The private test covers 10 airline intents; neither model trained on those messages. The larger model keeps a clear edge on the narrow domain.

Limitations

  • No out-of-scope rejection. small has no reject option; it returns the closest intent. If you need one, use oav2, which rejects 86.7% of out-of-scope messages, or overall, which rejects 73.9%.
  • Short candidate lists. Training capped prompts at 768 tokens and used compact lists; the shipped context is 2,048 tokens. Very long intent lists are outside what this model was tuned for.
  • Enum costs accuracy. Grammar-constrained decoding is weaker on this model, especially on invented names; see Accuracy. Prefer free generation unless you need a hard guarantee.

Good for: edge deployment, CPU inference, local routing, triage, and any workload where every message must land in exactly one bucket and a 1.5B model is more than you need. Runs on CPU or a small GPU.

License: Apache-2.0, covering the base checkpoint and the LoRA adapter.