main
json 301 lines 11.5 KB
Raw
1 {
2 "model_id": "MiniMaxAI/MiniMax-M2.5",
3 "vocab_size": 200064,
4 "all_stop_token_ids": [200020],
5 "cases": {
6 "auto": {
7 "grammar": {
8 "format": {
9 "type": "sequence",
10 "elements": [
11 {
12 "type": "sequence",
13 "elements": [
14 {
15 "type": "tag",
16 "begin": "",
17 "content": {
18 "type": "any_text",
19 "excludes": [],
20 "max_tokens": null,
21 "max_chars": null
22 },
23 "end": "</think>"
24 },
25 {
26 "type": "const_string",
27 "value": "\n\n"
28 }
29 ]
30 },
31 {
32 "type": "triggered_tags",
33 "triggers": [
34 "<minimax:tool_call>"
35 ],
36 "tags": [
37 {
38 "type": "tag",
39 "begin": "<minimax:tool_call>\n",
40 "content": {
41 "type": "tags_with_separator",
42 "tags": [
43 {
44 "type": "tag",
45 "begin": "<invoke name=\"get_weather\">\n",
46 "content": {
47 "type": "json_schema",
48 "json_schema": {
49 "type": "object",
50 "properties": {
51 "location": {
52 "type": "string"
53 }
54 },
55 "required": [
56 "location"
57 ]
58 },
59 "style": "minimax_xml",
60 "any_order": false,
61 "max_whitespace_cnt": null,
62 "excludes": []
63 },
64 "end": "</invoke>\n"
65 },
66 {
67 "type": "tag",
68 "begin": "<invoke name=\"add\">\n",
69 "content": {
70 "type": "json_schema",
71 "json_schema": {
72 "type": "object",
73 "properties": {
74 "y": {
75 "type": "number"
76 },
77 "x": {
78 "type": "number"
79 },
80 "items": {
81 "type": "array",
82 "items": {
83 "type": "string"
84 }
85 }
86 },
87 "required": [
88 "y",
89 "x",
90 "items"
91 ]
92 },
93 "style": "minimax_xml",
94 "any_order": false,
95 "max_whitespace_cnt": null,
96 "excludes": []
97 },
98 "end": "</invoke>\n"
99 }
100 ],
101 "separator": "",
102 "at_least_one": true,
103 "stop_after_first": false
104 },
105 "end": "</minimax:tool_call>"
106 }
107 ],
108 "at_least_one": false,
109 "stop_after_first": false,
110 "excludes": [
111 "<think>",
112 "</think>"
113 ]
114 }
115 ]
116 },
117 "coverage": "from_token_zero"
118 },
119 "completion": "Need call the weather and add tools.\n</think>\n\nI will call the tools.\n<minimax:tool_call>\n<invoke name=\"get_weather\">\n<parameter name=\"location\">Shanghai</parameter>\n</invoke>\n<invoke name=\"add\">\n<parameter name=\"y\">1.0</parameter>\n<parameter name=\"x\">2</parameter>\n<parameter name=\"items\">[\"left\", \"right\"]</parameter>\n</invoke>\n</minimax:tool_call>",
120 "generation_token_ids": [42478, 1728, 275, 12562, 306, 1187, 6629, 320, 200051, 367, 73, 715, 1728, 275, 6629, 320, 200052, 10, 60, 88638, 1925, 1139, 848, 95, 51872, 6143, 60, 24662, 1925, 1139, 28415, 3361, 165806, 1579, 24662, 1100, 1579, 88638, 1100, 60, 88638, 1925, 1139, 2132, 6143, 60, 24662, 1925, 1139, 121, 3361, 49, 46, 48, 1579, 24662, 1100, 60, 24662, 1925, 1139, 120, 3361, 50, 1579, 24662, 1100, 60, 24662, 1925, 1139, 12405, 3361, 7795, 2038, 1164, 494, 1581, 8760, 1579, 24662, 1100, 1579, 88638, 1100, 200053, 200020]
121 },
122 "required": {
123 "grammar": {
124 "format": {
125 "type": "sequence",
126 "elements": [
127 {
128 "type": "sequence",
129 "elements": [
130 {
131 "type": "tag",
132 "begin": "",
133 "content": {
134 "type": "any_text",
135 "excludes": [],
136 "max_tokens": null,
137 "max_chars": null
138 },
139 "end": "</think>"
140 },
141 {
142 "type": "const_string",
143 "value": "\n\n"
144 }
145 ]
146 },
147 {
148 "type": "sequence",
149 "elements": [
150 {
151 "type": "const_string",
152 "value": "\n<minimax:tool_call>\n"
153 },
154 {
155 "type": "tags_with_separator",
156 "tags": [
157 {
158 "type": "tag",
159 "begin": "<invoke name=\"get_weather\">\n",
160 "content": {
161 "type": "json_schema",
162 "json_schema": {
163 "type": "object",
164 "properties": {
165 "location": {
166 "type": "string"
167 }
168 },
169 "required": [
170 "location"
171 ]
172 },
173 "style": "minimax_xml",
174 "any_order": false,
175 "max_whitespace_cnt": null,
176 "excludes": []
177 },
178 "end": "</invoke>\n"
179 },
180 {
181 "type": "tag",
182 "begin": "<invoke name=\"add\">\n",
183 "content": {
184 "type": "json_schema",
185 "json_schema": {
186 "type": "object",
187 "properties": {
188 "y": {
189 "type": "number"
190 },
191 "x": {
192 "type": "number"
193 },
194 "items": {
195 "type": "array",
196 "items": {
197 "type": "string"
198 }
199 }
200 },
201 "required": [
202 "y",
203 "x",
204 "items"
205 ]
206 },
207 "style": "minimax_xml",
208 "any_order": false,
209 "max_whitespace_cnt": null,
210 "excludes": []
211 },
212 "end": "</invoke>\n"
213 }
214 ],
215 "separator": "",
216 "at_least_one": true,
217 "stop_after_first": false
218 },
219 {
220 "type": "const_string",
221 "value": "</minimax:tool_call>"
222 }
223 ]
224 }
225 ]
226 },
227 "coverage": "from_token_zero"
228 },
229 "completion": "Need call the weather and add tools.\n</think>\n\n\n<minimax:tool_call>\n<invoke name=\"get_weather\">\n<parameter name=\"location\">Shanghai</parameter>\n</invoke>\n<invoke name=\"add\">\n<parameter name=\"y\">1.0</parameter>\n<parameter name=\"x\">2</parameter>\n<parameter name=\"items\">[\"left\", \"right\"]</parameter>\n</invoke>\n</minimax:tool_call>",
230 "generation_token_ids": [42478, 1728, 275, 12562, 306, 1187, 6629, 320, 200051, 4368, 200052, 10, 60, 88638, 1925, 1139, 848, 95, 51872, 6143, 60, 24662, 1925, 1139, 28415, 3361, 165806, 1579, 24662, 1100, 1579, 88638, 1100, 60, 88638, 1925, 1139, 2132, 6143, 60, 24662, 1925, 1139, 121, 3361, 49, 46, 48, 1579, 24662, 1100, 60, 24662, 1925, 1139, 120, 3361, 50, 1579, 24662, 1100, 60, 24662, 1925, 1139, 12405, 3361, 7795, 2038, 1164, 494, 1581, 8760, 1579, 24662, 1100, 1579, 88638, 1100, 200053, 200020]
231 },
232 "named": {
233 "grammar": {
234 "format": {
235 "type": "sequence",
236 "elements": [
237 {
238 "type": "sequence",
239 "elements": [
240 {
241 "type": "tag",
242 "begin": "",
243 "content": {
244 "type": "any_text",
245 "excludes": [],
246 "max_tokens": null,
247 "max_chars": null
248 },
249 "end": "</think>"
250 },
251 {
252 "type": "const_string",
253 "value": "\n\n"
254 }
255 ]
256 },
257 {
258 "type": "sequence",
259 "elements": [
260 {
261 "type": "const_string",
262 "value": "\n<minimax:tool_call>\n"
263 },
264 {
265 "type": "tag",
266 "begin": "<invoke name=\"get_weather\">\n",
267 "content": {
268 "type": "json_schema",
269 "json_schema": {
270 "type": "object",
271 "properties": {
272 "location": {
273 "type": "string"
274 }
275 },
276 "required": [
277 "location"
278 ]
279 },
280 "style": "minimax_xml",
281 "any_order": false,
282 "max_whitespace_cnt": null,
283 "excludes": []
284 },
285 "end": "</invoke>\n"
286 },
287 {
288 "type": "const_string",
289 "value": "</minimax:tool_call>"
290 }
291 ]
292 }
293 ]
294 },
295 "coverage": "from_token_zero"
296 },
297 "completion": "Need call the weather and add tools.\n</think>\n\n\n<minimax:tool_call>\n<invoke name=\"get_weather\">\n<parameter name=\"location\">Shanghai</parameter>\n</invoke>\n</minimax:tool_call>",
298 "generation_token_ids": [42478, 1728, 275, 12562, 306, 1187, 6629, 320, 200051, 4368, 200052, 10, 60, 88638, 1925, 1139, 848, 95, 51872, 6143, 60, 24662, 1925, 1139, 28415, 3361, 165806, 1579, 24662, 1100, 1579, 88638, 1100, 200053, 200020]
299 }
300 }
301 }