David Chu commited on
Commit
b91e7a7
1 Parent(s): 25850c5

fix: id2label and label2id

Browse files
Files changed (1) hide show
  1. config.json +5 -5
config.json CHANGED
@@ -10,15 +10,15 @@
10
  "finetuning_task": "mnli",
11
  "hidden_dim": 3072,
12
  "id2label": {
13
- "0": "CONTRADICTION",
14
  "1": "NEUTRAL",
15
- "2": "ENTAILMENT"
16
  },
17
  "initializer_range": 0.02,
18
  "label2id": {
19
- "CONTRADICTION": 0,
20
- "ENTAILMENT": 2,
21
- "NEUTRAL": 1
22
  },
23
  "max_position_embeddings": 512,
24
  "model_type": "distilbert",
 
10
  "finetuning_task": "mnli",
11
  "hidden_dim": 3072,
12
  "id2label": {
13
+ "0": "ENTAILMENT",
14
  "1": "NEUTRAL",
15
+ "2": "CONTRADICTION"
16
  },
17
  "initializer_range": 0.02,
18
  "label2id": {
19
+ "ENTAILMENT": 0,
20
+ "NEUTRAL": 1,
21
+ "CONTRADICTION": 2,
22
  },
23
  "max_position_embeddings": 512,
24
  "model_type": "distilbert",