Commit
·
63c34ea
1
Parent(s):
b8a5594
Update config.json
Browse files- config.json +12 -12
config.json
CHANGED
@@ -10,21 +10,21 @@
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 1024,
|
13 |
-
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 4096,
|
22 |
-
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
},
|
29 |
"layer_norm_eps": 1e-12,
|
30 |
"max_length": 512,
|
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 1024,
|
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": 4096,
|
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,
|