lewtun HF staff commited on
Commit
5ff8751
1 Parent(s): 2055347

Replace id2label and label2id attributes with human-readable labels

Browse files
Files changed (2) hide show
  1. config.json +303 -303
  2. pytorch_model.bin +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -9,312 +9,312 @@
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
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
- "35": "LABEL_35",
48
- "36": "LABEL_36",
49
- "37": "LABEL_37",
50
- "38": "LABEL_38",
51
- "39": "LABEL_39",
52
- "40": "LABEL_40",
53
- "41": "LABEL_41",
54
- "42": "LABEL_42",
55
- "43": "LABEL_43",
56
- "44": "LABEL_44",
57
- "45": "LABEL_45",
58
- "46": "LABEL_46",
59
- "47": "LABEL_47",
60
- "48": "LABEL_48",
61
- "49": "LABEL_49",
62
- "50": "LABEL_50",
63
- "51": "LABEL_51",
64
- "52": "LABEL_52",
65
- "53": "LABEL_53",
66
- "54": "LABEL_54",
67
- "55": "LABEL_55",
68
- "56": "LABEL_56",
69
- "57": "LABEL_57",
70
- "58": "LABEL_58",
71
- "59": "LABEL_59",
72
- "60": "LABEL_60",
73
- "61": "LABEL_61",
74
- "62": "LABEL_62",
75
- "63": "LABEL_63",
76
- "64": "LABEL_64",
77
- "65": "LABEL_65",
78
- "66": "LABEL_66",
79
- "67": "LABEL_67",
80
- "68": "LABEL_68",
81
- "69": "LABEL_69",
82
- "70": "LABEL_70",
83
- "71": "LABEL_71",
84
- "72": "LABEL_72",
85
- "73": "LABEL_73",
86
- "74": "LABEL_74",
87
- "75": "LABEL_75",
88
- "76": "LABEL_76",
89
- "77": "LABEL_77",
90
- "78": "LABEL_78",
91
- "79": "LABEL_79",
92
- "80": "LABEL_80",
93
- "81": "LABEL_81",
94
- "82": "LABEL_82",
95
- "83": "LABEL_83",
96
- "84": "LABEL_84",
97
- "85": "LABEL_85",
98
- "86": "LABEL_86",
99
- "87": "LABEL_87",
100
- "88": "LABEL_88",
101
- "89": "LABEL_89",
102
- "90": "LABEL_90",
103
- "91": "LABEL_91",
104
- "92": "LABEL_92",
105
- "93": "LABEL_93",
106
- "94": "LABEL_94",
107
- "95": "LABEL_95",
108
- "96": "LABEL_96",
109
- "97": "LABEL_97",
110
- "98": "LABEL_98",
111
- "99": "LABEL_99",
112
- "100": "LABEL_100",
113
- "101": "LABEL_101",
114
- "102": "LABEL_102",
115
- "103": "LABEL_103",
116
- "104": "LABEL_104",
117
- "105": "LABEL_105",
118
- "106": "LABEL_106",
119
- "107": "LABEL_107",
120
- "108": "LABEL_108",
121
- "109": "LABEL_109",
122
- "110": "LABEL_110",
123
- "111": "LABEL_111",
124
- "112": "LABEL_112",
125
- "113": "LABEL_113",
126
- "114": "LABEL_114",
127
- "115": "LABEL_115",
128
- "116": "LABEL_116",
129
- "117": "LABEL_117",
130
- "118": "LABEL_118",
131
- "119": "LABEL_119",
132
- "120": "LABEL_120",
133
- "121": "LABEL_121",
134
- "122": "LABEL_122",
135
- "123": "LABEL_123",
136
- "124": "LABEL_124",
137
- "125": "LABEL_125",
138
- "126": "LABEL_126",
139
- "127": "LABEL_127",
140
- "128": "LABEL_128",
141
- "129": "LABEL_129",
142
- "130": "LABEL_130",
143
- "131": "LABEL_131",
144
- "132": "LABEL_132",
145
- "133": "LABEL_133",
146
- "134": "LABEL_134",
147
- "135": "LABEL_135",
148
- "136": "LABEL_136",
149
- "137": "LABEL_137",
150
- "138": "LABEL_138",
151
- "139": "LABEL_139",
152
- "140": "LABEL_140",
153
- "141": "LABEL_141",
154
- "142": "LABEL_142",
155
- "143": "LABEL_143",
156
- "144": "LABEL_144",
157
- "145": "LABEL_145",
158
- "146": "LABEL_146",
159
- "147": "LABEL_147",
160
- "148": "LABEL_148",
161
- "149": "LABEL_149",
162
- "150": "LABEL_150"
163
  },
