gorun Qwen3 4B (GGUF)
A fine-tune of Qwen3 4B Instruct 2507 for the
assistant in gorun's web UI (gorun -serve). It is trained to write
Gorunfile tasks, explain gorun's concepts, answer questions about a loaded Gorunfile, diagnose failed
runs and summarise run history.
It is gorun's built-in model: gorun -serve downloads it on the assistant's first question.
It writes small tasks, each with a check and a verify, splits a bigger job into small tasks
that depend on each other, and writes and changes [[schedule]] entries. It is experimental and
needs much more training. Its answers to general questions about gorun can still contain made-up
options or settings. Check them against the
docs.
Use it with gorun
Nothing to set: it is the default. To use it from another runtime, or to pin this build:
GORUN_LLM_MODEL=https://huggingface.co/jenmud/gorun-qwen3-4b-GGUF/resolve/main/gorun-qwen3-4b-v6-q4_k_m.gguf gorun -serve Gorunfile
| File | Quant | Size | SHA-256 |
|---|---|---|---|
gorun-qwen3-4b-v6-q4_k_m.gguf | Q4_K_M | 2.5 GB | cf0ab5b11fe37280cb3e80b220c2a1e0b3ca53c30f3789da8489c9e72189ef0d |
gorun-qwen3-4b-v5-q4_k_m.gguf (superseded) | Q4_K_M | 2.5 GB | ae51617c61794d257bd7bf42682adf12274854b7c3f2cc1595b02f31c32ff2ea |
gorun-qwen3-4b-v4-q4_k_m.gguf (superseded) | Q4_K_M | 2.5 GB | 2c2f04366ea17dbd8b57df8c457700c82f18656d879d597ef5b765403dcfa57f |
gorun-qwen3-4b-v3-q4_k_m.gguf (superseded) | Q4_K_M | 2.5 GB | 53f237147bff4d35dbfbfb21f65694ef21d9c7376726b37eb0e1f2320d32072c |
gorun-qwen3-4b-v2-q4_k_m.gguf (superseded) | Q4_K_M | 2.5 GB | 422b889d271833d1bc15048c7c132296cab02b9a94c7cf9fc590126f1e062653 |
gorun-qwen3-4b-q4_k_m.gguf (v1, superseded) | Q4_K_M | 2.5 GB | 6aa4a83cc9affb020eb7ad6ccb9ba725e3ec10a4d95ca4fda68e4b1f89b07372 |
It uses Qwen3's ChatML template and works with any llama.cpp-based runtime.
Training
- QLoRA (4-bit nf4 base, LoRA rank 16, alpha 32, all linear projections), fp16, on one RTX 2060 SUPER. v3 was trained from the base for 1 epoch at a learning rate of 2e-4 on 3,146 examples up to 3,072 tokens (about 3 hours); v4 continues v3's adapter for 1 epoch at 1e-4 on 3,908 examples (about 5 hours); v5 continues v4's adapter for 1 epoch at 1e-4 on 4,768 examples (about 6 hours); v6 continues v5's adapter for 1 epoch at 1e-4 on 5,129 examples (about 7 hours).
- The examples are built from hand-written seeds by gorun's own prompt code. Each one carries
the context the assistant gets in
gorun -serve, and every task in a reply is checked to load. v2 adds seeds that split jobs into small dependent tasks, one-liners with acheckand averify,local = truetasks for Gorunfiles with no SSH server, and more questions about gorun, go-run.dev and the web UI. v3 adds writing and changing schedules, and questions about gorun that carry the doc sections gorun's web UI now sends with them. v4 adds a production Gorunfile (load balancers, app servers, Postgres, Redis, schedules) and a developer workstation, more task seeds (apt repos, systemd units, release binaries, backups, certificates, replication), changing a task's timeout, retries, dependencies or sudo in chat, which servers run a task, and corrected answers about users, signed-in runs, schedules and models. v5 comes from real conversations: it adds what common commands print (df -h,docker ps,docker inspect,ss, …) and how to summarise it, Docker host and local stats Gorunfiles, and questions about passed runs: which tasks were unchanged and why, why others ran, what a task printed, and a wrong count put right from the run's record. v6 adds Docker, Docker Compose and Linux admin seeds, parsing output with awk, grep and jq, Go templates in tasks (vars, loops,raw), nested vars, more corrections from real conversations, and schedules whose cron is spelled out field by field, with many more timings. The recipe is intraining/. - The adapter was merged into the fp16 base, converted with llama.cpp b12359 and quantised to Q4_K_M.
Evaluation
Held-out examples, run through gorun's built-in llama.cpp engine. v6's set has 821 examples, with more schedules; v5 was scored on the same set.
| Kind | v5 | v6 |
|---|---|---|
| Write tasks (chat) | 117/139 | 114/139 |
| Change a task (chat) | 5/5 | 5/5 |
| Write and change schedules | 53/68 | 58/68 |
| Write tasks | 123/133 | 119/133 |
| Fix tasks that didn't load | 20/20 | 20/20 |
| Diagnose a failed run | 81/83 | 83/83 |
| Summarise runs | 102/102 | 101/102 |
| Say what a task printed | 17/22 | 20/22 |
| Questions about the Gorunfile | 88/93 | 92/93 |
| Questions about gorun | 70/156 | 71/156 |
| All | 82.3% | 83.2% |
On v5's 724-example set v4 scored 81.5% and v5 84.7%. On v4's 622-example set v3 scored 78.0% and v4 83.1%. On v3's 120-example set v2 scored 68.3% and v3 80.8%; on v2's own set the stock Qwen3 4B Instruct 2507 scored 59.2%.
The check is mechanical: tasks must load, and the expected words must appear in the reply. Questions about gorun are still its weak spot, even with the docs in front of it: it can make up flags and settings. Check its answers against the docs.
License
Apache 2.0, the same as the base model. Changes from the base: fine-tuned on gorun data as described above.