Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
{
"name": "calibration_long_single_window",
"state": "Subject: Double charged on invoice 88213\n\nHi, I was billed twice this month for the Pro plan and the second charge has not been refunded. This is the third time I have written in. If it is not fixed today I am cancelling the account.",
"questions": {
"topic": {
"type": "choice",
"instructions": "What is the request about?",
"criteria": {
"refund": "money back, duplicate charge",
"technical": "bugs and outages",
"other": null
}
},
"urgency": {
"type": "score",
"instructions": "How urgent is this request?",
"criteria": [
"not urgent",
"this week",
"today"
]
},
"cancel": {
"type": "noul",
"instructions": "The customer threatens to cancel the account."
}
},
"options": {},
"calibration": {
"file": "calibration_fixture.json",
"payload": {
"version": 1,
"temperature": [
1.8,
2.2,
1.3
],
"temperature_by_options": {
"choice:3-5": 2.4,
"noul:2": 0.8,
"choice:6-10": 0.6,
"score:6-10": 3.0
},
"binning_map": {
"choice:3-5": {
"bins": 4,
"values": [
0.47,
0.31,
0.92,
0.68
]
},
"noul:2": {
"bins": 4,
"values": [
0.12,
0.34,
0.57,
0.81
]
},
"score:6-10": {
"bins": 3,
"values": [
0.44,
0.18,
0.79
]
},
"choice:11+": {
"bins": 2,
"values": [
0.5,
0.9
]
},
"score:2": {
"bins": 1,
"values": [
0.5
]
}
}
}
},
"state_tokens": 56,
"effective_window": 760,
"effective_stride": 380,
"effective_room": 990,
"windows": [],
"result": {
"model": "laya-rl-agent-onnx",
"answers": {
"topic": {
"type": "choice",
"choice": "refund",
"probabilities": {
"refund": 0.6027,
"technical": 0.1007,
"other": 0.2967
},
"confidence": 0.1837,
"answer_confidence": 0.92,
"action": {
"act_probability": 1.0
}
},
"urgency": {
"type": "score",
"score": 1.2934,
"legend": {
"0": "not urgent",
"1": "this week",
"2": "today"
},
"probabilities": {
"0": 0.1116,
"1": 0.4835,
"2": 0.405
},
"confidence": 0.1243,
"answer_confidence": 0.4835,
"action": {
"act_probability": 1.0
}
},
"cancel": {
"type": "noul",
"noul": 0.0193,
"confidence": 0.9807,
"answer_confidence": 0.81,
"action": {
"act_probability": 1.0
}
}
},
"usage": {
"input_tokens": 264,
"output_tokens": 0,
"state_tokens": 56,
"state_tokens_dropped": 0,
"truncated": false,
"truncated_questions": [],
"windows": 1
}
}
}