lewtun HF staff commited on
Commit
88aa481
1 Parent(s): af22584

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
@@ -30,5 +30,13 @@
30
  "torch_dtype": "float32",
31
  "transformers_version": "4.15.0",
32
  "type_vocab_size": 2,
33
- "vocab_size": 30000
34
- }
 
 
 
 
 
 
 
 
 
30
  "torch_dtype": "float32",
31
  "transformers_version": "4.15.0",
32
  "type_vocab_size": 2,
33
+ "vocab_size": 30000,
34
+ "label2id": {
35
+ "not_entailment": 0,
36
+ "entailment": 1
37
+ },
38
+ "id2label": {
39
+ "0": "not_entailment",
40
+ "1": "entailment"
41
+ }
42
+ }