Commit
·
4b5dc9f
1
Parent(s):
34aab41
Update config.json
Browse files- config.json +11 -11
config.json
CHANGED
@@ -27,22 +27,22 @@
|
|
27 |
"hidden_act": "gelu",
|
28 |
"hidden_dropout_prob": 0.1,
|
29 |
"hidden_size": 768,
|
30 |
-
|
31 |
-
"0": "
|
32 |
-
"1": "
|
33 |
-
"2": "
|
34 |
-
"3": "
|
35 |
-
"4": "
|
36 |
},
|
37 |
"ignore_attention_mask": false,
|
38 |
"initializer_range": 0.02,
|
39 |
"intermediate_size": 3072,
|
40 |
"label2id": {
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
},
|
47 |
"layer_norm_eps": 1e-05,
|
48 |
"max_length": 512,
|
|
|
27 |
"hidden_act": "gelu",
|
28 |
"hidden_dropout_prob": 0.1,
|
29 |
"hidden_size": 768,
|
30 |
+
"id2label": {
|
31 |
+
"0": "tech",
|
32 |
+
"1": "business",
|
33 |
+
"2": "sport",
|
34 |
+
"3": "entertainment",
|
35 |
+
"4": "politics"
|
36 |
},
|
37 |
"ignore_attention_mask": false,
|
38 |
"initializer_range": 0.02,
|
39 |
"intermediate_size": 3072,
|
40 |
"label2id": {
|
41 |
+
"tech": 0,
|
42 |
+
"business": 1,
|
43 |
+
"sport": 2,
|
44 |
+
"entertainment": 3,
|
45 |
+
"politics": 4
|
46 |
},
|
47 |
"layer_norm_eps": 1e-05,
|
48 |
"max_length": 512,
|