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
@@ -42,5 +42,13 @@
|
|
42 |
"transformers_version": "4.20.1",
|
43 |
"type_vocab_size": 1,
|
44 |
"use_cache": true,
|
45 |
-
"vocab_size": 50265
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
"transformers_version": "4.20.1",
|
43 |
"type_vocab_size": 1,
|
44 |
"use_cache": true,
|
45 |
+
"vocab_size": 50265,
|
46 |
+
"label2id": {
|
47 |
+
"unacceptable": 0,
|
48 |
+
"acceptable": 1
|
49 |
+
},
|
50 |
+
"id2label": {
|
51 |
+
"0": "unacceptable",
|
52 |
+
"1": "acceptable"
|
53 |
+
}
|
54 |
+
}
|