A compact Russian tool-calling model for the offline kuzya agent on a phone
(Poco F1, skladenOS). Fine-tuned from Qwen/Qwen3-1.7B with LoRA on synthetic
teacher-generated data; runs as GGUF Q4_K_M through llama-server.
nafanya is the model; kuzya is the agent that runs it. The agent, its tools and its rules live in a separate repository.
Qwen/Qwen3-1.7B (Apache-2.0).temperature 0, compact prompt, GGUF Q4_K_M. Sets are Russian tool-selection queries
with exact expected tool and arguments.
| Set | Correct tool | With arguments |
|---|---|---|
| frozen 148-query set | 131/148 (89%) | 125/148 (84%) |
| held-out 40 (v2) | 33/40 (82%) | 32/40 (80%) |
| held-out 40 (v3) | 32/40 (80%) | 27/40 (68%) |
| held-out 40 (v4) | — | — |
With the kuzya rules layer (deterministic pre-routing and argument repair in the agent, not in these weights) the same model scores 98–100% on the fresh sets: 40/40 on held-out v4 and v3 and 40/40 on v2. Do not attribute those numbers to the weights alone.
Phone (Poco F1, Q4_K_M): peak RAM 1.71 GB, load 3–4 s, warm energy 8.9 J per query with rules (30.7 J without rules), mean 2.4 s per query with rules.
mute_set and nosleep_set on/off can be inverted without the agent rules.service_logs.Qwen/Qwen3-1.7B