Align label mapping with rte config of glue dataset

#1
by lewtun HF staff - opened
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
+ "entailment": 0,
36
+ "not_entailment": 1
37
+ },
38
+ "id2label": {
39
+ "0": "entailment",
40
+ "1": "not_entailment"
41
+ }
42
+ }