Align label mapping with mrpc config of glue dataset
Browse filesHi there, your model is using a default label mapping. Accept this PR to align the label mapping with the `mrpc` config of the `glue` dataset this model was trained on. This will enable your model to be evaluated by [Hugging Face's automatic model evaluator](https://huggingface.co/spaces/autoevaluate/model-evaluator?dataset=glue)
- 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 |
+
}
|