Align label mapping with mnli config of glue dataset

#1
by lewtun HF staff - opened
Files changed (1) hide show
  1. config.json +7 -7
config.json CHANGED
@@ -15,17 +15,17 @@
15
  "hidden_dropout_prob": 0,
16
  "hidden_size": 768,
17
  "id2label": {
18
- "0": "LABEL_0",
19
- "1": "LABEL_1",
20
- "2": "LABEL_2"
21
  },
22
  "initializer_range": 0.02,
23
  "inner_group_num": 1,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
- "LABEL_0": 0,
27
- "LABEL_1": 1,
28
- "LABEL_2": 2
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
@@ -42,4 +42,4 @@
42
  "transformers_version": "4.9.1",
43
  "type_vocab_size": 2,
44
  "vocab_size": 30000
45
- }
 
15
  "hidden_dropout_prob": 0,
16
  "hidden_size": 768,
17
  "id2label": {
18
+ "0": "entailment",
19
+ "1": "neutral",
20
+ "2": "contradiction"
21
  },
22
  "initializer_range": 0.02,
23
  "inner_group_num": 1,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
+ "entailment": 0,
27
+ "neutral": 1,
28
+ "contradiction": 2
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
 
42
  "transformers_version": "4.9.1",
43
  "type_vocab_size": 2,
44
  "vocab_size": 30000
45
+ }