add label names
Browse files- config.json +8 -0
config.json
CHANGED
@@ -12,8 +12,16 @@
|
|
12 |
"hidden_act": "gelu",
|
13 |
"hidden_dropout_prob": 0.0,
|
14 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
15 |
"initializer_range": 0.02,
|
16 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
17 |
"layer_norm_eps": 1e-05,
|
18 |
"max_position_embeddings": 514,
|
19 |
"model_type": "roberta",
|
|
|
12 |
"hidden_act": "gelu",
|
13 |
"hidden_dropout_prob": 0.0,
|
14 |
"hidden_size": 768,
|
15 |
+
"id2label": {
|
16 |
+
"1": "CONTROVERSY",
|
17 |
+
"0": "NO_CONTROVERSY"
|
18 |
+
},
|
19 |
"initializer_range": 0.02,
|
20 |
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"CONTROVERSY": 1,
|
23 |
+
"NO_CONTROVERSY": 0
|
24 |
+
},
|
25 |
"layer_norm_eps": 1e-05,
|
26 |
"max_position_embeddings": 514,
|
27 |
"model_type": "roberta",
|