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": "choice_criteria_list",
"state": "I would like to upgrade to the enterprise plan.",
"serialized_state": "I would like to upgrade to the enterprise plan.",
"questions": {
"intent": {
"type": "choice",
"instructions": "Classify the intent.",
"criteria": [
"upgrade",
"downgrade",
"cancel",
"support"
]
}
},
"per_question": [
{
"id": "intent",
"type": "choice",
"qtype": 0,
"instructions": "Classify the intent.",
"head_text": "choice question: Classify the intent.",
"options": [
"upgrade",
"downgrade",
"cancel",
"support"
],
"input_ids": [
50281,
22122,
1953,
27,
6550,
1419,
253,
6860,
15,
50282,
50284,
15047,
50284,
1066,
7698,
50284,
14002,
50284,
1329,
50282,
42,
651,
751,
281,
15047,
281,
253,
16100,
2098,
15,
50282
],
"markers": [
10,
12,
15,
17
]
}
],
"batch": {
"input_ids": [
[
50281,
22122,
1953,
27,
6550,
1419,
253,
6860,
15,
50282,
50284,
15047,
50284,
1066,
7698,
50284,
14002,
50284,
1329,
50282,
42,
651,
751,
281,
15047,
281,
253,
16100,
2098,
15,
50282
]
],
"attention_mask": [
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
]
],
"marker_pos": [
[
10,
12,
15,
17
]
],
"marker_mask": [
[
true,
true,
true,
true
]
],
"qtype": [
0
]
},
"marker_axis_padded": false,
"logits": [
[
6.577563762664795,
-2.62333607673645,
-3.1488473415374756,
-0.5583876371383667
]
],
"act_logits": [
[
3876.214111328125,
-3165.72265625
]
],
"result": {
"model": "laya-rl-agent",
"answers": {
"intent": {
"type": "choice",
"choice": "upgrade",
"probabilities": {
"upgrade": 0.974,
"downgrade": 0.0052,
"cancel": 0.0039,
"support": 0.0169
},
"confidence": 0.8964,
"answer_confidence": 0.974,
"action": {
"act_probability": 1.0
}
}
},
"usage": {
"input_tokens": 31,
"output_tokens": 0,
"state_tokens": 10,
"state_tokens_dropped": 0,
"truncated": false,
"truncated_questions": []
}
}
}