164
  "initializer_range": 0.02,
165
  "intermediate_size": 3072,
166
  "label2id": {
167
- "LABEL_0": 0,
168
- "LABEL_1": 1,
169
- "LABEL_10": 10,
170
- "LABEL_100": 100,
171
- "LABEL_101": 101,
172
- "LABEL_102": 102,
173
- "LABEL_103": 103,
174
- "LABEL_104": 104,
175
- "LABEL_105": 105,
176
- "LABEL_106": 106,
177
- "LABEL_107": 107,
178
- "LABEL_108": 108,
179
- "LABEL_109": 109,
180
- "LABEL_11": 11,
181
- "LABEL_110": 110,
182
- "LABEL_111": 111,
183
- "LABEL_112": 112,
184
- "LABEL_113": 113,
185
- "LABEL_114": 114,
186
- "LABEL_115": 115,
187
- "LABEL_116": 116,
188
- "LABEL_117": 117,
189
- "LABEL_118": 118,
190
- "LABEL_119": 119,
191
- "LABEL_12": 12,
192
- "LABEL_120": 120,
193
- "LABEL_121": 121,
194
- "LABEL_122": 122,
195
- "LABEL_123": 123,
196
- "LABEL_124": 124,
197
- "LABEL_125": 125,
198
- "LABEL_126": 126,
199
- "LABEL_127": 127,
200
- "LABEL_128": 128,
201
- "LABEL_129": 129,
202
- "LABEL_13": 13,
203
- "LABEL_130": 130,
204
- "LABEL_131": 131,
205
- "LABEL_132": 132,
206
- "LABEL_133": 133,
207
- "LABEL_134": 134,
208
- "LABEL_135": 135,
209
- "LABEL_136": 136,
210
- "LABEL_137": 137,
211
- "LABEL_138": 138,
212
- "LABEL_139": 139,
213
- "LABEL_14": 14,
214
- "LABEL_140": 140,
215
- "LABEL_141": 141,
216
- "LABEL_142": 142,
217
- "LABEL_143": 143,
218
- "LABEL_144": 144,
219
- "LABEL_145": 145,
220
- "LABEL_146": 146,
221
- "LABEL_147": 147,
222
- "LABEL_148": 148,
223
- "LABEL_149": 149,
224
- "LABEL_15": 15,
225
- "LABEL_150": 150,
226
- "LABEL_16": 16,
227
- "LABEL_17": 17,
228
- "LABEL_18": 18,
229
- "LABEL_19": 19,
230
- "LABEL_2": 2,
231
- "LABEL_20": 20,
232
- "LABEL_21": 21,
233
- "LABEL_22": 22,
234
- "LABEL_23": 23,
235
- "LABEL_24": 24,
236
- "LABEL_25": 25,
237
- "LABEL_26": 26,
238
- "LABEL_27": 27,
239
- "LABEL_28": 28,
240
- "LABEL_29": 29,
241
- "LABEL_3": 3,
242
- "LABEL_30": 30,
243
- "LABEL_31": 31,
244
- "LABEL_32": 32,
245
- "LABEL_33": 33,
246
- "LABEL_34": 34,
247
- "LABEL_35": 35,
248
- "LABEL_36": 36,
249
- "LABEL_37": 37,
250
- "LABEL_38": 38,
251
- "LABEL_39": 39,
252
- "LABEL_4": 4,
253
- "LABEL_40": 40,
254
- "LABEL_41": 41,
255
- "LABEL_42": 42,
256
- "LABEL_43": 43,
257
- "LABEL_44": 44,
258
- "LABEL_45": 45,
259
- "LABEL_46": 46,
260
- "LABEL_47": 47,
261
- "LABEL_48": 48,
262
- "LABEL_49": 49,
263
- "LABEL_5": 5,
264
- "LABEL_50": 50,
265
- "LABEL_51": 51,
266
- "LABEL_52": 52,
267
- "LABEL_53": 53,
268
- "LABEL_54": 54,
269
- "LABEL_55": 55,
270
- "LABEL_56": 56,
271
- "LABEL_57": 57,
272
- "LABEL_58": 58,
273
- "LABEL_59": 59,
274
- "LABEL_6": 6,
275
- "LABEL_60": 60,
276
- "LABEL_61": 61,
277
- "LABEL_62": 62,
278
- "LABEL_63": 63,
279
- "LABEL_64": 64,
280
- "LABEL_65": 65,
281
- "LABEL_66": 66,
282
- "LABEL_67": 67,
283
- "LABEL_68": 68,
284
- "LABEL_69": 69,
285
- "LABEL_7": 7,
286
- "LABEL_70": 70,
287
- "LABEL_71": 71,
288
- "LABEL_72": 72,
289
- "LABEL_73": 73,
290
- "LABEL_74": 74,
291
- "LABEL_75": 75,
292
- "LABEL_76": 76,
293
- "LABEL_77": 77,
294
- "LABEL_78": 78,
295
- "LABEL_79": 79,
296
- "LABEL_8": 8,
297
- "LABEL_80": 80,
298
- "LABEL_81": 81,
299
- "LABEL_82": 82,
300
- "LABEL_83": 83,
301
- "LABEL_84": 84,
302
- "LABEL_85": 85,
303
- "LABEL_86": 86,
304
- "LABEL_87": 87,
305
- "LABEL_88": 88,
306
- "LABEL_89": 89,
307
- "LABEL_9": 9,
308
- "LABEL_90": 90,
309
- "LABEL_91": 91,
310
- "LABEL_92": 92,
311
- "LABEL_93": 93,
312
- "LABEL_94": 94,
313
- "LABEL_95": 95,
314
- "LABEL_96": 96,
315
- "LABEL_97": 97,
316
- "LABEL_98": 98,
317
- "LABEL_99": 99
318
  },
