lidiapierre
commited on
Commit
•
1a3f988
1
Parent(s):
2e27832
Upload DistilBertForSequenceClassification
Browse files- config.json +9 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "distilbert-base-
|
3 |
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
"DistilBertForSequenceClassification"
|
@@ -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,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "lidiapierre/distilbert-base-multi-fr-sexism",
|
3 |
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
"DistilBertForSequenceClassification"
|
|
|
8 |
"dim": 768,
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "not sexist",
|
13 |
+
"1": "sexist"
|
14 |
+
},
|
15 |
"initializer_range": 0.02,
|
16 |
+
"label2id": {
|
17 |
+
"not sexist": 0,
|
18 |
+
"sexist": 1
|
19 |
+
},
|
20 |
"max_position_embeddings": 512,
|
21 |
"model_type": "distilbert",
|
22 |
"n_heads": 12,
|