Jake commited on
Commit
12f9bd1
·
verified ·
1 Parent(s): d1a12e9

Add parser-disabled OpenAI tool-call evals

Browse files
evals/openai_tool_calls_parser_disabled_runtime.json ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "endpoint": "http://127.0.0.1:8081/v1/chat/completions",
3
+ "model": "release_work/model_upload",
4
+ "summary": {
5
+ "passed": 11,
6
+ "total": 12,
7
+ "tool_cases": 8,
8
+ "structured_tool_cases_passed": 8,
9
+ "no_tool_cases": 4,
10
+ "no_tool_cases_passed": 3,
11
+ "finish_reason_tool_calls": 8,
12
+ "content_text_tool_leaks": 0,
13
+ "failures": {
14
+ "tool_result_final_calc": "content_mismatch"
15
+ }
16
+ },
17
+ "results": [
18
+ {
19
+ "name": "browser_weather",
20
+ "passed": true,
21
+ "failure": null,
22
+ "elapsed_s": 0.567,
23
+ "finish_reason": "tool_calls",
24
+ "content": "",
25
+ "tool_calls": [
26
+ {
27
+ "function": {
28
+ "name": "browser_navigate",
29
+ "arguments": "{\"url\": \"https://www.google.com/search?q=Austin+TX+weather\"}"
30
+ },
31
+ "type": "function",
32
+ "id": "a3fa4c23-5a65-43b1-bc59-08da08b4b0b1"
33
+ }
34
+ ],
35
+ "usage": {
36
+ "prompt_tokens": 354,
37
+ "completion_tokens": 27,
38
+ "total_tokens": 381,
39
+ "prompt_tokens_details": {
40
+ "cached_tokens": 0
41
+ }
42
+ }
43
+ },
44
+ {
45
+ "name": "browser_docs",
46
+ "passed": true,
47
+ "failure": null,
48
+ "elapsed_s": 0.467,
49
+ "finish_reason": "tool_calls",
50
+ "content": "",
51
+ "tool_calls": [
52
+ {
53
+ "function": {
54
+ "name": "browser_navigate",
55
+ "arguments": "{\"url\": \"https://www.google.com/search?q=MLX+LM+tool+parser+documentation\"}"
56
+ },
57
+ "type": "function",
58
+ "id": "143f8a3c-fb00-42cd-bd3c-024e99a2f7c0"
59
+ }
60
+ ],
61
+ "usage": {
62
+ "prompt_tokens": 353,
63
+ "completion_tokens": 32,
64
+ "total_tokens": 385,
65
+ "prompt_tokens_details": {
66
+ "cached_tokens": 336
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "name": "calculator_simple",
72
+ "passed": true,
73
+ "failure": null,
74
+ "elapsed_s": 0.251,
75
+ "finish_reason": "tool_calls",
76
+ "content": "",
77
+ "tool_calls": [
78
+ {
79
+ "function": {
80
+ "name": "calculator",
81
+ "arguments": "{\"expression\": \"(23 + 19) * 2\"}"
82
+ },
83
+ "type": "function",
84
+ "id": "b33bb1dd-7a60-467f-9ee7-603e1b27ccfd"
85
+ }
86
+ ],
87
+ "usage": {
88
+ "prompt_tokens": 355,
89
+ "completion_tokens": 19,
90
+ "total_tokens": 374,
91
+ "prompt_tokens_details": {
92
+ "cached_tokens": 336
93
+ }
94
+ }
95
+ },
96
+ {
97
+ "name": "calculator_decimal",
98
+ "passed": true,
99
+ "failure": null,
100
+ "elapsed_s": 0.218,
101
+ "finish_reason": "tool_calls",
102
+ "content": "",
103
+ "tool_calls": [
104
+ {
105
+ "function": {
106
+ "name": "calculator",
107
+ "arguments": "{\"expression\": \"18.5 * 42\"}"
108
+ },
109
+ "type": "function",
110
+ "id": "7f2cad40-a9fc-47be-8983-12046f95bea2"
111
+ }
112
+ ],
113
+ "usage": {
114
+ "prompt_tokens": 353,
115
+ "completion_tokens": 16,
116
+ "total_tokens": 369,
117
+ "prompt_tokens_details": {
118
+ "cached_tokens": 336
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "name": "terminal_pwd",
124
+ "passed": true,
125
+ "failure": null,
126
+ "elapsed_s": 0.162,
127
+ "finish_reason": "tool_calls",
128
+ "content": "",
129
+ "tool_calls": [
130
+ {
131
+ "function": {
132
+ "name": "terminal",
133
+ "arguments": "{\"command\": \"pwd\"}"
134
+ },
135
+ "type": "function",
136
+ "id": "f3bbe2b9-1f58-41ff-b8e2-12806f866a7c"
137
+ }
138
+ ],
139
+ "usage": {
140
+ "prompt_tokens": 347,
141
+ "completion_tokens": 10,
142
+ "total_tokens": 357,
143
+ "prompt_tokens_details": {
144
+ "cached_tokens": 336
145
+ }
146
+ }
147
+ },
148
+ {
149
+ "name": "terminal_echo",
150
+ "passed": true,
151
+ "failure": null,
152
+ "elapsed_s": 0.208,
153
+ "finish_reason": "tool_calls",
154
+ "content": "",
155
+ "tool_calls": [
156
+ {
157
+ "function": {
158
+ "name": "terminal",
159
+ "arguments": "{\"command\": \"echo hermes-tool-test\"}"
160
+ },
161
+ "type": "function",
162
+ "id": "ab0ae1ac-914b-4bae-88dc-d0a961d7154e"
163
+ }
164
+ ],
165
+ "usage": {
166
+ "prompt_tokens": 352,
167
+ "completion_tokens": 15,
168
+ "total_tokens": 367,
169
+ "prompt_tokens_details": {
170
+ "cached_tokens": 336
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "name": "read_file",
176
+ "passed": true,
177
+ "failure": null,
178
+ "elapsed_s": 0.231,
179
+ "finish_reason": "tool_calls",
180
+ "content": "",
181
+ "tool_calls": [
182
+ {
183
+ "function": {
184
+ "name": "read_file",
185
+ "arguments": "{\"path\": \"/tmp/hermes_eval_marker.txt\"}"
186
+ },
187
+ "type": "function",
188
+ "id": "03277da2-fe9b-4cbf-b9f4-b432bc0f171b"
189
+ }
190
+ ],
191
+ "usage": {
192
+ "prompt_tokens": 355,
193
+ "completion_tokens": 18,
194
+ "total_tokens": 373,
195
+ "prompt_tokens_details": {
196
+ "cached_tokens": 336
197
+ }
198
+ }
199
+ },
200
+ {
201
+ "name": "search_files",
202
+ "passed": true,
203
+ "failure": null,
204
+ "elapsed_s": 0.206,
205
+ "finish_reason": "tool_calls",
206
+ "content": "",
207
+ "tool_calls": [
208
+ {
209
+ "function": {
210
+ "name": "search_files",
211
+ "arguments": "{\"pattern\": \"hermes-tool-test\"}"
212
+ },
213
+ "type": "function",
214
+ "id": "d1c27948-e0a3-4175-a40f-868ea39dc0b6"
215
+ }
216
+ ],
217
+ "usage": {
218
+ "prompt_tokens": 352,
219
+ "completion_tokens": 15,
220
+ "total_tokens": 367,
221
+ "prompt_tokens_details": {
222
+ "cached_tokens": 336
223
+ }
224
+ }
225
+ },
226
+ {
227
+ "name": "no_tool_greeting",
228
+ "passed": true,
229
+ "failure": null,
230
+ "elapsed_s": 0.105,
231
+ "finish_reason": "stop",
232
+ "content": "Hello!",
233
+ "tool_calls": [],
234
+ "usage": {
235
+ "prompt_tokens": 353,
236
+ "completion_tokens": 3,
237
+ "total_tokens": 356,
238
+ "prompt_tokens_details": {
239
+ "cached_tokens": 336
240
+ }
241
+ }
242
+ },
243
+ {
244
+ "name": "no_tool_explain",
245
+ "passed": true,
246
+ "failure": null,
247
+ "elapsed_s": 0.359,
248
+ "finish_reason": "stop",
249
+ "content": "A router in a Mixture\u2011of\u2011Experts model selects which expert each input token should pass to, routing the token to the appropriate expert's output.",
250
+ "tool_calls": [],
251
+ "usage": {
252
+ "prompt_tokens": 361,
253
+ "completion_tokens": 33,
254
+ "total_tokens": 394,
255
+ "prompt_tokens_details": {
256
+ "cached_tokens": 336
257
+ }
258
+ }
259
+ },
260
+ {
261
+ "name": "tool_result_final_browser",
262
+ "passed": true,
263
+ "failure": null,
264
+ "elapsed_s": 0.23,
265
+ "finish_reason": "stop",
266
+ "content": "The current weather in Austin, TX is 82 F and sunny.",
267
+ "tool_calls": [],
268
+ "usage": {
269
+ "prompt_tokens": 405,
270
+ "completion_tokens": 15,
271
+ "total_tokens": 420,
272
+ "prompt_tokens_details": {
273
+ "cached_tokens": 336
274
+ }
275
+ }
276
+ },
277
+ {
278
+ "name": "tool_result_final_calc",
279
+ "passed": false,
280
+ "failure": "content_mismatch",
281
+ "elapsed_s": 0.227,
282
+ "finish_reason": "stop",
283
+ "content": "The result of 18.5 multiplied by 42 is **822**.",
284
+ "tool_calls": [],
285
+ "usage": {
286
+ "prompt_tokens": 379,
287
+ "completion_tokens": 16,
288
+ "total_tokens": 395,
289
+ "prompt_tokens_details": {
290
+ "cached_tokens": 336
291
+ }
292
+ }
293
+ }
294
+ ]
295
+ }