lewtun HF staff commited on
Commit
2aaaf97
1 Parent(s): cfe7295

Align label mapping with wnli config of glue dataset

Browse files

Hi there, your model is using a default label mapping. Accept this PR to align the label mapping with the `wnli` 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)

Files changed (1) hide show
  1. config.json +10 -2
config.json CHANGED
@@ -28,5 +28,13 @@
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.21.0",
30
  "type_vocab_size": 0,
31
- "vocab_size": 50265
32
- }
 
 
 
 
 
 
 
 
 
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.21.0",
30
  "type_vocab_size": 0,
31
+ "vocab_size": 50265,
32
+ "label2id": {
33
+ "not_entailment": 0,
34
+ "entailment": 1
35
+ },
36
+ "id2label": {
37
+ "0": "not_entailment",
38
+ "1": "entailment"
39
+ }
40
+ }