Commit
•
fdf8913
1
Parent(s):
f446778
Update config for correct labels
Browse files- config.json +46 -48
config.json
CHANGED
@@ -11,57 +11,55 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "
|
19 |
-
"5": "
|
20 |
-
"6": "
|
21 |
-
"7": "
|
22 |
-
"8": "
|
23 |
-
"9": "
|
24 |
-
"10": "
|
25 |
-
"11": "
|
26 |
-
"12": "
|
27 |
-
"13": "
|
28 |
-
"14": "
|
29 |
-
"15": "
|
30 |
-
"16": "
|
31 |
-
"17": "
|
32 |
-
"18": "
|
33 |
-
"19": "
|
34 |
-
"20": "
|
35 |
-
"21": "
|
36 |
-
"22": "
|
37 |
},
|
38 |
"initializer_range": 0.02,
|
39 |
"intermediate_size": 3072,
|
40 |
-
"label2id": {
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"
|
58 |
-
"
|
59 |
-
"
|
60 |
-
"
|
61 |
-
"
|
62 |
-
"
|
63 |
-
"LABEL_9": 9
|
64 |
-
},
|
65 |
"layer_norm_eps": 1e-05,
|
66 |
"max_position_embeddings": 514,
|
67 |
"model_type": "roberta",
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
+
"0": "disasters",
|
15 |
+
"1": "medicine",
|
16 |
+
"2": "science",
|
17 |
+
"3": "politics",
|
18 |
+
"4": "foods",
|
19 |
+
"5": "mathematics",
|
20 |
+
"6": "religion",
|
21 |
+
"7": "technology",
|
22 |
+
"8": "culture",
|
23 |
+
"9": "sports",
|
24 |
+
"10": "education",
|
25 |
+
"11": "news",
|
26 |
+
"12": "videogames",
|
27 |
+
"13": "business",
|
28 |
+
"14": "geography",
|
29 |
+
"15": "entertainment",
|
30 |
+
"16": "nature",
|
31 |
+
"17": "law",
|
32 |
+
"18": "history",
|
33 |
+
"19": "music",
|
34 |
+
"20": "economics",
|
35 |
+
"21": "computerscience",
|
36 |
+
"22": "philosophy"
|
37 |
},
|
38 |
"initializer_range": 0.02,
|
39 |
"intermediate_size": 3072,
|
40 |
+
"label2id": {"disasters": 0,
|
41 |
+
"medicine": 1,
|
42 |
+
"science": 2,
|
43 |
+
"politics": 3,
|
44 |
+
"foods": 4,
|
45 |
+
"mathematics": 5,
|
46 |
+
"religion": 6,
|
47 |
+
"technology": 7,
|
48 |
+
"culture": 8,
|
49 |
+
"sports": 9,
|
50 |
+
"education": 10,
|
51 |
+
"news": 11,
|
52 |
+
"videogames": 12,
|
53 |
+
"business": 13,
|
54 |
+
"geography": 14,
|
55 |
+
"entertainment": 15,
|
56 |
+
"nature": 16,
|
57 |
+
"law": 17,
|
58 |
+
"history": 18,
|
59 |
+
"music": 19,
|
60 |
+
"economics": 20,
|
61 |
+
"computerscience": 21,
|
62 |
+
"philosophy": 22},
|
|
|
|
|
63 |
"layer_norm_eps": 1e-05,
|
64 |
"max_position_embeddings": 514,
|
65 |
"model_type": "roberta",
|