mrm8488 lewtun HF staff commited on
Commit
b0a6922
·
1 Parent(s): 219587c

Align label mapping with mnli config of glue dataset (#1)

Browse files

- Align label mapping with mnli config of glue dataset (135049480d915d9129a6a6cac7c49c626adfe249)


Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>

Files changed (1) hide show
  1. config.json +7 -7
config.json CHANGED
@@ -11,16 +11,16 @@
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "id2label": {
14
- "0": "LABEL_0",
15
- "1": "LABEL_1",
16
- "2": "LABEL_2"
17
  },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
  "label2id": {
21
- "LABEL_0": 0,
22
- "LABEL_1": 1,
23
- "LABEL_2": 2
24
  },
25
  "layer_norm_eps": 1e-05,
26
  "mask_token_id": 50264,
@@ -37,4 +37,4 @@
37
  "type_vocab_size": 1,
38
  "use_cache": true,
39
  "vocab_size": 50265
40
- }
 
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "id2label": {
14
+ "0": "entailment",
15
+ "1": "neutral",
16
+ "2": "contradiction"
17
  },
18
  "initializer_range": 0.02,
19
  "intermediate_size": 3072,
20
  "label2id": {
21
+ "entailment": 0,
22
+ "neutral": 1,
23
+ "contradiction": 2
24
  },
25
  "layer_norm_eps": 1e-05,
26
  "mask_token_id": 50264,
 
37
  "type_vocab_size": 1,
38
  "use_cache": true,
39
  "vocab_size": 50265
40
+ }