main
json 254 lines 9.1 KB
Raw
1 {
2 "model_id": "XiaomiMiMo/MiMo-V2.6-Flash-RL",
3 "vocab_size": 152576,
4 "all_stop_token_ids": [151643, 151645, 151672],
5 "cases": {
6 "auto": {
7 "grammar": {
8 "format": {
9 "type": "sequence",
10 "elements": [
11 {
12 "type": "optional",
13 "content": {
14 "type": "tag",
15 "begin": "<think>",
16 "content": {
17 "type": "any_text",
18 "excludes": [],
19 "max_tokens": null,
20 "max_chars": null
21 },
22 "end": "</think>"
23 }
24 },
25 {
26 "type": "triggered_tags",
27 "triggers": [
28 "<tool_call>"
29 ],
30 "tags": [
31 {
32 "type": "tag",
33 "begin": "<tool_call><function=get_weather>",
34 "content": {
35 "type": "json_schema",
36 "json_schema": {
37 "type": "object",
38 "properties": {
39 "location": {
40 "type": "string"
41 }
42 },
43 "required": [
44 "location"
45 ]
46 },
47 "style": "qwen_xml",
48 "any_order": false,
49 "max_whitespace_cnt": null,
50 "excludes": []
51 },
52 "end": "</function></tool_call>"
53 },
54 {
55 "type": "tag",
56 "begin": "<tool_call><function=add>",
57 "content": {
58 "type": "json_schema",
59 "json_schema": {
60 "type": "object",
61 "properties": {
62 "y": {
63 "type": "number"
64 },
65 "x": {
66 "type": "number"
67 },
68 "items": {
69 "type": "array",
70 "items": {
71 "type": "string"
72 }
73 }
74 },
75 "required": [
76 "y",
77 "x",
78 "items"
79 ]
80 },
81 "style": "qwen_xml",
82 "any_order": false,
83 "max_whitespace_cnt": null,
84 "excludes": []
85 },
86 "end": "</function></tool_call>"
87 }
88 ],
89 "at_least_one": false,
90 "stop_after_first": false,
91 "excludes": [
92 "<think>",
93 "</think>",
94 "</tool_call>",
95 "<function="
96 ]
97 }
98 ]
99 },
100 "coverage": "from_token_zero"
101 },
102 "completion": "<think>Need call the weather and add tools.</think>I will call the tools.<tool_call><function=get_weather><parameter=location>Shanghai</parameter></function></tool_call><tool_call><function=add><parameter=y>1.0</parameter><parameter=x>2</parameter><parameter=items>[\"left\", \"right\"]</parameter></function></tool_call>",
103 "generation_token_ids": [151667, 23657, 1618, 279, 9104, 323, 912, 7375, 13, 151668, 40, 686, 1618, 279, 7375, 13, 151657, 27, 1688, 28280, 69364, 1784, 16181, 28, 2527, 29, 2016, 30070, 522, 16181, 1472, 1688, 29, 151658, 151657, 27, 1688, 92784, 1784, 16181, 29368, 29, 16, 13, 15, 522, 16181, 1784, 16181, 25387, 29, 17, 522, 16181, 1784, 16181, 28, 3615, 29, 1183, 2359, 497, 330, 1291, 1341, 522, 16181, 1472, 1688, 29, 151658, 151645]
104 },
105 "required": {
106 "grammar": {
107 "format": {
108 "type": "sequence",
109 "elements": [
110 {
111 "type": "optional",
112 "content": {
113 "type": "tag",
114 "begin": "<think>",
115 "content": {
116 "type": "any_text",
117 "excludes": [],
118 "max_tokens": null,
119 "max_chars": null
120 },
121 "end": "</think>"
122 }
123 },
124 {
125 "type": "triggered_tags",
126 "triggers": [
127 "<tool_call>"
128 ],
129 "tags": [
130 {
131 "type": "tag",
132 "begin": "<tool_call><function=get_weather>",
133 "content": {
134 "type": "json_schema",
135 "json_schema": {
136 "type": "object",
137 "properties": {
138 "location": {
139 "type": "string"
140 }
141 },
142 "required": [
143 "location"
144 ]
145 },
146 "style": "qwen_xml",
147 "any_order": false,
148 "max_whitespace_cnt": null,
149 "excludes": []
150 },
151 "end": "</function></tool_call>"
152 },
153 {
154 "type": "tag",
155 "begin": "<tool_call><function=add>",
156 "content": {
157 "type": "json_schema",
158 "json_schema": {
159 "type": "object",
160 "properties": {
161 "y": {
162 "type": "number"
163 },
164 "x": {
165 "type": "number"
166 },
167 "items": {
168 "type": "array",
169 "items": {
170 "type": "string"
171 }
172 }
173 },
174 "required": [
175 "y",
176 "x",
177 "items"
178 ]
179 },
180 "style": "qwen_xml",
181 "any_order": false,
182 "max_whitespace_cnt": null,
183 "excludes": []
184 },
185 "end": "</function></tool_call>"
186 }
187 ],
188 "at_least_one": true,
189 "stop_after_first": false,
190 "excludes": [
191 "<think>",
192 "</think>",
193 "</tool_call>",
194 "<function="
195 ]
196 }
197 ]
198 },
199 "coverage": "from_token_zero"
200 },
201 "completion": "<think>Need call the weather and add tools.</think><tool_call><function=get_weather><parameter=location>Shanghai</parameter></function></tool_call><tool_call><function=add><parameter=y>1.0</parameter><parameter=x>2</parameter><parameter=items>[\"left\", \"right\"]</parameter></function></tool_call>",
202 "generation_token_ids": [151667, 23657, 1618, 279, 9104, 323, 912, 7375, 13, 151668, 151657, 27, 1688, 28280, 69364, 1784, 16181, 28, 2527, 29, 2016, 30070, 522, 16181, 1472, 1688, 29, 151658, 151657, 27, 1688, 92784, 1784, 16181, 29368, 29, 16, 13, 15, 522, 16181, 1784, 16181, 25387, 29, 17, 522, 16181, 1784, 16181, 28, 3615, 29, 1183, 2359, 497, 330, 1291, 1341, 522, 16181, 1472, 1688, 29, 151658, 151645]
203 },
204 "named": {
205 "grammar": {
206 "format": {
207 "type": "sequence",
208 "elements": [
209 {
210 "type": "optional",
211 "content": {
212 "type": "tag",
213 "begin": "<think>",
214 "content": {
215 "type": "any_text",
216 "excludes": [],
217 "max_tokens": null,
218 "max_chars": null
219 },
220 "end": "</think>"
221 }
222 },
223 {
224 "type": "tag",
225 "begin": "<tool_call><function=get_weather>",
226 "content": {
227 "type": "json_schema",
228 "json_schema": {
229 "type": "object",
230 "properties": {
231 "location": {
232 "type": "string"
233 }
234 },
235 "required": [
236 "location"
237 ]
238 },
239 "style": "qwen_xml",
240 "any_order": false,
241 "max_whitespace_cnt": null,
242 "excludes": []
243 },
244 "end": "</function></tool_call>"
245 }
246 ]
247 },
248 "coverage": "from_token_zero"
249 },
250 "completion": "<think>Need call the weather and add tools.</think><tool_call><function=get_weather><parameter=location>Shanghai</parameter></function></tool_call>",
251 "generation_token_ids": [151667, 23657, 1618, 279, 9104, 323, 912, 7375, 13, 151668, 151657, 27, 1688, 28280, 69364, 1784, 16181, 28, 2527, 29, 2016, 30070, 522, 16181, 1472, 1688, 29, 151658, 151645]
252 }
253 }
254 }