Update config.json
Browse files- config.json +8 -0
config.json
CHANGED
@@ -10,8 +10,16 @@
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
13 |
"initializer_range": 0.02,
|
14 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
15 |
"layer_norm_eps": 1e-05,
|
16 |
"max_position_embeddings": 514,
|
17 |
"model_type": "xlm-roberta",
|
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "neutral",
|
15 |
+
"1": "toxic"
|
16 |
+
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"neutral": 0,
|
21 |
+
"toxic": 1
|
22 |
+
},
|
23 |
"layer_norm_eps": 1e-05,
|
24 |
"max_position_embeddings": 514,
|
25 |
"model_type": "xlm-roberta",
|