add model
Browse files- config.json +8 -0
config.json
CHANGED
@@ -8,7 +8,15 @@
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
|
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
|
|
12 |
"max_position_embeddings": 512,
|
13 |
"model_type": "distilbert",
|
14 |
"n_heads": 12,
|
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "non-toxic",
|
13 |
+
"1": "toxic"
|
14 |
+
},
|
15 |
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"non-toxic": 0,
|
18 |
+
"toxic": 1
|
19 |
+
},
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "distilbert",
|
22 |
"n_heads": 12,
|