yossiovadia commited on
Commit
f504ee5
·
verified ·
1 Parent(s): 6a3b26e

Update to 14-category MMLU-Pro model - fixes #584 #591

Browse files
.downloaded ADDED
@@ -0,0 +1 @@
 
 
1
+ 2025-10-14T19:45:18Z
category_mapping.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"category_to_idx": {"biology": 0, "business": 1, "chemistry": 2, "computer science": 3, "economics": 4, "engineering": 5, "health": 6, "history": 7, "law": 8, "math": 9, "other": 10, "philosophy": 11, "physics": 12, "psychology": 13}, "idx_to_category": {"0": "biology", "1": "business", "2": "chemistry", "3": "computer science", "4": "economics", "5": "engineering", "6": "health", "7": "history", "8": "law", "9": "math", "10": "other", "11": "philosophy", "12": "physics", "13": "psychology"}}
config.json CHANGED
@@ -12,7 +12,6 @@
12
  "cls_token_id": 50281,
13
  "decoder_bias": true,
14
  "deterministic_flash_attn": false,
15
- "dtype": "float32",
16
  "embedding_dropout": 0.0,
17
  "eos_token_id": 50282,
18
  "global_attn_every_n_layers": 3,
@@ -21,17 +20,39 @@
21
  "hidden_activation": "gelu",
22
  "hidden_size": 768,
23
  "id2label": {
24
- "0": "business",
25
- "1": "law",
26
- "2": "psychology"
 
 
 
 
 
 
 
 
 
 
 
27
  },
28
  "initializer_cutoff_factor": 2.0,
29
  "initializer_range": 0.02,
30
  "intermediate_size": 1152,
31
  "label2id": {
32
- "business": 0,
33
- "law": 1,
34
- "psychology": 2
 
 
 
 
 
 
 
 
 
 
 
35
  },
36
  "layer_norm_eps": 1e-05,
37
  "local_attention": 128,
@@ -46,10 +67,12 @@
46
  "num_hidden_layers": 22,
47
  "pad_token_id": 50283,
48
  "position_embedding_type": "absolute",
 
49
  "repad_logits_with_grad": false,
50
  "sep_token_id": 50282,
51
  "sparse_pred_ignore_index": -100,
52
  "sparse_prediction": false,
53
- "transformers_version": "4.56.1",
 
54
  "vocab_size": 50368
55
- }
 
12
  "cls_token_id": 50281,
13
  "decoder_bias": true,
14
  "deterministic_flash_attn": false,
 
15
  "embedding_dropout": 0.0,
16
  "eos_token_id": 50282,
17
  "global_attn_every_n_layers": 3,
 
20
  "hidden_activation": "gelu",
21
  "hidden_size": 768,
22
  "id2label": {
23
+ "0": "biology",
24
+ "1": "business",
25
+ "2": "chemistry",
26
+ "3": "computer science",
27
+ "4": "economics",
28
+ "5": "engineering",
29
+ "6": "health",
30
+ "7": "history",
31
+ "8": "law",
32
+ "9": "math",
33
+ "10": "other",
34
+ "11": "philosophy",
35
+ "12": "physics",
36
+ "13": "psychology"
37
  },
38
  "initializer_cutoff_factor": 2.0,
39
  "initializer_range": 0.02,
40
  "intermediate_size": 1152,
41
  "label2id": {
42
+ "biology": 0,
43
+ "business": 1,
44
+ "chemistry": 2,
45
+ "computer science": 3,
46
+ "economics": 4,
47
+ "engineering": 5,
48
+ "health": 6,
49
+ "history": 7,
50
+ "law": 8,
51
+ "math": 9,
52
+ "other": 10,
53
+ "philosophy": 11,
54
+ "physics": 12,
55
+ "psychology": 13
56
  },
57
  "layer_norm_eps": 1e-05,
58
  "local_attention": 128,
 
67
  "num_hidden_layers": 22,
68
  "pad_token_id": 50283,
69
  "position_embedding_type": "absolute",
70
+ "problem_type": "single_label_classification",
71
  "repad_logits_with_grad": false,
72
  "sep_token_id": 50282,
73
  "sparse_pred_ignore_index": -100,
74
  "sparse_prediction": false,
75
+ "torch_dtype": "float32",
76
+ "transformers_version": "4.54.1",
77
  "vocab_size": 50368
