Align label mapping with wnli config of glue dataset

#1
by lewtun HF staff - opened
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
+ }