lewtun HF staff commited on
Commit
2517bde
1 Parent(s): da68712

Align label mapping with rte 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 `rte` 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
@@ -27,5 +27,13 @@
27
  "transformers_version": "4.15.0",
28
  "type_vocab_size": 2,
29
  "use_cache": true,
30
- "vocab_size": 30522
31
- }
 
 
 
 
 
 
 
 
 
27
  "transformers_version": "4.15.0",
28
  "type_vocab_size": 2,
29
  "use_cache": true,
30
+ "vocab_size": 30522,
31
+ "label2id": {
32
+ "entailment": 0,
33
+ "not_entailment": 1
34
+ },
35
+ "id2label": {
36
+ "0": "entailment",
37
+ "1": "not_entailment"
38
+ }
39
+ }