Commit
·
8982999
1
Parent(s):
908a22e
Update config.json
Browse files- config.json +11 -11
config.json
CHANGED
@@ -11,20 +11,20 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 256,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 1024,
|
22 |
-
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
},
|
29 |
"layer_norm_eps": 1e-12,
|
30 |
"max_length": 512,
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 256,
|
13 |
"id2label": {
|
14 |
+
"0": "tech",
|
15 |
+
"1": "business",
|
16 |
+
"2": "sport",
|
17 |
+
"3": "entertainment",
|
18 |
+
"4": "politics"
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 1024,
|
22 |
+
"label2id": {
|
23 |
+
"tech": 0,
|
24 |
+
"business": 1,
|
25 |
+
"sport": 2,
|
26 |
+
"entertainment": 3,
|
27 |
+
"politics": 4
|
28 |
},
|
29 |
"layer_norm_eps": 1e-12,
|
30 |
"max_length": 512,
|