319
  "layer_norm_eps": 1e-12,
320
  "max_position_embeddings": 512,
1
  {
2
+ "_name_or_path": "models/bert-base-uncased-finetuned-clinc",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "restaurant_reviews",
13
+ "1": "nutrition_info",
14
+ "2": "account_blocked",
15
+ "3": "oil_change_how",
16
+ "4": "time",
17
+ "5": "weather",
18
+ "6": "redeem_rewards",
19
+ "7": "interest_rate",
20
+ "8": "gas_type",
21
+ "9": "accept_reservations",
22
+ "10": "smart_home",
23
+ "11": "user_name",
24
+ "12": "report_lost_card",
25
+ "13": "repeat",
26
+ "14": "whisper_mode",
27
+ "15": "what_are_your_hobbies",
28
+ "16": "order",
29
+ "17": "jump_start",
30
+ "18": "schedule_meeting",
31
+ "19": "meeting_schedule",
32
+ "20": "freeze_account",
33
+ "21": "what_song",
34
+ "22": "meaning_of_life",
35
+ "23": "restaurant_reservation",
36
+ "24": "traffic",
37
+ "25": "make_call",
38
+ "26": "text",
39
+ "27": "bill_balance",
40
+ "28": "improve_credit_score",
41
+ "29": "change_language",
42
+ "30": "no",
43
+ "31": "measurement_conversion",
44
+ "32": "timer",
45
+ "33": "flip_coin",
46
+ "34": "do_you_have_pets",
47
+ "35": "balance",
48
+ "36": "tell_joke",
49
+ "37": "last_maintenance",
50
+ "38": "exchange_rate",
51
+ "39": "uber",
52
+ "40": "car_rental",
53
+ "41": "credit_limit",
54
+ "42": "oos",
55
+ "43": "shopping_list",
56
+ "44": "expiration_date",
57
+ "45": "routing",
58
+ "46": "meal_suggestion",
59
+ "47": "tire_change",
60
+ "48": "todo_list",
61
+ "49": "card_declined",
62
+ "50": "rewards_balance",
63
+ "51": "change_accent",
64
+ "52": "vaccines",
65
+ "53": "reminder_update",
66
+ "54": "food_last",
67
+ "55": "change_ai_name",
68
+ "56": "bill_due",
69
+ "57": "who_do_you_work_for",
70
+ "58": "share_location",
71
+ "59": "international_visa",
72
+ "60": "calendar",
73
+ "61": "translate",
74
+ "62": "carry_on",
75
+ "63": "book_flight",
76
+ "64": "insurance_change",
77
+ "65": "todo_list_update",
78
+ "66": "timezone",
79
+ "67": "cancel_reservation",
80
+ "68": "transactions",
81
+ "69": "credit_score",
82
+ "70": "report_fraud",
83
+ "71": "spending_history",
84
+ "72": "directions",
85
+ "73": "spelling",
86
+ "74": "insurance",
87
+ "75": "what_is_your_name",
88
+ "76": "reminder",
89
+ "77": "where_are_you_from",
90
+ "78": "distance",
91
+ "79": "payday",
92
+ "80": "flight_status",
93
+ "81": "find_phone",
94
+ "82": "greeting",
95
+ "83": "alarm",
96
+ "84": "order_status",
97
+ "85": "confirm_reservation",
98
+ "86": "cook_time",
99
+ "87": "damaged_card",
100
+ "88": "reset_settings",
101
+ "89": "pin_change",
102
+ "90": "replacement_card_duration",
103
+ "91": "new_card",
104
+ "92": "roll_dice",
105
+ "93": "income",
106
+ "94": "taxes",
107
+ "95": "date",
108
+ "96": "who_made_you",
109
+ "97": "pto_request",
110
+ "98": "tire_pressure",
111
+ "99": "how_old_are_you",
112
+ "100": "rollover_401k",
113
+ "101": "pto_request_status",
114
+ "102": "how_busy",
115
+ "103": "application_status",
116
+ "104": "recipe",
117
+ "105": "calendar_update",
118
+ "106": "play_music",
119
+ "107": "yes",
120
+ "108": "direct_deposit",
121
+ "109": "credit_limit_change",
122
+ "110": "gas",
123
+ "111": "pay_bill",
124
+ "112": "ingredients_list",
125
+ "113": "lost_luggage",
126
+ "114": "goodbye",
127
+ "115": "what_can_i_ask_you",
128
+ "116": "book_hotel",
129
+ "117": "are_you_a_bot",
130
+ "118": "next_song",
131
+ "119": "change_speed",
132
+ "120": "plug_type",
133
+ "121": "maybe",
134
+ "122": "w2",
135
+ "123": "oil_change_when",
136
+ "124": "thank_you",
137
+ "125": "shopping_list_update",
138
+ "126": "pto_balance",
139
+ "127": "order_checks",
140
+ "128": "travel_alert",
141
+ "129": "fun_fact",
142
+ "130": "sync_device",
143
+ "131": "schedule_maintenance",
144
+ "132": "apr",
145
+ "133": "transfer",
146
+ "134": "ingredient_substitution",
147
+ "135": "calories",
148
+ "136": "current_location",
149
+ "137": "international_fees",
150
+ "138": "calculator",
151
+ "139": "definition",
152
+ "140": "next_holiday",
153
+ "141": "update_playlist",
154
+ "142": "mpg",
155
+ "143": "min_payment",
156
+ "144": "change_user_name",
157
+ "145": "restaurant_suggestion",
158
+ "146": "travel_notification",
159
+ "147": "cancel",
160
+ "148": "pto_used",
161
+ "149": "travel_suggestion",
162
+ "150": "change_volume"
163
  },
