decider:latest
3 TagsUpdated 1.9B params32768 contextEnglishApache-2.0by Mapika
Same as decider:2b.
1.9b
ollaya run decider --preset triage "I was charged twice for my subscription this month and want a refund."curl http://localhost:11435/api/decide \
-H "Content-Type: application/json" \
-d '{
"model": "decider",
"state": "I was charged twice for my subscription this month and want a refund.",
"questions": {
"department": {
"type": "choice",
"instructions": "Which team should handle this?",
"criteria": {
"billing": "Payments, invoices and refunds",
"technical": "Bugs, errors and outages",
"account": "Login, profile and settings"
}
},
"refund": {
"type": "noul",
"instructions": "Is the customer asking for a refund?"
}
}
}'# Already using a TypeSafe SDK? Set TYPESAFE_BASE_URL=http://localhost:11435 instead.
import requests
response = requests.post(
"http://localhost:11435/api/decide",
json={
"model": "decider",
"state": "I was charged twice for my subscription this month and want a refund.",
"questions": {
"department": {
"type": "choice",
"instructions": "Which team should handle this?",
"criteria": {
"billing": "Payments, invoices and refunds",
"technical": "Bugs, errors and outages",
"account": "Login, profile and settings"
}
},
"refund": {
"type": "noul",
"instructions": "Is the customer asking for a refund?"
}
}
},
)
answers = response.json()["answers"]
print(answers["department"]["choice"], answers["refund"]["noul"])const response = await fetch("http://localhost:11435/api/decide", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
model: "decider",
state: "I was charged twice for my subscription this month and want a refund.",
questions: {
department: {
type: "choice",
instructions: "Which team should handle this?",
criteria: {
billing: "Payments, invoices and refunds",
technical: "Bugs, errors and outages",
account: "Login, profile and settings"
}
},
refund: {
type: "noul",
instructions: "Is the customer asking for a refund?"
}
}
}),
});
const { answers } = await response.json();
console.log(answers.department.choice, answers.refund.noul);Details
- graphbfba1f3d3531 · 8 MB
onnx · decider · 1.9B · fp32 - weights1bf79b6aa696 · 3.8 GB
huggingface.co/Mapika/decider-2b/resolve/9839cc9…/model.safetensors - tokenizer06b9509352d2 · 20 MB
huggingface.co/Mapika/decider-2b/resolve/9839cc9…/tokenizer.json - decision50a9e0dbb96d · 9 KB
{"engine": "onnx", "family": "decider", "encoder": "", "layout": "decider-slots-v1", …} - calibration45e3a2cf8b73 · 259 B
{"temperature": [1.0, 1.0, 1.0]} - licenseb4d9d0d19903 · 10 KB
decider by Mapika (https://huggingface.co/Mapika/decider-2b)
Every layer is checked against its sha256 when it is pulled. Weights and tokenizers download from the model author's Hugging Face repository at a pinned commit; Ollaya never re-hosts them.