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": [
2,
6241,
2872,
235292,
156149,
30956,
22517,
236102,
73839,
57437,
20570,
235544,
1,
4,
235248,
238157,
236133,
235292,
35550,
237232,
235394,
122311,
235394,
186612,
4,
154004,
235292,
235248,
88077,
235394,
31396,
4,
231537,
16838,
235292,
235248,
236812,
236913,
235394,
60575,
1,
25736,
8894,
235612,
235936,
79825,
238498,
236604,
116599,
235847,
235365,
186612,
21704,
6845,
235562,
238157,
235362,
9833,
22180,
235441,
28005,
235365,
235509,
49988,
61726,
130236,
235445,
235362,
1
],
"markers": [
13,
24,
31
]
},
{
"id": "紧急",
"type": "score",
"qtype": 1,
"instructions": "这个请求有多紧急?",
"head_text": "score question: 这个请求有多紧急?",
"options": [
"level 0: 不急",
"level 1: 本周",
"level 2: 今天"
],
"input_ids": [
2,
7716,
2872,
235292,
156149,
30956,
61755,
158116,
235544,
1,
4,
2403,
235248,
235276,
235292,
19626,
236879,
4,
2403,
235248,
235274,
235292,
17575,
236185,
4,
2403,
235248,
235284,
235292,
235248,
22180,
1,
25736,
8894,
235612,
235936,
79825,
238498,
236604,
116599,
235847,
235365,
186612,
21704,
6845,
235562,
238157,
235362,
9833,
22180,
235441,
28005,
235365,
235509,
49988,
61726,
130236,
235445,
235362,
1
],
"markers": [
10,
17,
24
]
}
],
"batch": {
"input_ids": [
[
2,
6241,
2872,
235292,
156149,
30956,
22517,
236102,
73839,
57437,
20570,
235544,
1,
4,
235248,
238157,
236133,
235292,
35550,
237232,
235394,
122311,
235394,
186612,
4,
154004,
235292,
235248,
88077,
235394,
31396,
4,
231537,
16838,
235292,
235248,
236812,
236913,
235394,
60575,
1,
25736,
8894,
235612,
235936,
79825,
238498,
236604,
116599,
235847,
235365,
186612,
21704,
6845,
235562,
238157,
235362,
9833,
22180,
235441,
28005,
235365,
235509,
49988,
61726,
130236,
235445,
235362,
1
],
[
2,
7716,
2872,
235292,
156149,
30956,
61755,
158116,
235544,
1,
4,
2403,
235248,
235276,
235292,
19626,
236879,
4,
2403,
235248,
235274,
235292,
17575,
236185,
4,
2403,
235248,
235284,
235292,
235248,
22180,
1,
25736,
8894,
235612,
235936,
79825,
238498,
236604,
116599,
235847,
235365,
186612,
21704,
6845,
235562,
238157,
235362,
9833,
22180,
235441,
28005,
235365,
235509,
49988,
61726,
130236,
235445,
235362,
1,
0,
0,
0,
0,
0,
0,
0,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
],
"marker_pos": [
[
13,
24,
31
],
[
10,
17,
24
]
],
"marker_mask": [
[
true,
true,
true
],
[
true,
true,
true
]
],
"qtype": [
0,
1
]
},
"marker_axis_padded": false,
"logits": [
[
-1.3253850936889648,
-3.7910094261169434,
-3.451493501663208
],
[
-3.4783573150634766,
1.025788426399231,
-0.49100732803344727
]
],
"act_logits": [
[
1391.3314208984375,
-1657.8375244140625
],
[
1477.1666259765625,
-1744.7757568359375
]
],
"result": {
"model": "laya-rl-agent",
"answers": {
"部门": {
"type": "choice",
"choice": "账单",
"probabilities": {
"账单": 0.8304,
"技术": 0.0705,
"客户成功": 0.0991
},
"confidence": 0.4808,
"answer_confidence": 0.8304,
"action": {
"act_probability": 1.0
}
},
"紧急": {
"type": "score",
"score": 1.1693,
"legend": {
"0": "不急",
"1": "本周",
"2": "今天"
},
"probabilities": {
"0": 0.009,
"1": 0.8127,
"2": 0.1783
},
"confidence": 0.5282,
"answer_confidence": 0.8127,
"action": {
"act_probability": 1.0
}
}
},
"usage": {
"input_tokens": 129,
"output_tokens": 0,
"state_tokens": 27,
"state_tokens_dropped": 0,
"truncated": false,
"truncated_questions": []
}
}
}