Align label mapping with mrpc config of glue dataset
#1
by
lewtun
HF staff
- opened
- config.json +4 -4
config.json
CHANGED
@@ -9,14 +9,14 @@
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"
|
13 |
-
"
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
"intermediate_size": 3072,
|
17 |
"label2id": {
|
18 |
"equivalent": 1,
|
19 |
-
"
|
20 |
},
|
21 |
"layer_norm_eps": 1e-12,
|
22 |
"max_position_embeddings": 512,
|
@@ -30,4 +30,4 @@
|
|
30 |
"type_vocab_size": 2,
|
31 |
"use_cache": true,
|
32 |
"vocab_size": 28996
|
33 |
-
}
|
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"1": "equivalent",
|
13 |
+
"0": "not_equivalent"
|
14 |
},
|
15 |
"initializer_range": 0.02,
|
16 |
"intermediate_size": 3072,
|
17 |
"label2id": {
|
18 |
"equivalent": 1,
|
19 |
+
"not_equivalent": 0
|
20 |
},
|
21 |
"layer_norm_eps": 1e-12,
|
22 |
"max_position_embeddings": 512,
|
|
|
30 |
"type_vocab_size": 2,
|
31 |
"use_cache": true,
|
32 |
"vocab_size": 28996
|
33 |
+
}
|