Align label mapping with cola 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 `cola` 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 +10 -2
config.json
CHANGED
@@ -25,5 +25,13 @@
|
|
25 |
"transformers_version": "4.10.3",
|
26 |
"type_vocab_size": 1,
|
27 |
"use_cache": true,
|
28 |
-
"vocab_size": 50005
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"transformers_version": "4.10.3",
|
26 |
"type_vocab_size": 1,
|
27 |
"use_cache": true,
|
28 |
+
"vocab_size": 50005,
|
29 |
+
"label2id": {
|
30 |
+
"unacceptable": 0,
|
31 |
+
"acceptable": 1
|
32 |
+
},
|
33 |
+
"id2label": {
|
34 |
+
"0": "unacceptable",
|
35 |
+
"1": "acceptable"
|
36 |
+
}
|
37 |
+
}
|