Update to 14-category MMLU-Pro model (81.19% accuracy) - fixes #584 #591
Browse files- category_mapping.json +34 -0
- config.json +29 -7
- label_mapping.json +28 -6
- merges.txt +0 -0
- model.safetensors +2 -2
- vocab.json +0 -0
category_mapping.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"category_to_idx": {
|
| 3 |
+
"biology": 0,
|
| 4 |
+
"business": 1,
|
| 5 |
+
"chemistry": 2,
|
| 6 |
+
"computer science": 3,
|
| 7 |
+
"economics": 4,
|
| 8 |
+
"engineering": 5,
|
| 9 |
+
"health": 6,
|
| 10 |
+
"history": 7,
|
| 11 |
+
"law": 8,
|
| 12 |
+
"math": 9,
|
| 13 |
+
"other": 10,
|
| 14 |
+
"philosophy": 11,
|
| 15 |
+
"physics": 12,
|
| 16 |
+
"psychology": 13
|
| 17 |
+
},
|
| 18 |
+
"idx_to_category": {
|
| 19 |
+
"0": "biology",
|
| 20 |
+
"1": "business",
|
| 21 |
+
"2": "chemistry",
|
| 22 |
+
"3": "computer science",
|
| 23 |
+
"4": "economics",
|
| 24 |
+
"5": "engineering",
|
| 25 |
+
"6": "health",
|
| 26 |
+
"7": "history",
|
| 27 |
+
"8": "law",
|
| 28 |
+
"9": "math",
|
| 29 |
+
"10": "other",
|
| 30 |
+
"11": "philosophy",
|
| 31 |
+
"12": "physics",
|
| 32 |
+
"13": "psychology"
|
| 33 |
+
}
|
| 34 |
+
}
|
config.json
CHANGED
|
@@ -11,16 +11,38 @@
|
|
| 11 |
"hidden_dropout_prob": 0.1,
|
| 12 |
"hidden_size": 768,
|
| 13 |
"id2label": {
|
| 14 |
-
"0": "
|
| 15 |
-
"1": "
|
| 16 |
-
"2": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
},
|
| 18 |
"initializer_range": 0.02,
|
| 19 |
"intermediate_size": 3072,
|
| 20 |
"label2id": {
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
},
|
| 25 |
"layer_norm_eps": 1e-05,
|
| 26 |
"max_position_embeddings": 514,
|
|
@@ -29,7 +51,7 @@
|
|
| 29 |
"num_hidden_layers": 12,
|
| 30 |
"pad_token_id": 1,
|
| 31 |
"position_embedding_type": "absolute",
|
| 32 |
-
"transformers_version": "4.
|
| 33 |
"type_vocab_size": 1,
|
| 34 |
"use_cache": true,
|
| 35 |
"vocab_size": 50265
|
|
|
|
| 11 |
"hidden_dropout_prob": 0.1,
|
| 12 |
"hidden_size": 768,
|
| 13 |
"id2label": {
|
| 14 |
+
"0": "biology",
|
| 15 |
+
"1": "business",
|
| 16 |
+
"2": "chemistry",
|
| 17 |
+
"3": "computer science",
|
| 18 |
+
"4": "economics",
|
| 19 |
+
"5": "engineering",
|
| 20 |
+
"6": "health",
|
| 21 |
+
"7": "history",
|
| 22 |
+
"8": "law",
|
| 23 |
+
"9": "math",
|
| 24 |
+
"10": "other",
|
| 25 |
+
"11": "philosophy",
|
| 26 |
+
"12": "physics",
|
| 27 |
+
"13": "psychology"
|
| 28 |
},
|
| 29 |
"initializer_range": 0.02,
|
| 30 |
"intermediate_size": 3072,
|
| 31 |
"label2id": {
|
| 32 |
+
"biology": 0,
|
| 33 |
+
"business": 1,
|
| 34 |
+
"chemistry": 2,
|
| 35 |
+
"computer science": 3,
|
| 36 |
+
"economics": 4,
|
| 37 |
+
"engineering": 5,
|
| 38 |
+
"health": 6,
|
| 39 |
+
"history": 7,
|
| 40 |
+
"law": 8,
|
| 41 |
+
"math": 9,
|
| 42 |
+
"other": 10,
|
| 43 |
+
"philosophy": 11,
|
| 44 |
+
"physics": 12,
|
| 45 |
+
"psychology": 13
|
| 46 |
},
|
| 47 |
"layer_norm_eps": 1e-05,
|
| 48 |
"max_position_embeddings": 514,
|
|
|
|
| 51 |
"num_hidden_layers": 12,
|
| 52 |
"pad_token_id": 1,
|
| 53 |
"position_embedding_type": "absolute",
|
| 54 |
+
"transformers_version": "4.57.1",
|
| 55 |
"type_vocab_size": 1,
|
| 56 |
"use_cache": true,
|
| 57 |
"vocab_size": 50265
|
label_mapping.json
CHANGED
|
@@ -1,12 +1,34 @@
|
|
| 1 |
{
|
| 2 |
"category_to_idx": {
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
},
|
| 7 |
"idx_to_category": {
|
| 8 |
-
"0": "
|
| 9 |
-
"1": "
|
| 10 |
-
"2": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"category_to_idx": {
|
| 3 |
+
"biology": 0,
|
| 4 |
+
"business": 1,
|
| 5 |
+
"chemistry": 2,
|
| 6 |
+
"computer science": 3,
|
| 7 |
+
"economics": 4,
|
| 8 |
+
"engineering": 5,
|
| 9 |
+
"health": 6,
|
| 10 |
+
"history": 7,
|
| 11 |
+
"law": 8,
|
| 12 |
+
"math": 9,
|
| 13 |
+
"other": 10,
|
| 14 |
+
"philosophy": 11,
|
| 15 |
+
"physics": 12,
|
| 16 |
+
"psychology": 13
|
| 17 |
},
|
| 18 |
"idx_to_category": {
|
| 19 |
+
"0": "biology",
|
| 20 |
+
"1": "business",
|
| 21 |
+
"2": "chemistry",
|
| 22 |
+
"3": "computer science",
|
| 23 |
+
"4": "economics",
|
| 24 |
+
"5": "engineering",
|
| 25 |
+
"6": "health",
|
| 26 |
+
"7": "history",
|
| 27 |
+
"8": "law",
|
| 28 |
+
"9": "math",
|
| 29 |
+
"10": "other",
|
| 30 |
+
"11": "philosophy",
|
| 31 |
+
"12": "physics",
|
| 32 |
+
"13": "psychology"
|
| 33 |
}
|
| 34 |
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8deea33f0ea1f717097fe373f1cc6887e7a13ec40fc855e63eec55d44d6541c8
|
| 3 |
+
size 498649736
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|