lewtun HF staff commited on
Commit
68de904
1 Parent(s): 76ef7cd

Align label mapping with mrpc 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 `mrpc` 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 +4 -4
config.json CHANGED
@@ -10,14 +10,14 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
- "0": "not equivalent",
14
- "1": "equivalent"
15
  },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
  "label2id": {
19
  "equivalent": 1,
20
- "not equivalent": 0
21
  },
22
  "layer_norm_eps": 1e-12,
23
  "max_position_embeddings": 512,
@@ -31,4 +31,4 @@
31
  "type_vocab_size": 2,
32
  "use_cache": true,
33
  "vocab_size": 28996
34
- }
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "1": "equivalent",
14
+ "0": "not_equivalent"
15
  },
16
  "initializer_range": 0.02,
17
  "intermediate_size": 3072,
18
  "label2id": {
19
  "equivalent": 1,
20
+ "not_equivalent": 0
21
  },
22
  "layer_norm_eps": 1e-12,
23
  "max_position_embeddings": 512,
 
31
  "type_vocab_size": 2,
32
  "use_cache": true,
33
  "vocab_size": 28996
34
+ }