Align label mapping with mnli config of glue dataset (#1)
Browse files- Align label mapping with mnli config of glue dataset (135049480d915d9129a6a6cac7c49c626adfe249)
Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>
- config.json +7 -7
config.json
CHANGED
@@ -11,16 +11,16 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
},
|
25 |
"layer_norm_eps": 1e-05,
|
26 |
"mask_token_id": 50264,
|
@@ -37,4 +37,4 @@
|
|
37 |
"type_vocab_size": 1,
|
38 |
"use_cache": true,
|
39 |
"vocab_size": 50265
|
40 |
-
}
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
+
"0": "entailment",
|
15 |
+
"1": "neutral",
|
16 |
+
"2": "contradiction"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
+
"entailment": 0,
|
22 |
+
"neutral": 1,
|
23 |
+
"contradiction": 2
|
24 |
},
|
25 |
"layer_norm_eps": 1e-05,
|
26 |
"mask_token_id": 50264,
|
|
|
37 |
"type_vocab_size": 1,
|
38 |
"use_cache": true,
|
39 |
"vocab_size": 50265
|
40 |
+
}
|