decima:agent
4 TagsUpdated 321M params2048 context100+ languagesApache-2.0by A. M. Madani
Decima-agent 2.1: decima-base fine-tuned for coding-agent decisions (secret and command gates, tool and model choice); states up to 2,048 tokens.
multilingual321m
ollaya run decima:agent --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": "decima:agent",
"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": "decima:agent",
"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: "decima:agent",
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
- graph713a903f75c2 · 5 MB
onnx · decima · 321M · fp32 - weightsbd47dc3f80bf · 1.2 GB
huggingface.co/amyrmahdy/decima-agent/resolve/86a07aa…/pytorch/encoder/model.safetensors - weights5d865ca48f72 · 57 MB
huggingface.co/amyrmahdy/decima-agent/resolve/86a07aa…/pytorch/head.safetensors - tokenizerd941237f7b66 · 34 MB
huggingface.co/amyrmahdy/decima-agent/resolve/86a07aa…/pytorch/encoder/tokenizer.json - decision6deba326a211 · 3 KB
{"engine": "onnx", "family": "decima", "encoder": "", "layout": "decima-late-interaction-v1", …} - calibrationd94b8180c1b8 · 291 B
{"temperature": [0.608, 1.0, 0.608]} - licensed2a0668879d4 · 11 KB
Decima-small, Decima-base and Decima-agent by A. M. Madani (https://huggingface.co/amyrmahdy, https://github.com/amyrmahdy/decima), Apache-2.0.
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.