lewtun HF staff commited on
Commit
b1b1ce8
1 Parent(s): ce8224e

Align label mapping with mnli 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 `mnli` 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 +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
+ }