ehottl commited on
Commit
8c7059d
1 Parent(s): 351bb7e

Training completed!

Browse files
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: distilbert-base-uncased-finetuned-clinc
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # distilbert-base-uncased-finetuned-clinc
17
+
18
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.8020
21
+ - Accuracy: 0.9158
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 48
42
+ - eval_batch_size: 48
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 5
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 4.3069 | 1.0 | 318 | 3.3020 | 0.7177 |
53
+ | 2.6569 | 2.0 | 636 | 1.9007 | 0.8468 |
54
+ | 1.5836 | 3.0 | 954 | 1.1867 | 0.8881 |
55
+ | 1.0474 | 4.0 | 1272 | 0.8876 | 0.9116 |
56
+ | 0.8287 | 5.0 | 1590 | 0.8020 | 0.9158 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.39.3
62
+ - Pytorch 2.1.2.post303
63
+ - Datasets 2.19.1
64
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
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
+ "label2id": {
166
+ "accept_reservations": 9,
167
+ "account_blocked": 2,
168
+ "alarm": 83,
169
+ "application_status": 103,
170
+ "apr": 132,
171
+ "are_you_a_bot": 117,
172
+ "balance": 35,
173
+ "bill_balance": 27,
174
+ "bill_due": 56,
175
+ "book_flight": 63,
176
+ "book_hotel": 116,
177
+ "calculator": 138,
178
+ "calendar": 60,
179
+ "calendar_update": 105,
180
+ "calories": 135,
181
+ "cancel": 147,
182
+ "cancel_reservation": 67,
183
+ "car_rental": 40,
184
+ "card_declined": 49,
185
+ "carry_on": 62,
186
+ "change_accent": 51,
187
+ "change_ai_name": 55,
188
+ "change_language": 29,
189
+ "change_speed": 119,
190
+ "change_user_name": 144,
191
+ "change_volume": 150,
192
+ "confirm_reservation": 85,
193
+ "cook_time": 86,
194
+ "credit_limit": 41,
195
+ "credit_limit_change": 109,
196
+ "credit_score": 69,
197
+ "current_location": 136,
198
+ "damaged_card": 87,
199
+ "date": 95,
200
+ "definition": 139,
201
+ "direct_deposit": 108,
202
+ "directions": 72,
203
+ "distance": 78,
204
+ "do_you_have_pets": 34,
205
+ "exchange_rate": 38,
206
+ "expiration_date": 44,
207
+ "find_phone": 81,
208
+ "flight_status": 80,
209
+ "flip_coin": 33,
210
+ "food_last": 54,
211
+ "freeze_account": 20,
212
+ "fun_fact": 129,
213
+ "gas": 110,
214
+ "gas_type": 8,
215
+ "goodbye": 114,
216
+ "greeting": 82,
217
+ "how_busy": 102,
218
+ "how_old_are_you": 99,
219
+ "improve_credit_score": 28,
220
+ "income": 93,
221
+ "ingredient_substitution": 134,
222
+ "ingredients_list": 112,
223
+ "insurance": 74,
224
+ "insurance_change": 64,
225
+ "interest_rate": 7,
226
+ "international_fees": 137,
227
+ "international_visa": 59,
228
+ "jump_start": 17,
229
+ "last_maintenance": 37,
230
+ "lost_luggage": 113,
231
+ "make_call": 25,
232
+ "maybe": 121,
233
+ "meal_suggestion": 46,
234
+ "meaning_of_life": 22,
235
+ "measurement_conversion": 31,
236
+ "meeting_schedule": 19,
237
+ "min_payment": 143,
238
+ "mpg": 142,
239
+ "new_card": 91,
240
+ "next_holiday": 140,
241
+ "next_song": 118,
242
+ "no": 30,
243
+ "nutrition_info": 1,
244
+ "oil_change_how": 3,
245
+ "oil_change_when": 123,
246
+ "oos": 42,
247
+ "order": 16,
248
+ "order_checks": 127,
249
+ "order_status": 84,
250
+ "pay_bill": 111,
251
+ "payday": 79,
252
+ "pin_change": 89,
253
+ "play_music": 106,
254
+ "plug_type": 120,
255
+ "pto_balance": 126,
256
+ "pto_request": 97,
257
+ "pto_request_status": 101,
258
+ "pto_used": 148,
259
+ "recipe": 104,
260
+ "redeem_rewards": 6,
261
+ "reminder": 76,
262
+ "reminder_update": 53,
263
+ "repeat": 13,
264
+ "replacement_card_duration": 90,
265
+ "report_fraud": 70,
266
+ "report_lost_card": 12,
267
+ "reset_settings": 88,
268
+ "restaurant_reservation": 23,
269
+ "restaurant_reviews": 0,
270
+ "restaurant_suggestion": 145,
271
+ "rewards_balance": 50,
272
+ "roll_dice": 92,
273
+ "rollover_401k": 100,
274
+ "routing": 45,
275
+ "schedule_maintenance": 131,
276
+ "schedule_meeting": 18,
277
+ "share_location": 58,
278
+ "shopping_list": 43,
279
+ "shopping_list_update": 125,
280
+ "smart_home": 10,
281
+ "spelling": 73,
282
+ "spending_history": 71,
283
+ "sync_device": 130,
284
+ "taxes": 94,
285
+ "tell_joke": 36,
286
+ "text": 26,
287
+ "thank_you": 124,
288
+ "time": 4,
289
+ "timer": 32,
290
+ "timezone": 66,
291
+ "tire_change": 47,
292
+ "tire_pressure": 98,
293
+ "todo_list": 48,
294
+ "todo_list_update": 65,
295
+ "traffic": 24,
296
+ "transactions": 68,
297
+ "transfer": 133,
298
+ "translate": 61,
299
+ "travel_alert": 128,
300
+ "travel_notification": 146,
301
+ "travel_suggestion": 149,
302
+ "uber": 39,
303
+ "update_playlist": 141,
304
+ "user_name": 11,
305
+ "vaccines": 52,
306
+ "w2": 122,
307
+ "weather": 5,
308
+ "what_are_your_hobbies": 15,
309
+ "what_can_i_ask_you": 115,
310
+ "what_is_your_name": 75,
311
+ "what_song": 21,
312
+ "where_are_you_from": 77,
313
+ "whisper_mode": 14,
314
+ "who_do_you_work_for": 57,
315
+ "who_made_you": 96,
316
+ "yes": 107
317
+ },
318
+ "max_position_embeddings": 512,
319
+ "model_type": "distilbert",
320
+ "n_heads": 12,
321
+ "n_layers": 6,
322
+ "pad_token_id": 0,
323
+ "problem_type": "single_label_classification",
324
+ "qa_dropout": 0.1,
325
+ "seq_classif_dropout": 0.2,
326
+ "sinusoidal_pos_embds": false,
327
+ "tie_weights_": true,
328
+ "torch_dtype": "float32",
329
+ "transformers_version": "4.39.3",
330
+ "vocab_size": 30522
331
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b75bacc25409c4b8067f6341babc3a6276991849dd37cf4e2ed83fe436aba393
3
+ size 268290900
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ee971747676ab246536c7113c07e37821445f93f1eaeb7e3f55caeb424e9799
3
+ size 4984
vocab.txt ADDED
The diff for this file is too large to render. See raw diff