saattrupdan
commited on
Commit
•
304257b
1
Parent(s):
cf91ce8
add model
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": "Not offensive",
|
15 |
+
"1": "Offensive"
|
16 |
+
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"Not offensive": 0,
|
21 |
+
"Offensive": 1
|
22 |
+
},
|
23 |
"layer_norm_eps": 1e-05,
|
24 |
"max_position_embeddings": 514,
|
25 |
"model_type": "xlm-roberta",
|