35 Downloads Updated 3 days ago
ollama run aminroudaki/decisio-mini-4b-v1
Decisio-mini-4b-v1 answers closed questions about any text or image, with a calibrated probability for every option. Give it a piece of text (a support ticket, a document, a chat message, a JSON record), optionally images, and one or more questions; it returns, for each question, the chosen answer and how likely each option is, from one forward pass per question, with nothing generated.
Requires Ollama 0.40.4 or later (checked on 0.40.19).
ollama pull aminroudaki/decisio-mini-4b-v1
Send the text as state and your questions to Ollama’s decision endpoint:
curl http://localhost:11434/v1/systemone -d '{
"model": "aminroudaki/decisio-mini-4b-v1",
"state": "Our 40 staff cannot log in. Payroll is due today.",
"questions": {
"urgent": {
"type": "noul",
"instructions": "Needs an answer within the hour?"
},
"category": {
"type": "choice",
"instructions": "Which team should handle it?",
"criteria": {
"billing": "Invoices, payments, refunds",
"access": "Login, passwords, permissions",
"bug": "The product behaves wrongly",
"other": null
}
}
}
}'
Response (probabilities rounded):
{
"answers": {
"urgent": {"type": "noul", "noul": 0.866},
"category": {"type": "choice", "choice": "access", "confidence": 0.950,
"probabilities": {"billing": 0.019, "access": 0.962, "bug": 0.012, "other": 0.007}}
},
"usage": {"input_tokens": 302, "output_tokens": 0}
}
Put each image in the request’s images field, base64-encoded, and refer to it as [image 1], [image 2] in the state or a question:
curl http://localhost:11434/v1/systemone -d '{
"model": "aminroudaki/decisio-mini-4b-v1",
"state": "The customer sent this photo of the parcel: [image 1]",
"images": ["'"$(base64 < parcel.jpg | tr -d '\n')"'"],
"questions": {
"damaged": {"type": "noul", "instructions": "Is the parcel damaged?"}
}
}'
On 257 image questions (synthetic scenes and real photos; yes/no, choice and score), it answered 89.5% correctly with an expected calibration error of 0.03.
An image costs about 700 tokens at the median (up to about 2,400 for a large photo), counted in usage.input_tokens; a question with an image took about 0.9 s at the median on the same laptop.
noul (yes/no) is the probability of yes; choice is the top option with every option’s probability; a score question returns the expected level and each level’s probability.
| Tag | Download |
|---|---|
q8_0 (also latest) |
4.6 GB, and the 0.7 GB vision projector |
It took 7.6 GB of memory while answering with images and its 16,384-token context (Ollama’s own figure on a Mac).
Qwen/Qwen3.5-4B fully fine-tuned as a decision model, converted with llama.cpp and quantised to Q8_0.systemone chat template.[image N] mark or to one question only.For those, run decisio itself with --base tachara-ai/Decisio-mini-4b-v1 on a GPU, or --backend mlx --base tachara-ai/Decisio-mini-4b-v1-mlx8 on a Mac: github.com/aminry/decisio.