78
+ }
evaluation_results.json ADDED
@@ -0,0 +1,654 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "validation_accuracy": 0.8526315789473684,
3
+ "test_accuracy": 0.8343490304709141,
4
+ "validation_report": {
5
+ "biology": {
6
+ "precision": 0.8425925925925926,
7
+ "recall": 0.8425925925925926,
8
+ "f1-score": 0.8425925925925926,
9
+ "support": 108.0
10
+ },
11
+ "business": {
12
+ "precision": 0.8695652173913043,
13
+ "recall": 0.8403361344537815,
14
+ "f1-score": 0.8547008547008547,
15
+ "support": 119.0
16
+ },
17
+ "chemistry": {
18
+ "precision": 0.861271676300578,
19
+ "recall": 0.8764705882352941,
20
+ "f1-score": 0.8688046647230321,
21
+ "support": 170.0
22
+ },
23
+ "computer science": {
24
+ "precision": 0.8507462686567164,
25
+ "recall": 0.9193548387096774,
26
+ "f1-score": 0.8837209302325582,
27
+ "support": 62.0
28
+ },
29
+ "economics": {
30
+ "precision": 0.7986111111111112,
31
+ "recall": 0.905511811023622,
32
+ "f1-score": 0.8487084870848709,
33
+ "support": 127.0
34
+ },
35
+ "engineering": {
36
+ "precision": 0.8776978417266187,
37
+ "recall": 0.8413793103448276,
38
+ "f1-score": 0.8591549295774648,
39
+ "support": 145.0
40
+ },
41
+ "health": {
42
+ "precision": 0.8095238095238095,
43
+ "recall": 0.8292682926829268,
44
+ "f1-score": 0.8192771084337349,
45
+ "support": 123.0
46
+ },
47
+ "history": {
48
+ "precision": 0.896551724137931,
49
+ "recall": 0.9122807017543859,
50
+ "f1-score": 0.9043478260869565,
51
+ "support": 57.0
52
+ },
53
+ "law": {
54
+ "precision": 0.9585798816568047,
55
+ "recall": 0.9818181818181818,
56
+ "f1-score": 0.9700598802395209,
57
+ "support": 165.0
58
+ },
59
+ "math": {
60
+ "precision": 0.8888888888888888,
61
+ "recall": 0.9108910891089109,
62
+ "f1-score": 0.8997555012224939,
63
+ "support": 202.0
64
+ },
65
+ "other": {
66
+ "precision": 0.7916666666666666,
67
+ "recall": 0.6884057971014492,
68
+ "f1-score": 0.7364341085271318,
69
+ "support": 138.0
70
+ },
71
+ "philosophy": {
72
+ "precision": 0.8375,
73
+ "recall": 0.8933333333333333,
74
+ "f1-score": 0.864516129032258,
75
+ "support": 75.0
76
+ },
77
+ "physics": {
78
+ "precision": 0.8157894736842105,
79
+ "recall": 0.7948717948717948,
80
+ "f1-score": 0.8051948051948052,
81
+ "support": 195.0
82
+ },
83
+ "psychology": {
84
+ "precision": 0.8073394495412844,
85
+ "recall": 0.7394957983193278,
86
+ "f1-score": 0.7719298245614035,
87
+ "support": 119.0
88
+ },
89
+ "accuracy": 0.8526315789473684,
90
+ "macro avg": {
91
+ "precision": 0.8504517572770369,
92
+ "recall": 0.8554293045964361,
93
+ "f1-score": 0.8520855458721199,
94
+ "support": 1805.0
95
+ },
96
+ "weighted avg": {
97
+ "precision": 0.8520451342930214,
98
+ "recall": 0.8526315789473684,
99
+ "f1-score": 0.8515396065019253,
100
+ "support": 1805.0
101
+ }
102
+ },
103
+ "test_report": {
104
+ "biology": {
105
+ "precision": 0.8461538461538461,
106
+ "recall": 0.822429906542056,
107
+ "f1-score": 0.8341232227488151,
108
+ "support": 107.0
109
+ },
110
+ "business": {
111
+ "precision": 0.8648648648648649,
112
+ "recall": 0.8135593220338984,
113
+ "f1-score": 0.8384279475982532,
114
+ "support": 118.0
115
+ },
116
+ "chemistry": {
117
+ "precision": 0.8170731707317073,
118
+ "recall": 0.788235294117647,
119
+ "f1-score": 0.8023952095808383,
120
+ "support": 170.0
121
+ },
122
+ "computer science": {
123
+ "precision": 0.8301886792452831,
124
+ "recall": 0.7213114754098361,
125
+ "f1-score": 0.7719298245614035,
126
+ "support": 61.0
127
+ },
128
+ "economics": {
129
+ "precision": 0.8688524590163934,
130
+ "recall": 0.8412698412698413,
131
+ "f1-score": 0.8548387096774194,
132
+ "support": 126.0
133
+ },
134
+ "engineering": {
135
+ "precision": 0.8394160583941606,
136
+ "recall": 0.7876712328767124,
137
+ "f1-score": 0.8127208480565371,
138
+ "support": 146.0
139
+ },
140
+ "health": {
141
+ "precision": 0.8790322580645161,
142
+ "recall": 0.8861788617886179,
143
+ "f1-score": 0.8825910931174089,
144
+ "support": 123.0
145
+ },
146
+ "history": {
147
+ "precision": 0.9433962264150944,
148
+ "recall": 0.8771929824561403,
149
+ "f1-score": 0.9090909090909091,
150
+ "support": 57.0
151
+ },
152
+ "law": {
153
+ "precision": 0.9457831325301205,
154
+ "recall": 0.9515151515151515,
155
+ "f1-score": 0.9486404833836858,
156
+ "support": 165.0
157
+ },
158
+ "math": {
159
+ "precision": 0.8440366972477065,
160
+ "recall": 0.9064039408866995,
161
+ "f1-score": 0.8741092636579573,
162
+ "support": 203.0
163
+ },
164
+ "other": {
165
+ "precision": 0.6923076923076923,
166
+ "recall": 0.7122302158273381,
167
+ "f1-score": 0.7021276595744681,
168
+ "support": 139.0
169
+ },
170
+ "philosophy": {
171
+ "precision": 0.8333333333333334,
172
+ "recall": 0.9333333333333333,
173
+ "f1-score": 0.8805031446540881,
174
+ "support": 75.0
175
+ },
176
+ "physics": {
177
+ "precision": 0.7853658536585366,
178
+ "recall": 0.8256410256410256,
179
+ "f1-score": 0.805,
180
+ "support": 195.0
181
+ },
182
+ "psychology": {
183
+ "precision": 0.768595041322314,
184
+ "recall": 0.775,
185
+ "f1-score": 0.7717842323651453,
186
+ "support": 120.0
187
+ },
188
+ "accuracy": 0.8343490304709141,
189
+ "macro avg": {
190
+ "precision": 0.8398856652346834,
191
+ "recall": 0.8315694702641643,
192
+ "f1-score": 0.8348773248619237,
193
+ "support": 1805.0
194
+ },
195
+ "weighted avg": {
196
+ "precision": 0.8352151540840406,
197
+ "recall": 0.8343490304709141,
198
+ "f1-score": 0.8341367555565297,
199
+ "support": 1805.0
200
+ }
201
+ },
202
+ "validation_confusion_matrix": [
203
+ [
204
+ 91,
205
+ 0,
206
+ 2,
207
+ 0,
208
+ 1,
209
+ 0,
210
+ 9,
211
+ 0,
212
+ 0,
213
+ 0,
214
+ 2,
215
+ 0,
216
+ 0,
217
+ 3
218
+ ],
219
+ [
220
+ 0,
221
+ 100,
222
+ 1,
223
+ 0,
224
+ 10,
225
+ 0,
226
+ 0,
227
+ 0,
228
+ 0,
229
+ 3,
230
+ 2,
231
+ 2,
232
+ 0,
233
+ 1
234
+ ],
235
+ [
236
+ 1,
237
+ 0,
238
+ 149,
239
+ 0,
240
+ 0,
241
+ 5,
242
+ 1,
243
+ 0,
244
+ 0,
245
+ 1,
246
+ 0,
247
+ 0,
248
+ 13,
249
+ 0
250
+ ],
251
+ [
252
+ 0,
253
+ 0,
254
+ 0,
255
+ 57,
256
+ 0,
257
+ 0,
258
+ 0,
259
+ 0,
260
+ 0,
261
+ 3,
262
+ 2,
263
+ 0,
264
+ 0,
265
+ 0
266
+ ],
267
+ [
268
+ 1,
269
+ 5,
270
+ 0,
271
+ 0,
272
+ 115,
273
+ 0,
274
+ 0,
275
+ 0,
276
+ 1,
277
+ 2,
278
+ 1,
279
+ 2,
280
+ 0,
281
+ 0
282
+ ],
283
+ [
284
+ 0,
285
+ 0,
286
+ 3,
287
+ 5,
288
+ 0,
289
+ 122,
290
+ 0,
291
+ 0,
292
+ 0,
293
+ 2,
294
+ 0,
295
+ 0,
296
+ 13,
297
+ 0
298
+ ],
299
+ [
300
+ 5,
301
+ 0,
302
+ 1,
303
+ 0,
304
+ 1,
305
+ 0,
306
+ 102,
307
+ 0,
308
+ 1,
309
+ 0,
310
+ 5,
311
+ 3,
312
+ 1,
313
+ 4
314
+ ],
315
+ [
316
+ 1,
317
+ 0,
318
+ 0,
319
+ 0,
320
+ 0,
321
+ 0,
322
+ 1,
323
+ 52,
324
+ 0,
325
+ 0,
326
+ 2,
327
+ 1,
328
+ 0,
329
+ 0
330
+ ],
331
+ [
332
+ 0,
333
+ 0,
334
+ 0,
335
+ 0,
336
+ 1,
337
+ 0,
338
+ 1,
339
+ 0,
340
+ 162,
341
+ 0,
342
+ 1,
343
+ 0,
344
+ 0,
345
+ 0
346
+ ],
347
+ [
348
+ 0,
349
+ 3,
350
+ 0,
351
+ 2,
352
+ 2,
353
+ 1,
354
+ 1,
355
+ 0,
356
+ 1,
357
+ 184,
358
+ 1,
359
+ 0,
360
+ 3,
361
+ 4
362
+ ],
363
+ [
364
+ 2,
365
+ 5,
366
+ 2,
367
+ 1,
368
+ 10,
369
+ 0,
370
+ 3,
371
+ 3,
372
+ 2,
373
+ 2,
374
+ 95,
375
+ 2,
376
+ 4,
377
+ 7
378
+ ],
379
+ [
380
+ 1,
381
+ 0,
382
+ 0,
383
+ 0,
384
+ 1,
385
+ 0,
386
+ 1,
387
+ 2,
388
+ 1,
389
+ 0,
390
+ 1,
391
+ 67,
392
+ 0,
393
+ 1
394
+ ],
395
+ [
396
+ 1,
397
+ 0,
398
+ 15,
399
+ 0,
400
+ 0,
401
+ 11,
402
+ 0,
403
+ 0,
404
+ 0,
405
+ 9,
406
+ 3,
407
+ 0,
408
+ 155,
409
+ 1
410
+ ],
411
+ [
412
+ 5,
413
+ 2,
414
+ 0,
415
+ 2,
416
+ 3,
417
+ 0,
418
+ 7,
419
+ 1,
420
+ 1,
421
+ 1,
422
+ 5,
423
+ 3,
424
+ 1,
425
+ 88
426
+ ]
427
+ ],
428
+ "test_confusion_matrix": [
429
+ [
430
+ 88,
431
+ 0,
432
+ 0,
433
+ 0,
434
+ 1,
435
+ 0,
436
+ 6,
437
+ 1,
438
+ 2,
439
+ 1,
440
+ 1,
441
+ 0,
442
+ 1,
443
+ 6
444
+ ],
445
+ [
446
+ 0,
447
+ 96,
448
+ 0,
449
+ 0,
450
+ 5,
451
+ 0,
452
+ 0,
453
+ 0,
454
+ 1,
455
+ 6,
456
+ 3,
457
+ 2,
458
+ 1,
459
+ 4
460
+ ],
461
+ [
462
+ 2,
463
+ 0,
464
+ 134,
465
+ 1,
466
+ 0,
467
+ 8,
468
+ 0,
469
+ 0,
470
+ 0,
471
+ 2,
472
+ 2,
473
+ 0,
474
+ 21,
475
+ 0
476
+ ],
477
+ [
478
+ 0,
479
+ 0,
480
+ 1,
481
+ 44,
482
+ 0,
483
+ 3,
484
+ 1,
485
+ 0,
486
+ 0,
487
+ 9,
488
+ 3,
489
+ 0,
490
+ 0,
491
+ 0
492
+ ],
493
+ [
494
+ 1,
495
+ 4,
496
+ 0,
497
+ 0,
498
+ 106,
499
+ 0,
500
+ 0,
501
+ 0,
502
+ 1,
503
+ 3,
504
+ 6,
505
+ 1,
506
+ 0,
507
+ 4
508
+ ],
509
+ [
510
+ 1,
511
+ 0,
512
+ 13,
513
+ 1,
514
+ 0,
515
+ 115,
516
+ 0,
517
+ 0,
518
+ 0,
519
+ 6,
520
+ 1,
521
+ 0,
522
+ 9,
523
+ 0
524
+ ],
525
+ [
526
+ 6,
527
+ 0,
528
+ 1,
529
+ 0,
530
+ 1,
531
+ 1,
532
+ 109,
533
+ 0,
534
+ 0,
535
+ 1,
536
+ 2,
537
+ 0,
538
+ 0,
539
+ 2
540
+ ],
541
+ [
542
+ 1,
543
+ 0,
544
+ 0,
545
+ 0,
546
+ 0,
547
+ 0,
548
+ 0,
549
+ 50,
550
+ 0,
551
+ 0,
552
+ 5,
553
+ 0,
554
+ 0,
555
+ 1
556
+ ],
557
+ [
558
+ 0,
559
+ 0,
560
+ 0,
561
+ 0,
562
+ 0,
563
+ 0,
564
+ 0,
565
+ 0,
566
+ 157,
567
+ 0,
568
+ 4,
569
+ 4,
570
+ 0,
571
+ 0
572
+ ],
573
+ [
574
+ 1,
575
+ 2,
576
+ 0,
577
+ 5,
578
+ 1,
579
+ 0,
580
+ 0,
581
+ 0,
582
+ 0,
583
+ 184,
584
+ 0,
585
+ 0,
586
+ 9,
587
+ 1
588
+ ],
589
+ [
590
+ 0,
591
+ 9,
592
+ 1,
593
+ 2,
594
+ 7,
595
+ 0,
596
+ 2,
597
+ 1,
598
+ 4,
599
+ 1,
600
+ 99,
601
+ 4,
602
+ 2,
603
+ 7
604
+ ],
605
+ [
606
+ 0,
607
+ 0,
608
+ 0,
609
+ 0,
610
+ 0,
611
+ 0,
612
+ 0,
613
+ 0,
614
+ 0,
615
+ 0,
616
+ 3,
617
+ 70,
618
+ 0,
619
+ 2
620
+ ],
621
+ [
622
+ 1,
623
+ 0,
624
+ 14,
625
+ 0,
626
+ 0,
627
+ 10,
628
+ 0,
629
+ 0,
630
+ 0,
631
+ 4,
632
+ 4,
633
+ 0,
634
+ 161,
635
+ 1
636
+ ],
637
+ [
638
+ 3,
639
+ 0,
640
+ 0,
641
+ 0,
642
+ 1,
643
+ 0,
644
+ 6,
645
+ 1,
646
+ 1,
647
+ 1,
648
+ 10,
649
+ 3,
650
+ 1,
651
+ 93
652
+ ]
653
+ ]
654
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bc0aaf61989a7eff1be0140cded181719ae059a048528153b809fd16b7dfb335
3
- size 598442860
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ac997d635f7abf77e40553d15af381cf775aad0f20362c3e8f2e0e9d0353abe
3
+ size 598476704
tokenizer.json CHANGED
@@ -1,7 +1,21 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 512,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": {
11
+ "Fixed": 512
12
+ },
13
+ "direction": "Right",
14
+ "pad_to_multiple_of": null,
15
+ "pad_id": 50283,
16
+ "pad_type_id": 0,
17
+ "pad_token": "[PAD]"
18
+ },
19
  "added_tokens": [
20
  {
21
  "id": 0,
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c469ad6d75724ea5e403a6a9e14cd2b3afbb0aebef6b5e8e129064bdaf81e4ab
3
+ size 5777