Yanjie Zhao
commited on
Commit
·
8533a0d
1
Parent(s):
9c96bd1
update label mapping
Browse files- 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": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
-
"7": "
|
20 |
-
"8": "
|
21 |
-
"9": "
|
22 |
-
"10": "
|
23 |
-
"11": "
|
24 |
-
"12": "
|
25 |
-
"13": "
|
26 |
-
"14": "
|
27 |
},
|
28 |
"initializer_range": 0.02,
|
29 |
"label2id": {
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
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",
|