gliclass:latest
2 TagsUpdated 439M params1024 contextEnglishApache-2.0by Knowledgator
Same as gliclass:large.
439m
ollaya run gliclass --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": "gliclass",
"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": "gliclass",
"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: "gliclass",
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
- graph4e3b560979fa · 5 MB
onnx · deberta-v3-large · 439M · fp32 - weights4b5d4d9cbc20 · 1.8 GB
huggingface.co/knowledgator/gliclass-instruct-large-v1.0/resolve/825e547…/model.safetensors - tokenizerd05acaafc9ed · 9 MB
huggingface.co/knowledgator/gliclass-instruct-large-v1.0/resolve/825e547…/tokenizer.json - decision8737da38a0f0 · 1 KB
{"engine": "onnx", "family": "gliclass", "encoder": "microsoft/deberta-v3-large", "layout": "gliclass-uni-v1", …} - calibration316915b3e458 · 84 B
{"temperature": [1.0, 1.0, 1.0]} - licensea3ff2777dec3 · 10 KB
GLiClass instruct large v1.0 by Knowledgator (https://huggingface.co/knowledgator/gliclass-instruct-large-v1.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.