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": "arabic",
"state": "تم خصم المبلغ مرتين من حسابي هذا الشهر ولم يتم إرجاع المبلغ الثاني. هذه هي المرة الثالثة التي أتواصل فيها.",
"serialized_state": "تم خصم المبلغ مرتين من حسابي هذا الشهر ولم يتم إرجاع المبلغ الثاني. هذه هي المرة الثالثة التي أتواصل فيها.",
"questions": {
"قسم": {
"type": "choice",
"instructions": "أي قسم يجب أن يتعامل مع هذا؟",
"criteria": {
"الفواتير": "المدفوعات والمبالغ المستردة",
"الدعم": "الأخطاء التقنية"
}
},
"إلغاء": {
"type": "noul",
"instructions": "العميل يهدد بإلغاء الحساب."
}
},
"per_question": [
{
"id": "قسم",
"type": "choice",
"qtype": 0,
"instructions": "أي قسم يجب أن يتعامل مع هذا؟",
"head_text": "choice question: أي قسم يجب أن يتعامل مع هذا؟",
"options": [
"الفواتير: المدفوعات والمبالغ المستردة",
"الدعم: الأخطاء التقنية"
],
"input_ids": [
2,
6241,
2872,
235292,
22940,
67477,
75709,
9572,
30816,
218566,
7847,
24008,
236391,
1,
4,
16157,
35012,
5630,
235292,
61500,
235416,
13929,
2724,
51131,
27610,
235756,
49538,
5277,
235440,
4,
14362,
23828,
235292,
6965,
52280,
11812,
106589,
60042,
1,
22129,
66948,
235359,
3651,
90272,
70834,
3869,
3710,
91255,
235384,
24008,
203600,
114527,
59071,
6276,
61150,
11184,
3651,
90272,
88378,
235265,
28726,
35235,
3651,
14642,
26493,
216430,
20146,
175352,
97183,
49256,
235265,
1
],
"markers": [
14,
29
]
},
{
"id": "إلغاء",
"type": "noul",
"qtype": 2,
"instructions": "العميل يهدد بإلغاء الحساب.",
"head_text": "noul question: العميل يهدد بإلغاء الحساب.",
"options": [
"false: no, the statement does not hold",
"true: yes, the statement holds"
],
"input_ids": [
2,
552,
6311,
2872,
235292,
7823,
79774,
4443,
15127,
235377,
89922,
235353,
235756,
11812,
9642,
120659,
235265,
1,
4,
1566,
235292,
793,
235269,
573,
6218,
1721,
780,
3385,
4,
1382,
235292,
7778,
235269,
573,
6218,
12723,
1,
22129,
66948,
235359,
3651,
90272,
70834,
3869,
3710,
91255,
235384,
24008,
203600,
114527,
59071,
6276,
61150,
11184,
3651,
90272,
88378,
235265,
28726,
35235,
3651,
14642,
26493,
216430,
20146,
175352,
97183,
49256,
235265,
1
],
"markers": [
18,
28
]
}
],
"batch": {
"input_ids": [
[
2,
6241,
2872,
235292,
22940,
67477,
75709,
9572,
30816,
218566,
7847,
24008,
236391,
1,
4,
16157,
35012,
5630,
235292,
61500,
235416,
13929,
2724,
51131,
27610,
235756,
49538,
5277,
235440,
4,
14362,
23828,
235292,
6965,
52280,
11812,
106589,
60042,
1,
22129,
66948,
235359,
3651,
90272,
70834,
3869,
3710,
91255,
235384,
24008,
203600,
114527,
59071,
6276,
61150,
11184,
3651,
90272,
88378,
235265,
28726,
35235,
3651,
14642,
26493,
216430,
20146,
175352,
97183,
49256,
235265,
1
],
[
2,
552,
6311,
2872,
235292,
7823,
79774,
4443,
15127,
235377,
89922,
235353,
235756,
11812,
9642,
120659,
235265,
1,
4,
1566,
235292,
793,
235269,
573,
6218,
1721,
780,
3385,
4,
1382,
235292,
7778,
235269,
573,
6218,
12723,
1,
22129,
66948,
235359,
3651,
90272,
70834,
3869,
3710,
91255,
235384,
24008,
203600,
114527,
59071,
6276,
61150,
11184,
3651,
90272,
88378,
235265,
28726,
35235,
3651,
14642,
26493,
216430,
20146,
175352,
97183,
49256,
235265,
1,
0,
0
]
],
"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,
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,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
]
],
"marker_pos": [
[
14,
29
],
[
18,
28
]
],
"marker_mask": [
[
true,
true
],
[
true,
true
]
],
"qtype": [
0,
2
]
},
"marker_axis_padded": false,
"logits": [
[
0.3361915349960327,
-1.2505687475204468
],
[
4.804673194885254,
0.17464512586593628
]
],
"act_logits": [
[
1296.288818359375,
-1541.6138916015625
],
[
1327.060302734375,
-1573.1815185546875
]
],
"result": {
"model": "laya-rl-agent",
"answers": {
"قسم": {
"type": "choice",
"choice": "الفواتير",
"probabilities": {
"الفواتير": 0.8302,
"الدعم": 0.1698
},
"confidence": 0.3427,
"answer_confidence": 0.8302,
"action": {
"act_probability": 1.0
}
},
"إلغاء": {
"type": "noul",
"noul": 0.0097,
"confidence": 0.9903,
"answer_confidence": 0.9903,
"action": {
"act_probability": 1.0
}
}
},
"usage": {
"input_tokens": 142,
"output_tokens": 0,
"state_tokens": 32,
"state_tokens_dropped": 0,
"truncated": false,
"truncated_questions": []
}
}
}