helloboy91 commited on
Commit
c55cf27
·
verified ·
1 Parent(s): f5f443b

Add full zero-shot evaluation

Browse files
Files changed (1) hide show
  1. standard-eval.json +449 -0
standard-eval.json ADDED
@@ -0,0 +1,449 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint": "runs\\alloy-312m-2k-lead-v2\\best.pt",
3
+ "checkpoint_sha256": "928865f44252b3ff38a23f7ced73f4986e3e3951673be035b824ec15e5ee1306",
4
+ "tokenizer": "runs\\alloy-312m-2k-lead-v2\\tokenizer.json",
5
+ "tokenizer_sha256": "40d36acc35e5364d90fdcdae773143b7571b5ec3b7ace2030d12d4bd5a3a1025",
6
+ "checkpoint_step": 15259,
7
+ "tasks": [
8
+ "arc_easy",
9
+ "arc_challenge",
10
+ "hellaswag",
11
+ "piqa",
12
+ "sciq",
13
+ "winogrande"
14
+ ],
15
+ "num_fewshot": 0,
16
+ "limit": null,
17
+ "bootstrap_iters": 0,
18
+ "lm_eval_version": "0.4.13",
19
+ "results": {
20
+ "results": {
21
+ "arc_easy": {
22
+ "name": "arc_easy",
23
+ "alias": "arc_easy",
24
+ "sample_len": 2376,
25
+ "acc,none": 0.49915824915824913,
26
+ "acc_stderr,none": "N/A",
27
+ "acc_norm,none": 0.4524410774410774,
28
+ "acc_norm_stderr,none": "N/A"
29
+ },
30
+ "arc_challenge": {
31
+ "name": "arc_challenge",
32
+ "alias": "arc_challenge",
33
+ "sample_len": 1172,
34
+ "acc,none": 0.21416382252559726,
35
+ "acc_stderr,none": "N/A",
36
+ "acc_norm,none": 0.25597269624573377,
37
+ "acc_norm_stderr,none": "N/A"
38
+ },
39
+ "hellaswag": {
40
+ "name": "hellaswag",
41
+ "alias": "hellaswag",
42
+ "sample_len": 10042,
43
+ "acc,none": 0.29874526986656047,
44
+ "acc_stderr,none": "N/A",
45
+ "acc_norm,none": 0.327823142800239,
46
+ "acc_norm_stderr,none": "N/A"
47
+ },
48
+ "piqa": {
49
+ "name": "piqa",
50
+ "alias": "piqa",
51
+ "sample_len": 1838,
52
+ "acc,none": 0.6294885745375408,
53
+ "acc_stderr,none": "N/A",
54
+ "acc_norm,none": 0.6360174102285092,
55
+ "acc_norm_stderr,none": "N/A"
56
+ },
57
+ "sciq": {
58
+ "name": "sciq",
59
+ "alias": "sciq",
60
+ "sample_len": 1000,
61
+ "acc,none": 0.719,
62
+ "acc_stderr,none": "N/A",
63
+ "acc_norm,none": 0.618,
64
+ "acc_norm_stderr,none": "N/A"
65
+ },
66
+ "winogrande": {
67
+ "name": "winogrande",
68
+ "alias": "winogrande",
69
+ "sample_len": 1267,
70
+ "acc,none": 0.5067087608524072,
71
+ "acc_stderr,none": "N/A"
72
+ }
73
+ },
74
+ "group_subtasks": {},
75
+ "configs": {
76
+ "arc_challenge": {
77
+ "task": "arc_challenge",
78
+ "dataset_path": "allenai/ai2_arc",
79
+ "dataset_name": "ARC-Challenge",
80
+ "training_split": "train",
81
+ "validation_split": "validation",
82
+ "test_split": "test",
83
+ "doc_to_text": "Question: {{question}}\nAnswer:",
84
+ "doc_to_target": "{{choices.label.index(answerKey)}}",
85
+ "unsafe_code": false,
86
+ "doc_to_choice": "{{choices.text}}",
87
+ "description": "",
88
+ "target_delimiter": " ",
89
+ "fewshot_delimiter": "\n\n",
90
+ "fewshot_config": {
91
+ "sampler": "default",
92
+ "split": null,
93
+ "process_docs": null,
94
+ "fewshot_indices": null,
95
+ "samples": null,
96
+ "doc_to_text": "Question: {{question}}\nAnswer:",
97
+ "doc_to_choice": "{{choices.text}}",
98
+ "doc_to_target": "{{choices.label.index(answerKey)}}",
99
+ "gen_prefix": null,
100
+ "fewshot_delimiter": "\n\n",
101
+ "target_delimiter": " "
102
+ },
103
+ "num_fewshot": 0,
104
+ "metric_list": [
105
+ {
106
+ "metric": "acc",
107
+ "aggregation": "mean",
108
+ "higher_is_better": true
109
+ },
110
+ {
111
+ "metric": "acc_norm",
112
+ "aggregation": "mean",
113
+ "higher_is_better": true
114
+ }
115
+ ],
116
+ "output_type": "multiple_choice",
117
+ "repeats": 1,
118
+ "should_decontaminate": true,
119
+ "doc_to_decontamination_query": "Question: {{question}}\nAnswer:",
120
+ "metadata": {
121
+ "version": 1.0,
122
+ "config_source": "E:\\Repos\\tiny-english-30m\\.venv\\Lib\\site-packages\\lm_eval\\tasks\\arc\\arc_challenge.yaml"
123
+ }
124
+ },
125
+ "arc_easy": {
126
+ "task": "arc_easy",
127
+ "dataset_path": "allenai/ai2_arc",
128
+ "dataset_name": "ARC-Easy",
129
+ "training_split": "train",
130
+ "validation_split": "validation",
131
+ "test_split": "test",
132
+ "doc_to_text": "Question: {{question}}\nAnswer:",
133
+ "doc_to_target": "{{choices.label.index(answerKey)}}",
134
+ "unsafe_code": false,
135
+ "doc_to_choice": "{{choices.text}}",
136
+ "description": "",
137
+ "target_delimiter": " ",
138
+ "fewshot_delimiter": "\n\n",
139
+ "fewshot_config": {
140
+ "sampler": "default",
141
+ "split": null,
142
+ "process_docs": null,
143
+ "fewshot_indices": null,
144
+ "samples": null,
145
+ "doc_to_text": "Question: {{question}}\nAnswer:",
146
+ "doc_to_choice": "{{choices.text}}",
147
+ "doc_to_target": "{{choices.label.index(answerKey)}}",
148
+ "gen_prefix": null,
149
+ "fewshot_delimiter": "\n\n",
150
+ "target_delimiter": " "
151
+ },
152
+ "num_fewshot": 0,
153
+ "metric_list": [
154
+ {
155
+ "metric": "acc",
156
+ "aggregation": "mean",
157
+ "higher_is_better": true
158
+ },
159
+ {
160
+ "metric": "acc_norm",
161
+ "aggregation": "mean",
162
+ "higher_is_better": true
163
+ }
164
+ ],
165
+ "output_type": "multiple_choice",
166
+ "repeats": 1,
167
+ "should_decontaminate": true,
168
+ "doc_to_decontamination_query": "Question: {{question}}\nAnswer:",
169
+ "metadata": {
170
+ "version": 1.0,
171
+ "config_source": "E:\\Repos\\tiny-english-30m\\.venv\\Lib\\site-packages\\lm_eval\\tasks\\arc\\arc_easy.yaml"
172
+ }
173
+ },
174
+ "hellaswag": {
175
+ "task": "hellaswag",
176
+ "dataset_path": "Rowan/hellaswag",
177
+ "training_split": "train",
178
+ "validation_split": "validation",
179
+ "process_docs": "def process_docs(dataset: datasets.Dataset) -> datasets.Dataset:\n def _process_doc(doc):\n ctx = doc[\"ctx_a\"] + \" \" + doc[\"ctx_b\"].capitalize()\n out_doc = {\n \"query\": preprocess(doc[\"activity_label\"] + \": \" + ctx),\n \"choices\": [preprocess(ending) for ending in doc[\"endings\"]],\n \"gold\": int(doc[\"label\"]),\n }\n return out_doc\n\n return dataset.map(_process_doc)\n",
180
+ "doc_to_text": "{{query}}",
181
+ "doc_to_target": "{{label}}",
182
+ "unsafe_code": false,
183
+ "doc_to_choice": "choices",
184
+ "description": "",
185
+ "target_delimiter": " ",
186
+ "fewshot_delimiter": "\n\n",
187
+ "fewshot_config": {
188
+ "sampler": "default",
189
+ "split": null,
190
+ "process_docs": "<function process_docs at 0x0000018C64FED620>",
191
+ "fewshot_indices": null,
192
+ "samples": null,
193
+ "doc_to_text": "{{query}}",
194
+ "doc_to_choice": "choices",
195
+ "doc_to_target": "{{label}}",
196
+ "gen_prefix": null,
197
+ "fewshot_delimiter": "\n\n",
198
+ "target_delimiter": " "
199
+ },
200
+ "num_fewshot": 0,
201
+ "metric_list": [
202
+ {
203
+ "metric": "acc",
204
+ "aggregation": "mean",
205
+ "higher_is_better": true
206
+ },
207
+ {
208
+ "metric": "acc_norm",
209
+ "aggregation": "mean",
210
+ "higher_is_better": true
211
+ }
212
+ ],
213
+ "output_type": "multiple_choice",
214
+ "repeats": 1,
215
+ "should_decontaminate": false,
216
+ "metadata": {
217
+ "version": 1.0,
218
+ "config_source": "E:\\Repos\\tiny-english-30m\\.venv\\Lib\\site-packages\\lm_eval\\tasks\\hellaswag\\hellaswag.yaml"
219
+ }
220
+ },
221
+ "piqa": {
222
+ "task": "piqa",
223
+ "dataset_path": "baber/piqa",
224
+ "training_split": "train",
225
+ "validation_split": "validation",
226
+ "doc_to_text": "Question: {{goal}}\nAnswer:",
227
+ "doc_to_target": "label",
228
+ "unsafe_code": false,
229
+ "doc_to_choice": "{{[sol1, sol2]}}",
230
+ "description": "",
231
+ "target_delimiter": " ",
232
+ "fewshot_delimiter": "\n\n",
233
+ "fewshot_config": {
234
+ "sampler": "default",
235
+ "split": null,
236
+ "process_docs": null,
237
+ "fewshot_indices": null,
238
+ "samples": null,
239
+ "doc_to_text": "Question: {{goal}}\nAnswer:",
240
+ "doc_to_choice": "{{[sol1, sol2]}}",
241
+ "doc_to_target": "label",
242
+ "gen_prefix": null,
243
+ "fewshot_delimiter": "\n\n",
244
+ "target_delimiter": " "
245
+ },
246
+ "num_fewshot": 0,
247
+ "metric_list": [
248
+ {
249
+ "metric": "acc",
250
+ "aggregation": "mean",
251
+ "higher_is_better": true
252
+ },
253
+ {
254
+ "metric": "acc_norm",
255
+ "aggregation": "mean",
256
+ "higher_is_better": true
257
+ }
258
+ ],
259
+ "output_type": "multiple_choice",
260
+ "repeats": 1,
261
+ "should_decontaminate": true,
262
+ "doc_to_decontamination_query": "goal",
263
+ "metadata": {
264
+ "version": 1.0,
265
+ "config_source": "E:\\Repos\\tiny-english-30m\\.venv\\Lib\\site-packages\\lm_eval\\tasks\\piqa\\piqa.yaml"
266
+ }
267
+ },
268
+ "sciq": {
269
+ "task": "sciq",
270
+ "dataset_path": "allenai/sciq",
271
+ "training_split": "train",
272
+ "validation_split": "validation",
273
+ "test_split": "test",
274
+ "doc_to_text": "{{support.lstrip()}}\nQuestion: {{question}}\nAnswer:",
275
+ "doc_to_target": 3,
276
+ "unsafe_code": false,
277
+ "doc_to_choice": "{{[distractor1, distractor2, distractor3, correct_answer]}}",
278
+ "description": "",
279
+ "target_delimiter": " ",
280
+ "fewshot_delimiter": "\n\n",
281
+ "fewshot_config": {
282
+ "sampler": "default",
283
+ "split": null,
284
+ "process_docs": null,
285
+ "fewshot_indices": null,
286
+ "samples": null,
287
+ "doc_to_text": "{{support.lstrip()}}\nQuestion: {{question}}\nAnswer:",
288
+ "doc_to_choice": "{{[distractor1, distractor2, distractor3, correct_answer]}}",
289
+ "doc_to_target": 3,
290
+ "gen_prefix": null,
291
+ "fewshot_delimiter": "\n\n",
292
+ "target_delimiter": " "
293
+ },
294
+ "num_fewshot": 0,
295
+ "metric_list": [
296
+ {
297
+ "metric": "acc",
298
+ "aggregation": "mean",
299
+ "higher_is_better": true
300
+ },
301
+ {
302
+ "metric": "acc_norm",
303
+ "aggregation": "mean",
304
+ "higher_is_better": true
305
+ }
306
+ ],
307
+ "output_type": "multiple_choice",
308
+ "repeats": 1,
309
+ "should_decontaminate": true,
310
+ "doc_to_decontamination_query": "{{support}} {{question}}",
311
+ "metadata": {
312
+ "version": 1.0,
313
+ "config_source": "E:\\Repos\\tiny-english-30m\\.venv\\Lib\\site-packages\\lm_eval\\tasks\\sciq\\sciq.yaml"
314
+ }
315
+ },
316
+ "winogrande": {
317
+ "task": "winogrande",
318
+ "dataset_path": "allenai/winogrande",
319
+ "dataset_name": "winogrande_xl",
320
+ "training_split": "train",
321
+ "validation_split": "validation",
322
+ "doc_to_text": "def doc_to_text(doc):\n answer_to_num = {\"1\": 0, \"2\": 1}\n return answer_to_num[doc[\"answer\"]]\n",
323
+ "doc_to_target": "def doc_to_target(doc):\n idx = doc[\"sentence\"].index(\"_\") + 1\n return doc[\"sentence\"][idx:].strip()\n",
324
+ "unsafe_code": false,
325
+ "doc_to_choice": "def doc_to_choice(doc):\n idx = doc[\"sentence\"].index(\"_\")\n options = [doc[\"option1\"], doc[\"option2\"]]\n return [doc[\"sentence\"][:idx] + opt for opt in options]\n",
326
+ "description": "",
327
+ "target_delimiter": " ",
328
+ "fewshot_delimiter": "\n\n",
329
+ "fewshot_config": {
330
+ "sampler": "default",
331
+ "split": null,
332
+ "process_docs": null,
333
+ "fewshot_indices": null,
334
+ "samples": null,
335
+ "doc_to_text": "<function doc_to_text at 0x0000018C6BA29F80>",
336
+ "doc_to_choice": "<function doc_to_choice at 0x0000018C6BA2A200>",
337
+ "doc_to_target": "<function doc_to_target at 0x0000018C6BA2A160>",
338
+ "gen_prefix": null,
339
+ "fewshot_delimiter": "\n\n",
340
+ "target_delimiter": " "
341
+ },
342
+ "num_fewshot": 0,
343
+ "metric_list": [
344
+ {
345
+ "metric": "acc",
346
+ "aggregation": "mean",
347
+ "higher_is_better": true
348
+ }
349
+ ],
350
+ "output_type": "multiple_choice",
351
+ "repeats": 1,
352
+ "should_decontaminate": true,
353
+ "doc_to_decontamination_query": "sentence",
354
+ "metadata": {
355
+ "version": 1.0,
356
+ "config_source": "E:\\Repos\\tiny-english-30m\\.venv\\Lib\\site-packages\\lm_eval\\tasks\\winogrande\\default.yaml"
357
+ }
358
+ }
359
+ },
360
+ "versions": {
361
+ "arc_challenge": 1.0,
362
+ "arc_easy": 1.0,
363
+ "hellaswag": 1.0,
364
+ "piqa": 1.0,
365
+ "sciq": 1.0,
366
+ "winogrande": 1.0
367
+ },
368
+ "n-shot": {
369
+ "arc_challenge": 0,
370
+ "arc_easy": 0,
371
+ "hellaswag": 0,
372
+ "piqa": 0,
373
+ "sciq": 0,
374
+ "winogrande": 0
375
+ },
376
+ "higher_is_better": {
377
+ "arc_challenge": {
378
+ "acc": true,
379
+ "acc_norm": true
380
+ },
381
+ "arc_easy": {
382
+ "acc": true,
383
+ "acc_norm": true
384
+ },
385
+ "hellaswag": {
386
+ "acc": true,
387
+ "acc_norm": true
388
+ },
389
+ "piqa": {
390
+ "acc": true,
391
+ "acc_norm": true
392
+ },
393
+ "sciq": {
394
+ "acc": true,
395
+ "acc_norm": true
396
+ },
397
+ "winogrande": {
398
+ "acc": true
399
+ }
400
+ },
401
+ "n-samples": {
402
+ "arc_easy": {
403
+ "original": 2376,
404
+ "effective": 2376
405
+ },
406
+ "arc_challenge": {
407
+ "original": 1172,
408
+ "effective": 1172
409
+ },
410
+ "hellaswag": {
411
+ "original": 10042,
412
+ "effective": 10042
413
+ },
414
+ "piqa": {
415
+ "original": 1838,
416
+ "effective": 1838
417
+ },
418
+ "sciq": {
419
+ "original": 1000,
420
+ "effective": 1000
421
+ },
422
+ "winogrande": {
423
+ "original": 1267,
424
+ "effective": 1267
425
+ }
426
+ },
427
+ "config": {
428
+ "model": "TinyEnglishLM",
429
+ "model_args": null,
430
+ "batch_size": 1,
431
+ "batch_sizes": [],
432
+ "device": "cuda",
433
+ "use_cache": null,
434
+ "limit": null,
435
+ "bootstrap_iters": 0,
436
+ "gen_kwargs": null,
437
+ "random_seed": 0,
438
+ "numpy_seed": 1234,
439
+ "torch_seed": 1234,
440
+ "fewshot_seed": 1234
441
+ },
442
+ "git_hash": "8a46cd5",
443
+ "date": 1790814588.8014357,
444
+ "pretty_env_info": "PyTorch version: 2.6.0+cu124\nIs debug build: False\nCUDA used to build PyTorch: 12.4\nROCM used to build PyTorch: N/A\n\nOS: Microsoft Windows 11 Pro (10.0.26200 64-bit)\nGCC version: Could not collect\nClang version: Could not collect\nCMake version: Could not collect\nLibc version: N/A\n\nPython version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] (64-bit runtime)\nPython platform: Windows-11-10.0.26200-SP0\nIs CUDA available: True\nCUDA runtime version: 13.0.48\r\nCUDA_MODULE_LOADING set to: LAZY\nGPU models and configuration: GPU 0: NVIDIA GeForce RTX 3060 Ti\nNvidia driver version: 591.86\ncuDNN version: Could not collect\nHIP runtime version: N/A\nMIOpen runtime version: N/A\nIs XNNPACK available: True\n\nCPU:\nName: 12th Gen Intel(R) Core(TM) i7-12700\nManufacturer: GenuineIntel\nFamily: 198\nArchitecture: 9\nProcessorType: 3\nDeviceID: CPU0\nCurrentClockSpeed: 2100\nMaxClockSpeed: 2100\nL2CacheSize: 12288\nL2CacheSpeed: None\nRevision: None\n\nVersions of relevant libraries:\n[pip3] numpy==2.5.3\n[pip3] torch==2.6.0+cu124\n[conda] Could not collect",
445
+ "transformers_version": "N/A",
446
+ "lm_eval_version": "0.4.13",
447
+ "upper_git_hash": null
448
+ }
449
+ }