4 Downloads Updated 2 days ago
ollama run Mesta/mantra:4b
Updated 2 days ago
2 days ago
afbc0a548169 · 2.7GB
A 4-billion-parameter model for closed-option decisions, step-by-step reasoning and tool use, small enough to run on a laptop. LoRA fine-tune of Qwen3.5-4B (Apache-2.0), 4-bit (Q4_K_M), 2.7 GB. Build v3.6-B.
ollama run mesta/mantra:4b
Defaults: temperature 0 (deterministic), 4,096-token context. English and Indonesian.
Before answering, the model writes a short header choosing how to work:
Mode: decide | reason | act
Effort: low | medium | high
Answer: <letter> and a one-line
reason. If the evidence is insufficient it says so instead of guessing.Tools. Put the tool list in the system prompt. The model calls a tool by replying with only
<tool_call>{"name": "<tool>", "arguments": {...}}</tool_call>
Your application runs the tool and sends the result back as a tool message; the model then
continues. It is trained to treat tool results and documents as data, not instructions, and to
ask before deleting records or sending messages.
| Test | Score |
|---|---|
| Closed-option decisions (183 units) | 0.995 |
| GSM8K (math word problems) | 0.790 |
| AQuA-RAT | 0.560 |
| Mind2Web next action | 0.947 |
| MMLU (200-question sample) | 0.660 |
| Multi-step enterprise tool scenarios (88) | 0.909 |
| typed-decisions test split (2,000 questions; prior 0.483) | 0.545 |
| HumanEval+ / MBPP+ | 0.494 / 0.511 |
| WARN Act layoff records with a lookup tool (200 questions; base Qwen3.5-4B: 0.180) | 0.675 |
Human-written: OpenAssistant oasst2 (chat), GSM8K (with its calculator annotations), AQuA-RAT, Mind2Web. Synthetic sets written for this project with the owner’s permission: identity Q&A, enterprise tool use, commitment episodes and prompt-injection resistance. No benchmark test split was trained on.
Apache-2.0, as is the base model Qwen3.5-4B.