main
json 340 lines 13.3 KB
Raw
1 {
2 "model_id": "moonshotai/Kimi-K2.5",
3 "vocab_size": 163840,
4 "all_stop_token_ids": [163585, 163586],
5 "cases": {
6 "auto": {
7 "grammar": {
8 "format": {
9 "type": "sequence",
10 "elements": [
11 {
12 "type": "tag",
13 "begin": "",
14 "content": {
15 "type": "any_text",
16 "excludes": [],
17 "max_tokens": null,
18 "max_chars": null
19 },
20 "end": "</think>"
21 },
22 {
23 "type": "triggered_tags",
24 "triggers": [
25 "<|tool_calls_section_begin|>"
26 ],
27 "tags": [
28 {
29 "type": "tag",
30 "begin": "<|tool_calls_section_begin|>",
31 "content": {
32 "type": "tags_with_separator",
33 "tags": [
34 {
35 "type": "tag",
36 "begin": "<|tool_call_begin|>functions.get_weather:",
37 "content": {
38 "type": "sequence",
39 "elements": [
40 {
41 "type": "regex",
42 "pattern": "\\d+"
43 },
44 {
45 "type": "const_string",
46 "value": "<|tool_call_argument_begin|>"
47 },
48 {
49 "type": "json_schema",
50 "json_schema": {
51 "type": "object",
52 "properties": {
53 "location": {
54 "type": "string"
55 }
56 },
57 "required": [
58 "location"
59 ]
60 },
61 "style": "json",
62 "any_order": false,
63 "max_whitespace_cnt": null,
64 "excludes": []
65 }
66 ]
67 },
68 "end": "<|tool_call_end|>"
69 },
70 {
71 "type": "tag",
72 "begin": "<|tool_call_begin|>functions.add:",
73 "content": {
74 "type": "sequence",
75 "elements": [
76 {
77 "type": "regex",
78 "pattern": "\\d+"
79 },
80 {
81 "type": "const_string",
82 "value": "<|tool_call_argument_begin|>"
83 },
84 {
85 "type": "json_schema",
86 "json_schema": {
87 "type": "object",
88 "properties": {
89 "y": {
90 "type": "number"
91 },
92 "x": {
93 "type": "number"
94 },
95 "items": {
96 "type": "array",
97 "items": {
98 "type": "string"
99 }
100 }
101 },
102 "required": [
103 "y",
104 "x",
105 "items"
106 ]
107 },
108 "style": "json",
109 "any_order": false,
110 "max_whitespace_cnt": null,
111 "excludes": []
112 }
113 ]
114 },
115 "end": "<|tool_call_end|>"
116 }
117 ],
118 "separator": "",
119 "at_least_one": true,
120 "stop_after_first": false
121 },
122 "end": "<|tool_calls_section_end|>"
123 }
124 ],
125 "at_least_one": false,
126 "stop_after_first": false,
127 "excludes": [
128 "<think>",
129 "</think>",
130 "<|tool_call_begin|>"
131 ]
132 }
133 ]
134 },
135 "coverage": "from_token_zero"
136 },
137 "completion": "Need call the weather and add tools.</think>I will call the tools.<|tool_calls_section_begin|><|tool_call_begin|>functions.get_weather:0<|tool_call_argument_begin|>{\"location\": \"Shanghai\"}<|tool_call_end|><|tool_call_begin|>functions.add:1<|tool_call_argument_begin|>{\"y\": 1.0, \"x\": 2, \"items\": [\"left\", \"right\"]}<|tool_call_end|><|tool_calls_section_end|>",
138 "generation_token_ids": [20082, 2390, 276, 10666, 316, 1239, 7697, 13, 163607, 40, 748, 2390, 276, 7697, 13, 163595, 163597, 41937, 1150, 21055, 2800, 25, 15, 163598, 8264, 5791, 1289, 414, 2797, 31231, 16934, 163599, 163597, 41937, 3149, 25, 16, 163598, 8264, 88, 1289, 220, 16, 13, 15, 11, 414, 87, 1289, 220, 17, 11, 414, 7989, 1289, 8681, 3794, 665, 414, 2277, 3956, 92, 163599, 163596, 163586]
139 },
140 "required": {
141 "grammar": {
142 "format": {
143 "type": "sequence",
144 "elements": [
145 {
146 "type": "tag",
147 "begin": "",
148 "content": {
149 "type": "any_text",
150 "excludes": [],
151 "max_tokens": null,
152 "max_chars": null
153 },
154 "end": "</think>"
155 },
156 {
157 "type": "sequence",
158 "elements": [
159 {
160 "type": "const_string",
161 "value": "<|tool_calls_section_begin|>"
162 },
163 {
164 "type": "tags_with_separator",
165 "tags": [
166 {
167 "type": "tag",
168 "begin": "<|tool_call_begin|>functions.get_weather:",
169 "content": {
170 "type": "sequence",
171 "elements": [
172 {
173 "type": "regex",
174 "pattern": "\\d+"
175 },
176 {
177 "type": "const_string",
178 "value": "<|tool_call_argument_begin|>"
179 },
180 {
181 "type": "json_schema",
182 "json_schema": {
183 "type": "object",
184 "properties": {
185 "location": {
186 "type": "string"
187 }
188 },
189 "required": [
190 "location"
191 ]
192 },
193 "style": "json",
194 "any_order": false,
195 "max_whitespace_cnt": null,
196 "excludes": []
197 }
198 ]
199 },
200 "end": "<|tool_call_end|>"
201 },
202 {
203 "type": "tag",
204 "begin": "<|tool_call_begin|>functions.add:",
205 "content": {
206 "type": "sequence",
207 "elements": [
208 {
209 "type": "regex",
210 "pattern": "\\d+"
211 },
212 {
213 "type": "const_string",
214 "value": "<|tool_call_argument_begin|>"
215 },
216 {
217 "type": "json_schema",
218 "json_schema": {
219 "type": "object",
220 "properties": {
221 "y": {
222 "type": "number"
223 },
224 "x": {
225 "type": "number"
226 },
227 "items": {
228 "type": "array",
229 "items": {
230 "type": "string"
231 }
232 }
233 },
234 "required": [
235 "y",
236 "x",
237 "items"
238 ]
239 },
240 "style": "json",
241 "any_order": false,
242 "max_whitespace_cnt": null,
243 "excludes": []
244 }
245 ]
246 },
247 "end": "<|tool_call_end|>"
248 }
249 ],
250 "separator": "",
251 "at_least_one": true,
252 "stop_after_first": false
253 },
254 {
255 "type": "const_string",
256 "value": "<|tool_calls_section_end|>"
257 }
258 ]
259 }
260 ]
261 },
262 "coverage": "from_token_zero"
263 },
264 "completion": "Need call the weather and add tools.</think><|tool_calls_section_begin|><|tool_call_begin|>functions.get_weather:0<|tool_call_argument_begin|>{\"location\": \"Shanghai\"}<|tool_call_end|><|tool_call_begin|>functions.add:1<|tool_call_argument_begin|>{\"y\": 1.0, \"x\": 2, \"items\": [\"left\", \"right\"]}<|tool_call_end|><|tool_calls_section_end|>",
265 "generation_token_ids": [20082, 2390, 276, 10666, 316, 1239, 7697, 13, 163607, 163595, 163597, 41937, 1150, 21055, 2800, 25, 15, 163598, 8264, 5791, 1289, 414, 2797, 31231, 16934, 163599, 163597, 41937, 3149, 25, 16, 163598, 8264, 88, 1289, 220, 16, 13, 15, 11, 414, 87, 1289, 220, 17, 11, 414, 7989, 1289, 8681, 3794, 665, 414, 2277, 3956, 92, 163599, 163596, 163586]
266 },
267 "named": {
268 "grammar": {
269 "format": {
270 "type": "sequence",
271 "elements": [
272 {
273 "type": "tag",
274 "begin": "",
275 "content": {
276 "type": "any_text",
277 "excludes": [],
278 "max_tokens": null,
279 "max_chars": null
280 },
281 "end": "</think>"
282 },
283 {
284 "type": "sequence",
285 "elements": [
286 {
287 "type": "const_string",
288 "value": "<|tool_calls_section_begin|>"
289 },
290 {
291 "type": "tag",
292 "begin": "<|tool_call_begin|>functions.get_weather:",
293 "content": {
294 "type": "sequence",
295 "elements": [
296 {
297 "type": "regex",
298 "pattern": "\\d+"
299 },
300 {
301 "type": "const_string",
302 "value": "<|tool_call_argument_begin|>"
303 },
304 {
305 "type": "json_schema",
306 "json_schema": {
307 "type": "object",
308 "properties": {
309 "location": {
310 "type": "string"
311 }
312 },
313 "required": [
314 "location"
315 ]
316 },
317 "style": "json",
318 "any_order": false,
319 "max_whitespace_cnt": null,
320 "excludes": []
321 }
322 ]
323 },
324 "end": "<|tool_call_end|>"
325 },
326 {
327 "type": "const_string",
328 "value": "<|tool_calls_section_end|>"
329 }
330 ]
331 }
332 ]
333 },
334 "coverage": "from_token_zero"
335 },
336 "completion": "Need call the weather and add tools.</think><|tool_calls_section_begin|><|tool_call_begin|>functions.get_weather:0<|tool_call_argument_begin|>{\"location\": \"Shanghai\"}<|tool_call_end|><|tool_calls_section_end|>",
337 "generation_token_ids": [20082, 2390, 276, 10666, 316, 1239, 7697, 13, 163607, 163595, 163597, 41937, 1150, 21055, 2800, 25, 15, 163598, 8264, 5791, 1289, 414, 2797, 31231, 16934, 163599, 163596, 163586]
338 }
339 }
340 }