164
  "initializer_range": 0.02,
165
  "intermediate_size": 3072,
166
  "label2id": {
167
+ "accept_reservations": 9,
168
+ "account_blocked": 2,
169
+ "alarm": 83,
170
+ "application_status": 103,
171
+ "apr": 132,
172
+ "are_you_a_bot": 117,
173
+ "balance": 35,
174
+ "bill_balance": 27,
175
+ "bill_due": 56,
176
+ "book_flight": 63,
177
+ "book_hotel": 116,
178
+ "calculator": 138,
179
+ "calendar": 60,
180
+ "calendar_update": 105,
181
+ "calories": 135,
182
+ "cancel": 147,
183
+ "cancel_reservation": 67,
184
+ "car_rental": 40,
185
+ "card_declined": 49,
186
+ "carry_on": 62,
187
+ "change_accent": 51,
188
+ "change_ai_name": 55,
189
+ "change_language": 29,
190
+ "change_speed": 119,
191
+ "change_user_name": 144,
192
+ "change_volume": 150,
193
+ "confirm_reservation": 85,
194
+ "cook_time": 86,
195
+ "credit_limit": 41,
196
+ "credit_limit_change": 109,
197
+ "credit_score": 69,
198
+ "current_location": 136,
199
+ "damaged_card": 87,
200
+ "date": 95,
201
+ "definition": 139,
202
+ "direct_deposit": 108,
203
+ "directions": 72,
204
+ "distance": 78,
205
+ "do_you_have_pets": 34,
206
+ "exchange_rate": 38,
207
+ "expiration_date": 44,
208
+ "find_phone": 81,
209
+ "flight_status": 80,
210
+ "flip_coin": 33,
211
+ "food_last": 54,
212
+ "freeze_account": 20,
213
+ "fun_fact": 129,
214
+ "gas": 110,
215
+ "gas_type": 8,
216
+ "goodbye": 114,
217
+ "greeting": 82,
218
+ "how_busy": 102,
219
+ "how_old_are_you": 99,
220
+ "improve_credit_score": 28,
221
+ "income": 93,
222
+ "ingredient_substitution": 134,
223
+ "ingredients_list": 112,
224
+ "insurance": 74,
225
+ "insurance_change": 64,
226
+ "interest_rate": 7,
227
+ "international_fees": 137,
228
+ "international_visa": 59,
229
+ "jump_start": 17,
230
+ "last_maintenance": 37,
231
+ "lost_luggage": 113,
232
+ "make_call": 25,
233
+ "maybe": 121,
234
+ "meal_suggestion": 46,
235
+ "meaning_of_life": 22,
236
+ "measurement_conversion": 31,
237
+ "meeting_schedule": 19,
238
+ "min_payment": 143,
239
+ "mpg": 142,
240
+ "new_card": 91,
241
+ "next_holiday": 140,
242
+ "next_song": 118,
243
+ "no": 30,
244
+ "nutrition_info": 1,
245
+ "oil_change_how": 3,
246
+ "oil_change_when": 123,
247
+ "oos": 42,
248
+ "order": 16,
249
+ "order_checks": 127,
250
+ "order_status": 84,
251
+ "pay_bill": 111,
252
+ "payday": 79,
253
+ "pin_change": 89,
254
+ "play_music": 106,
255
+ "plug_type": 120,
256
+ "pto_balance": 126,
257
+ "pto_request": 97,
258
+ "pto_request_status": 101,
259
+ "pto_used": 148,
260
+ "recipe": 104,
261
+ "redeem_rewards": 6,
262
+ "reminder": 76,
263
+ "reminder_update": 53,
264
+ "repeat": 13,
265
+ "replacement_card_duration": 90,
266
+ "report_fraud": 70,
267
+ "report_lost_card": 12,
268
+ "reset_settings": 88,
269
+ "restaurant_reservation": 23,
270
+ "restaurant_reviews": 0,
271
+ "restaurant_suggestion": 145,
272
+ "rewards_balance": 50,
273
+ "roll_dice": 92,
274
+ "rollover_401k": 100,
275
+ "routing": 45,
276
+ "schedule_maintenance": 131,
277
+ "schedule_meeting": 18,
278
+ "share_location": 58,
279
+ "shopping_list": 43,
280
+ "shopping_list_update": 125,
281
+ "smart_home": 10,
282
+ "spelling": 73,
283
+ "spending_history": 71,
284
+ "sync_device": 130,
285
+ "taxes": 94,
286
+ "tell_joke": 36,
287
+ "text": 26,
288
+ "thank_you": 124,
289
+ "time": 4,
290
+ "timer": 32,
291
+ "timezone": 66,
292
+ "tire_change": 47,
293
+ "tire_pressure": 98,
294
+ "todo_list": 48,
295
+ "todo_list_update": 65,
296
+ "traffic": 24,
297
+ "transactions": 68,
298
+ "transfer": 133,
299
+ "translate": 61,
300
+ "travel_alert": 128,
301
+ "travel_notification": 146,
302
+ "travel_suggestion": 149,
303
+ "uber": 39,
304
+ "update_playlist": 141,
305
+ "user_name": 11,
306
+ "vaccines": 52,
307
+ "w2": 122,
308
+ "weather": 5,
309
+ "what_are_your_hobbies": 15,
310
+ "what_can_i_ask_you": 115,
311
+ "what_is_your_name": 75,
312
+ "what_song": 21,
313
+ "where_are_you_from": 77,
314
+ "whisper_mode": 14,
315
+ "who_do_you_work_for": 57,
316
+ "who_made_you": 96,
317
+ "yes": 107
318
  },
319
  "layer_norm_eps": 1e-12,
320
  "max_position_embeddings": 512,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45291ddb100a38f7194d9991c73148949788f6d481723189e69062bb3950cbbb
3
- size 438480982
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2542d4b0fdbfa0ea42df34f1b575f31619aaa1138262bca6f8a9c1f298e5cc25
3
+ size 438477908