Yanjie Zhao commited on
Commit
8533a0d
·
1 Parent(s): 9c96bd1

update label mapping

Browse files
Files changed (1) hide show
  1. config.json +31 -31
config.json CHANGED
@@ -8,40 +8,40 @@
8
  "dim": 768,
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
11
- "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6",
19
- "7": "LABEL_7",
20
- "8": "LABEL_8",
21
- "9": "LABEL_9",
22
- "10": "LABEL_10",
23
- "11": "LABEL_11",
24
- "12": "LABEL_12",
25
- "13": "LABEL_13",
26
- "14": "LABEL_14"
27
  },
28
  "initializer_range": 0.02,
29
  "label2id": {
30
- "LABEL_0": 0,
31
- "LABEL_1": 1,
32
- "LABEL_10": 10,
33
- "LABEL_11": 11,
34
- "LABEL_12": 12,
35
- "LABEL_13": 13,
36
- "LABEL_14": 14,
37
- "LABEL_2": 2,
38
- "LABEL_3": 3,
39
- "LABEL_4": 4,
40
- "LABEL_5": 5,
41
- "LABEL_6": 6,
42
- "LABEL_7": 7,
43
- "LABEL_8": 8,
44
- "LABEL_9": 9
45
  },
46
  "max_position_embeddings": 512,
47
  "model_type": "distilbert",
 
8
  "dim": 768,
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
11
+ "id2label":{
12
+ "0": "blank",
13
+ "1": "great",
14
+ "2": "welcome",
15
+ "3": "no_worries",
16
+ "4": "thanks",
17
+ "5": "sorry",
18
+ "6": "sure",
19
+ "7": "got_it",
20
+ "8": "alright",
21
+ "9": "no_rush",
22
+ "10": "confirmation",
23
+ "11": "disagreement",
24
+ "12": "will_do",
25
+ "13": "understand",
26
+ "14": "funny"
27
  },
28
  "initializer_range": 0.02,
29
  "label2id": {
30
+ "blank": 0,
31
+ "great": 1,
32
+ "welcome": 2,
33
+ "no_worries": 3,
34
+ "thanks": 4,
35
+ "sorry": 5,
36
+ "sure": 6,
37
+ "got_it": 7,
38
+ "alright": 8,
39
+ "no_rush": 9,
40
+ "confirmation": 10,
41
+ "disagreement": 11,
42
+ "will_do": 12,
43
+ "understand": 13,
44
+ "funny": 14
45
  },
46
  "max_position_embeddings": 512,
47
  "model_type": "distilbert",