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