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": "cjk",
"state": "我这个月被重复扣款了两次,退款一直没有到账。如果今天不解决,我就要取消订阅了。",
"serialized_state": "我这个月被重复扣款了两次,退款一直没有到账。如果今天不解决,我就要取消订阅了。",
"questions": {
"部门": {
"type": "choice",
"instructions": "这个请求应该由哪个部门处理?",
"criteria": {
"账单": "发票、付款、退款",
"技术": "故障、错误",
"客户成功": "续约、升级"
}
},
"紧急": {
"type": "score",
"instructions": "这个请求有多紧急?",
"criteria": [
"不急",
"本周",
"今天"
]
}
},
"per_question": [
{
"id": "部门",
"type": "choice",
"qtype": 0,
"instructions": "这个请求应该由哪个部门处理?",
"head_text": "choice question: 这个请求应该由哪个部门处理?",
"options": [
"账单: 发票、付款、退款",
"技术: 故障、错误",
"客户成功: 续约、升级"
],
"input_ids": [
50281,
22122,
1953,
27,
209,
20622,
16401,
44673,
43741,
36361,
11894,
100,
44692,
20833,
105,
16401,
26795,
20616,
103,
7249,
215,
24017,
26443,
50282,
50284,
209,
29832,
101,
44006,
27,
209,
29918,
37769,
103,
4746,
5690,
235,
25715,
124,
4746,
11016,
211,
25715,
124,
50284,
209,
18751,
211,
5959,
109,
27,
209,
10962,
216,
26335,
239,
4746,
39915,
236,
11894,
109,
50284,
209,
6916,
97,
46136,
21991,
11043,
242,
27,
209,
12755,
244,
29268,
101,
4746,
12363,
218,
29268,
102,
50282,
15367,
20622,
16401,
26552,
41873,
34698,
7249,
224,
11827,
98,
25715,
124,
17492,
3218,
99,
35241,
6238,
11016,
211,
25715,
124,
9850,
46239,
46049,
14377,
22044,
29832,
101,
4340,
42055,
37248,
40120,
14274,
33273,
14262,
113,
6238,
15367,
29297,
18764,
27937,
37933,
219,
14129,
97,
29852,
216,
17492,
4340,
50282
],
"markers": [
24,
44,
61
]
},
{
"id": "紧急",
"type": "score",
"qtype": 1,
"instructions": "这个请求有多紧急?",
"head_text": "score question: 这个请求有多紧急?",
"options": [
"level 0: 不急",
"level 1: 本周",
"level 2: 今天"
],
"input_ids": [
50281,
18891,
1953,
27,
209,
20622,
16401,
44673,
43741,
14377,
24899,
20557,
102,
13258,
100,
26443,
50282,
50284,
1268,
470,
27,
209,
14274,
13258,
100,
50284,
1268,
337,
27,
209,
18957,
18617,
103,
50284,
1268,
374,
27,
209,
37248,
40120,
50282,
15367,
20622,
16401,
26552,
41873,
34698,
7249,
224,
11827,
98,
25715,
124,
17492,
3218,
99,
35241,
6238,
11016,
211,
25715,
124,
9850,
46239,
46049,
14377,
22044,
29832,
101,
4340,
42055,
37248,
40120,
14274,
33273,
14262,
113,
6238,
15367,
29297,
18764,
27937,
37933,
219,
14129,
97,
29852,
216,
17492,
4340,
50282
],
"markers": [
17,
25,
33
]
}
],
"batch": {
"input_ids": [
[
50281,
22122,
1953,
27,
209,
20622,
16401,
44673,
43741,
36361,
11894,
100,
44692,
20833,
105,
16401,
26795,
20616,
103,
7249,
215,
24017,
26443,
50282,
50284,
209,
29832,
101,
44006,
27,
209,
29918,
37769,
103,
4746,
5690,
235,
25715,
124,
4746,
11016,
211,
25715,
124,
50284,
209,
18751,
211,
5959,
109,
27,
209,
10962,
216,
26335,
239,
4746,
39915,
236,
11894,
109,
50284,
209,
6916,
97,
46136,
21991,
11043,
242,
27,
209,
12755,
244,
29268,
101,
4746,
12363,
218,
29268,
102,
50282,
15367,
20622,
16401,
26552,
41873,
34698,
7249,
224,
11827,
98,
25715,
124,
17492,
3218,
99,
35241,
6238,
11016,
211,
25715,
124,
9850,
46239,
46049,
14377,
22044,
29832,
101,
4340,
42055,
37248,
40120,
14274,
33273,
14262,
113,
6238,
15367,
29297,
18764,
27937,
37933,
219,
14129,
97,
29852,
216,
17492,
4340,
50282
],
[
50281,
18891,
1953,
27,
209,
20622,
16401,
44673,
43741,
14377,
24899,
20557,
102,
13258,
100,
26443,
50282,
50284,
1268,
470,
27,
209,
14274,
13258,
100,
50284,
1268,
337,
27,
209,
18957,
18617,
103,
50284,
1268,
374,
27,
209,
37248,
40120,
50282,
15367,
20622,
16401,
26552,
41873,
34698,
7249,
224,
11827,
98,
25715,
124,
17492,
3218,
99,
35241,
6238,
11016,
211,
25715,
124,
9850,
46239,
46049,
14377,
22044,
29832,
101,
4340,
42055,
37248,
40120,
14274,
33273,
14262,
113,
6238,
15367,
29297,
18764,
27937,
37933,
219,
14129,
97,
29852,
216,
17492,
4340,
50282,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
50283,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
],
"marker_pos": [
[
24,
44,
61
],
[
17,
25,
33
]
],
"marker_mask": [
[
true,
true,
true
],
[
true,
true,
true
]
],
"qtype": [
0,
1
]
},
"marker_axis_padded": false,
"logits": [
[
1.6422786712646484,
-0.7313200235366821,
0.32396090030670166
],
[
-1.1324177980422974,
1.427627444267273,
2.9084181785583496
]
],
"act_logits": [
[
4157.71044921875,
-3400.548828125
],
[
3446.071533203125,
-2831.50634765625
]
],
"result": {
"model": "laya-rl-agent",
"answers": {
"部门": {
"type": "choice",
"choice": "账单",
"probabilities": {
"账单": 0.5772,
"技术": 0.1499,
"客户成功": 0.2729
},
"confidence": 0.1298,
"answer_confidence": 0.5772,
"action": {
"act_probability": 1.0
}
},
"紧急": {
"type": "score",
"score": 1.7136,
"legend": {
"0": "不急",
"1": "本周",
"2": "今天"
},
"probabilities": {
"0": 0.0294,
"1": 0.2276,
"2": 0.743
},
"confidence": 0.398,
"answer_confidence": 0.743,
"action": {
"act_probability": 1.0
}
}
},
"usage": {
"input_tokens": 222,
"output_tokens": 0,
"state_tokens": 49,
"state_tokens_dropped": 0,
"truncated": false,
"truncated_questions": []
}
}
}