Align label mapping with mnli config of glue dataset
#1
by
lewtun
HF staff
- opened
- config.json +7 -7
config.json
CHANGED
@@ -9,15 +9,15 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
},
|
16 |
"initializer_range": 0.02,
|
17 |
"label2id": {
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
},
|
22 |
"max_position_embeddings": 512,
|
23 |
"model_type": "distilbert",
|
@@ -32,4 +32,4 @@
|
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.15.0",
|
34 |
"vocab_size": 30522
|
35 |
-
}
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "entailment",
|
13 |
+
"1": "neutral",
|
14 |
+
"2": "contradiction"
|
15 |
},
|
16 |
"initializer_range": 0.02,
|
17 |
"label2id": {
|
18 |
+
"entailment": 0,
|
19 |
+
"neutral": 1,
|
20 |
+
"contradiction": 2
|
21 |
},
|
22 |
"max_position_embeddings": 512,
|
23 |
"model_type": "distilbert",
|
|
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.15.0",
|
34 |
"vocab_size": 30522
|
35 |
+
}
|