Skip to content

DocsRun on your hardware

5 min read · updated

Serve Decisio-mini-4b-v1

Run Decisio-mini-4b-v1, a small Qwen3.5-4B tuned for decisions, on one GPU, a Mac or Ollama, with exact arithmetic and pictures, from 9.3 GB of weights.

Decisio-mini-4b-v1 is for a small machine that has to answer fast: one GPU with room to spare, a Mac, or a laptop with Ollama. It is a Qwen3.5-4B fully fine-tuned for decisions, 9.3 GB in bf16, with a probability for every option and exact arithmetic for bills, invoices, payslips and dates built in. It reads pictures too.

On a Linux machine with one NVIDIA GPU and Python 3.12, this starts the commit flavor:

shell
python3.12 -m venv .venv && . .venv/bin/activate
pip install "decisio[serve]==0.59.0"
python -m decisio.serve.vllm_engine \
--base tachara-ai/Decisio-mini-4b-v1

Needs Linux with one NVIDIA card and room for 9.3 GB of bf16 weights.

The first start downloads the model (9.3 GB) and the calculator’s small tagger.

Every repository holds the same weights in one of two flavors:

FlavorUse it when
commityou act on yes/no answers: a yes/no between 20% and 80% is reported as 20% or 80%; the answer never changes
calibratedyou use the probabilities themselves: thresholds, ranking, expected values
Format, sizeRepositoryFlavorRuns on
bf16, 9.3 GBtachara-ai/Decisio-mini-4b-v1commitan NVIDIA GPU
bf16, 9.3 GBtachara-ai/Decisio-mini-4b-v1-calibratedcalibratedan NVIDIA GPU
MLX 8-bit, 4.5 GBtachara-ai/Decisio-mini-4b-v1-mlx8commita Mac with Apple silicon
Ollama q8_0, 5.3 GBaminroudaki/decisio-mini-4b-v1 (also latest)calibratedany machine with Ollama

The bf16 and MLX repositories serve with the calculator on. The Ollama listing has none: it comes only with decisio’s own server.

Across 11,870 held-out questions in five sets, Decisio-mini-4b-v1 was right on 71.7% where the Qwen3.5-4B it is built on was right on 57.4%. On a 1,178-question check outside its training distribution, it was right on 81.1% against the base’s 71.6%.

Held-out questions never trained on, each model read the same way (bf16, the same prompt layout, without the calculator); they are not scores on an independent benchmark. The model’s Hugging Face card.

  • --base owner/name takes the repository’s weights and its settings, the calculator included; no other flag is needed.
  • A flag you give still applies, and is recorded as an override, as on a flavor.
  • Pin a revision with @, as --base tachara-ai/Decisio-mini-4b-v1@<revision>: each repository’s page lists its revisions.

Add --images on, and the same engine that reads the text reads the pictures:

shell
python -m decisio.serve.vllm_engine \
--base tachara-ai/Decisio-mini-4b-v1 --images on

Needs Linux with one NVIDIA card.

  • Text answers are the same with images on: 300 held-out text questions gave identical probabilities, all 300.
  • A picture costs one token per 32 by 32 pixels, from 64 to 16,384 tokens, so shrink a large photo when its detail is not needed.
  • Box questions are not served, and the calculator and registered tasks do not run on a request with pictures.
  • Ask about images has the request.

On 257 image questions about synthetic scenes and real photos, it was right on 90.27%, where Qwen3.5-4B was right on 88.33%. A new picture took a median of 87 ms, and 31 ms when the same picture was asked about again.

One RTX PRO 6000 (96 GB), vLLM 0.31.0, bf16, one picture each, one request at a time; decisio’s docs/running.md.

decisio serves the 8-bit MLX repository on a Mac with Apple silicon:

shell
pip install "decisio[mlx]==0.59.0"
python -m decisio.serve.vllm_engine --backend mlx \
--base tachara-ai/Decisio-mini-4b-v1-mlx8

Needs a Mac with Apple silicon.

The weights take 4.5 GB, and MLX peaks at 6.4, 7.3 and 9.5 GB with about 8k, 16k and 32k tokens of text. Against the bf16 model on vLLM, it gave the same top answer on 98.8% of 2,389 held-out questions, with a median of 297 ms per question and 883 ms at the 95th percentile.

One Apple M5 Pro (64 GB), calculator on, one request at a time; decisio’s docs/running.md.

For pictures, install the mlx-images extra and add --images on:

shell
pip install "decisio[mlx-images]==0.59.0"
python -m decisio.serve.vllm_engine --backend mlx \
--base tachara-ai/Decisio-mini-4b-v1-mlx8 --images on

Needs a Mac with Apple silicon.

The vision tower, 0.67 GB, is downloaded once, only when images are on. A new picture took a median of 721 ms on the same Mac, with the same top answer as the bf16 model on 99.2% of the image questions.

Ollama 0.40.4 or later runs the listing on Mac, Linux or Windows:

shell
ollama pull aminroudaki/decisio-mini-4b-v1

Ollama runs its own listing of the model, so its answers are not a decisio server's.

Ask a question on Ollama’s decision route, on port 11434, with the listing named in model; a picture goes in the request’s images field, base64-encoded:

shell
curl http://localhost:11434/v1/systemone \
-H 'Content-Type: application/json' \
-d '{
"model": "aminroudaki/decisio-mini-4b-v1",
"state": "Hi, since this morning none of our 40 staff can log in to the dashboard. We get \"session expired\" right after entering the password. Payroll is due today.",
"questions": {
"urgent": {
"type": "noul",
"instructions": "Does this ticket need a response within the hour?"
},
"category": {
"type": "choice",
"instructions": "Which team should handle this ticket?",
"criteria": {
"billing": "Invoices, payments, refunds",
"access": "Login, passwords, permissions",
"bug": "The product behaves wrongly",
"other": null
}
},
"impact": {
"type": "score",
"instructions": "Rate the business impact using only the reported facts.",
"criteria": [
"No function impaired",
"One user impaired, with a workaround",
"Many users blocked from a core function",
"Data loss or legal exposure"
]
}
}
}'

Ollama runs its own listing of the model, so its answers are not a decisio server's.

Ollama answers with the model’s own temperatures and reads a picture through the listing’s projector. It gave the same top answer as the bf16 model on 99.2% of the image questions above. On a Mac or a laptop says how Ollama differs from a decisio server.

GET /v1/models and /health report the served name: Decisio-mini-4b-v1-commit, or Decisio-mini-4b-v1-mlx8-commit on a Mac.

Tasks and certificates are per model and per flavor: register and certify your tasks again on Decisio-mini-4b-v1, as on Teach a task.

  • It was tuned on text; its picture reading is the base’s, measured on one set of 257 questions.
  • Its gains are largest on questions about the text it is given; it is weaker on some general-knowledge choice sets.
  • Arithmetic over a text is its hardest area; the calculator puts exact line values in front of it where it can read them.
  • It is English-centred: trained and measured mostly in English.
  • The accuracy figures are on held-out questions of the training distribution; your questions may differ, so check it on yours with Evaluate your task.

The weights are Apache-2.0, as the base’s, and the training data is not disclosed.