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