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": [
50281,
22122,
1953,
27,
23207,
6463,
47347,
14585,
5843,
32443,
23072,
13621,
49043,
32443,
8181,
13793,
30901,
4467,
13504,
13793,
29802,
31602,
3142,
148,
242,
50282,
50284,
9445,
11912,
6534,
24823,
44353,
27,
30331,
9211,
11912,
6534,
13793,
24823,
18152,
7427,
5843,
13621,
7427,
50011,
30331,
43246,
6900,
9211,
12458,
50284,
9445,
9211,
13793,
5843,
27,
48531,
28337,
29937,
10714,
96,
46751,
14062,
5846,
32229,
50282,
8181,
5843,
45232,
30265,
5843,
30331,
13621,
4467,
50011,
13504,
6900,
8181,
37927,
31461,
40913,
14585,
47931,
6463,
29802,
31602,
3142,
19621,
114,
9427,
6900,
18152,
4467,
5843,
32443,
8181,
5843,
48914,
6900,
23072,
10714,
119,
30331,
13621,
4467,
50011,
19621,
106,
18906,
6463,
15,
29802,
31602,
9427,
29802,
6463,
30331,
6900,
12458,
19621,
106,
7427,
37424,
12458,
46751,
6463,
23207,
8181,
6534,
10714,
115,
4467,
37710,
37760,
15,
50282
],
"markers": [
26,
50
]
},
{
"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": [
50281,
79,
3941,
1953,
27,
9445,
13793,
5843,
6463,
4467,
32443,
9427,
9211,
9211,
15677,
148,
100,
4467,
50011,
10714,
96,
19621,
244,
14585,
47931,
15,
50282,
50284,
3221,
27,
642,
13,
253,
3908,
1057,
417,
2186,
50284,
2032,
27,
4754,
13,
253,
3908,
6556,
50282,
8181,
5843,
45232,
30265,
5843,
30331,
13621,
4467,
50011,
13504,
6900,
8181,
37927,
31461,
40913,
14585,
47931,
6463,
29802,
31602,
3142,
19621,
114,
9427,
6900,
18152,
4467,
5843,
32443,
8181,
5843,
48914,
6900,
23072,
10714,
119,
30331,
13621,
4467,
50011,
19621,
106,
18906,
6463,
15,
29802,
31602,
9427,
29802,
6463,
30331,
6900,
12458,
19621,
106,
7427,
37424,
12458,
46751,
6463,
23207,
8181,
6534,
10714,
115,
4467,
37710,
37760,
15,
50282
],
"markers": [
27,
37
]
}
],
"batch": {
"input_ids": [
[
50281,
22122,
1953,
27,
23207,
6463,
47347,
14585,
5843,
32443,
23072,
13621,
49043,
32443,
8181,
13793,
30901,
4467,
13504,
13793,
29802,
31602,
3142,
148,
242,
50282,
50284,
9445,
11912,
6534,
24823,
44353,
27,
30331,
9211,
11912,
6534,
13793,
24823,
18152,
7427,
5843,
13621,
7427,
50011,
30331,
43246,
6900,
9211,
12458,
50284,
9445,
9211,
13793,
5843,
27,
48531,
28337,
29937,
10714,
96,
46751,
14062,
5846,
32229,
50282,
8181,
5843,
45232,
30265,
5843,
30331,
13621,
4467,
50011,
13504,
6900,
8181,
37927,
31461,
40913,
14585,
47931,
6463,
29802,
31602,
3142,
19621,
114,
9427,
6900,
18152,
4467,
5843,
32443,
8181,
5843,
48914,
6900,
23072,
10714,
119,
30331,
13621,
4467,
50011,
19621,
106,
18906,
6463,
15,
29802,
31602,
9427,
29802,
6463,
30331,
6900,
12458,
19621,
106,
7427,
37424,
12458,
46751,
6463,
23207,
8181,
6534,
10714,
115,
4467,
37710,
37760,
15,
50282
],
[
50281,
79,
3941,
1953,
27,
9445,
13793,
5843,
6463,
4467,
32443,
9427,
9211,
9211,
15677,
148,
100,
4467,
50011,
10714,
96,
19621,
244,
14585,
47931,
15,
50282,
50284,
3221,
27,
642,
13,
253,
3908,
1057,
417,
2186,
50284,
2032,
27,
4754,
13,
253,
3908,
6556,
50282,
8181,
5843,
45232,
30265,
5843,
30331,
13621,
4467,
50011,
13504,
6900,
8181,
37927,
31461,
40913,
14585,
47931,
6463,
29802,
31602,
3142,
19621,
114,
9427,
6900,
18152,
4467,
5843,
32443,
8181,
5843,
48914,
6900,
23072,
10714,
119,
30331,
13621,
4467,
50011,
19621,
106,
18906,
6463,
15,
29802,
31602,
9427,
29802,
6463,
30331,
6900,
12458,
19621,
106,
7427,
37424,
12458,
46751,
6463,
23207,
8181,
6534,
10714,
115,
4467,
37710,
37760,
15,
50282,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283
]
],
"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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
],
"marker_pos": [
[
26,
50
],
[
27,
37
]
],
"marker_mask": [
[
true,
true
],
[
true,
true
]
],
"qtype": [
0,
2
]
},
"marker_axis_padded": false,
"logits": [
[
0.4125804305076599,
-0.1933775544166565
],
[
3.3612828254699707,
0.18131807446479797
]
],
"act_logits": [
[
4117.95849609375,
-3364.35888671875
],
[
4817.98095703125,
-3943.99072265625
]
],
"result": {
"model": "laya-rl-agent",
"answers": {
"قسم": {
"type": "choice",
"choice": "الفواتير",
"probabilities": {
"الفواتير": 0.5788,
"الدعم": 0.4212
},
"confidence": 0.018,
"answer_confidence": 0.5788,
"action": {
"act_probability": 1.0
}
},
"إلغاء": {
"type": "noul",
"noul": 0.1675,
"confidence": 0.8325,
"answer_confidence": 0.8325,
"action": {
"act_probability": 1.0
}
}
},
"usage": {
"input_tokens": 252,
"output_tokens": 0,
"state_tokens": 69,
"state_tokens_dropped": 0,
"truncated": false,
"truncated_questions": []
}
}
}