Yanjie Zhao commited on
Commit
30bb609
·
1 Parent(s): 6889e1d

update intent label mapping

Browse files
Files changed (1) hide show
  1. config.json +70 -70
config.json CHANGED
@@ -9,79 +9,79 @@
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
- "15": "LABEL_15",
28
- "16": "LABEL_16",
29
- "17": "LABEL_17",
30
- "18": "LABEL_18",
31
- "19": "LABEL_19",
32
- "20": "LABEL_20",
33
- "21": "LABEL_21",
34
- "22": "LABEL_22",
35
- "23": "LABEL_23",
36
- "24": "LABEL_24",
37
- "25": "LABEL_25",
38
- "26": "LABEL_26",
39
- "27": "LABEL_27",
40
- "28": "LABEL_28",
41
- "29": "LABEL_29",
42
- "30": "LABEL_30",
43
- "31": "LABEL_31",
44
- "32": "LABEL_32",
45
- "33": "LABEL_33",
46
- "34": "LABEL_34"
47
  },
48
  "initializer_range": 0.02,
49
  "label2id": {
50
- "LABEL_0": 0,
51
- "LABEL_1": 1,
52
- "LABEL_10": 10,
53
- "LABEL_11": 11,
54
- "LABEL_12": 12,
55
- "LABEL_13": 13,
56
- "LABEL_14": 14,
57
- "LABEL_15": 15,
58
- "LABEL_16": 16,
59
- "LABEL_17": 17,
60
- "LABEL_18": 18,
61
- "LABEL_19": 19,
62
- "LABEL_2": 2,
63
- "LABEL_20": 20,
64
- "LABEL_21": 21,
65
- "LABEL_22": 22,
66
- "LABEL_23": 23,
67
- "LABEL_24": 24,
68
- "LABEL_25": 25,
69
- "LABEL_26": 26,
70
- "LABEL_27": 27,
71
- "LABEL_28": 28,
72
- "LABEL_29": 29,
73
- "LABEL_3": 3,
74
- "LABEL_30": 30,
75
- "LABEL_31": 31,
76
- "LABEL_32": 32,
77
- "LABEL_33": 33,
78
- "LABEL_34": 34,
79
- "LABEL_4": 4,
80
- "LABEL_5": 5,
81
- "LABEL_6": 6,
82
- "LABEL_7": 7,
83
- "LABEL_8": 8,
84
- "LABEL_9": 9
85
  },
86
  "max_position_embeddings": 512,
87
  "model_type": "distilbert",
 
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
11
  "id2label": {
12
+ "0": "goodbye",
13
+ "1": "discount",
14
+ "2": "can_i_help",
15
+ "3": "other",
16
+ "4": "escalation",
17
+ "5": "goodbye|purchase",
18
+ "6": "restock",
19
+ "7": "subscription",
20
+ "8": "discount|other",
21
+ "9": "subscription|removal",
22
+ "10": "goodbye|anything_else",
23
+ "11": "issue|query_clarification",
24
+ "12": "order|query_order_number",
25
+ "13": "shipping|policy",
26
+ "14": "shopping|query_link_item",
27
+ "15": "shopping|query_first_time",
28
+ "16": "issue|query_screenshot",
29
+ "17": "issue|query_different_browser",
30
+ "18": "shipping|cost",
31
+ "19": "checkout",
32
+ "20": "order|tracking_info",
33
+ "21": "order|query_order_time",
34
+ "22": "escalation|waiting",
35
+ "23": "issue|query_screenshot_cart",
36
+ "24": "order|query_tracking_info",
37
+ "25": "issue|query_error_message",
38
+ "26": "shopping|query_screenshot_cart",
39
+ "27": "product",
40
+ "28": "return|policy",
41
+ "29": "shopping|query_item_info",
42
+ "30": "shopping|query_other_item",
43
+ "31": "issue|query_spam_folder",
44
+ "32": "warranty",
45
+ "33": "checkout|giftcard",
46
+ "34": "shipping|other"
47
  },
48
  "initializer_range": 0.02,
49
  "label2id": {
50
+ "goodbye": 0,
51
+ "discount": 1,
52
+ "can_i_help": 2,
53
+ "other": 3,
54
+ "escalation": 4,
55
+ "goodbye|purchase": 5,
56
+ "restock": 6,
57
+ "subscription": 7,
58
+ "discount|other": 8,
59
+ "subscription|removal": 9,
60
+ "goodbye|anything_else": 10,
61
+ "issue|query_clarification": 11,
62
+ "order|query_order_number": 12,
63
+ "shipping|policy": 13,
64
+ "shopping|query_link_item": 14,
65
+ "shopping|query_first_time": 15,
66
+ "issue|query_screenshot": 16,
67
+ "issue|query_different_browser": 17,
68
+ "shipping|cost": 18,
69
+ "checkout": 19,
70
+ "order|tracking_info": 20,
71
+ "order|query_order_time": 21,
72
+ "escalation|waiting": 22,
73
+ "issue|query_screenshot_cart": 23,
74
+ "order|query_tracking_info": 24,
75
+ "issue|query_error_message": 25,
76
+ "shopping|query_screenshot_cart": 26,
77
+ "product": 27,
78
+ "return|policy": 28,
79
+ "shopping|query_item_info": 29,
80
+ "shopping|query_other_item": 30,
81
+ "issue|query_spam_folder": 31,
82
+ "warranty": 32,
83
+ "checkout|giftcard": 33,
84
+ "shipping|other": 34
85
  },
86
  "max_position_embeddings": 512,
87
  "model_type": "distilbert",