PersonaOS Qwen3 4B Instruct (GGUF)
A fine-tune of Qwen3-4B-Instruct-2507 for PersonaOS, a self-hosted personal assistant. It is trained to use PersonaOS's tools well: reminders, a daily planner, notes, memories, goals and a sprint board. It also learns when not to call a tool: plain questions, sums and creative requests.
One file, Q4_K_M (2.5 GB). Recommended: a GPU with 8 GB or more of graphics memory and 16 GB
of system memory. Measured on an RTX 3060 12 GB (Ollama 0.40.15, flash attention, q8_0 cache):
with PersonaOS's default 16k context the model takes 4.0 GB of graphics memory, 5.3 GB at 32k,
and generates about 92 tokens/s. PersonaOS's voice services (Whisper and Kokoro) take another
2.2 GB on the same card, so a 6 GB card is not enough with voice. Use a context of 16k or more:
PersonaOS's instructions and tools alone take about 9,000 tokens.
Use with Ollama
ollama pull hf.co/purush0th/personaos-qwen3-4b-instruct-GGUF:Q4_K_M
ollama cp hf.co/purush0th/personaos-qwen3-4b-instruct-GGUF:Q4_K_M personaos-qwen3:4b
The second command gives it the short name PersonaOS uses, without copying the files. PersonaOS
can also find your Ollama and download this model for you, from the Setup Wizard or Settings
(provider "Ollama"); it names it personaos-qwen3:4b itself.
template is the template Ollama's own qwen3:4b-instruct ships. With it, Ollama renders
prompts with the base model's chat template embedded in the GGUF, the one this model was trained
and evaluated with. Without it, Ollama picks its generic Qwen3 template, which starts every reply
with <think> and writes tools differently. Sampling settings are in params (temperature
0.7, top_k 20, top_p 0.8).
Training
- Method: LoRA (rank 16) with Unsloth, 2 epochs, learning rate 5e-5, merged and quantized to Q4_K_M with llama.cpp.
- Data: 1,246 examples from 582 conversations. Synthetic prompts were sent through the PersonaOS app against made-up test data, and only turns that ended right were kept. Labels are the app's final answers, after its own checks. The prompts are kept apart from the evaluation suites. No personal data was used.
- Held-out loss: 0.077 after epoch 1, 0.067 after epoch 2.
Evaluation
Measured with PersonaOS's own test suites (scripts/model-check.ps1), inside the app.
| Suite | Stock Qwen3-4B-Instruct-2507 | This model |
|---|---|---|
| core + extended | 96.3% | 97.8% |
| holdout | 100% | 100% |
| holdout2 | 100% | 100% |
| holdout3 | 95.6% | 100% |
| planner | 100% | 100% |
Both models ran with the same app version, 3 runs per scenario. With the app's later fixes, this model passed 465 of 465 checks at 5 runs per scenario. Those results depend on PersonaOS's checks around the model; they are not a general benchmark.
Limitations
- Made for PersonaOS's tools and system prompt. Elsewhere it behaves much like the base model, and it has not been tested for general use.
- It is a small model. It can be wrong, misread dates and times, or call the wrong tool. Check anything important.
- English only in training.
Disclaimer
Provided "as is", without warranties of any kind, as set out in the Apache License 2.0. You are responsible for how you use it and for checking what it says. Not made, endorsed or supported by Qwen or Alibaba Cloud.
Licence
Apache License 2.0, the same as the base model. See LICENSE and NOTICE.