patnelt60 commited on
Commit
f18bd38
1 Parent(s): dc447fa

Training completed!

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased-distilled-squad
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - clinc_oos
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: distilbert-base-uncased-distilled-squad-finetuned-clinc
12
+ results:
13
+ - task:
14
+ name: Text Classification
15
+ type: text-classification
16
+ dataset:
17
+ name: clinc_oos
18
+ type: clinc_oos
19
+ config: plus
20
+ split: validation
21
+ args: plus
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.8722580645161291
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # distilbert-base-uncased-distilled-squad-finetuned-clinc
32
+
33
+ This model is a fine-tuned version of [distilbert-base-uncased-distilled-squad](https://huggingface.co/distilbert-base-uncased-distilled-squad) on the clinc_oos dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 1.7920
36
+ - Accuracy: 0.8723
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 2e-05
56
+ - train_batch_size: 384
57
+ - eval_batch_size: 384
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - num_epochs: 10
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
+ | No log | 1.0 | 40 | 3.7816 | 0.2016 |
68
+ | No log | 2.0 | 80 | 3.3589 | 0.5374 |
69
+ | No log | 3.0 | 120 | 2.9695 | 0.6955 |
70
+ | No log | 4.0 | 160 | 2.6408 | 0.7726 |
71
+ | No log | 5.0 | 200 | 2.3697 | 0.8145 |
72
+ | No log | 6.0 | 240 | 2.1547 | 0.8426 |
73
+ | No log | 7.0 | 280 | 1.9912 | 0.8529 |
74
+ | 2.8639 | 8.0 | 320 | 1.8802 | 0.8645 |
75
+ | 2.8639 | 9.0 | 360 | 1.8138 | 0.8706 |
76
+ | 2.8639 | 10.0 | 400 | 1.7920 | 0.8723 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.32.1
82
+ - Pytorch 2.1.0
83
+ - Datasets 2.14.6
84
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased-distilled-squad",
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.32.1",
330
+ "vocab_size": 30522
331
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cd880b4582d8c94144b2c70fb62cd413980e37be609c8bf532477b7083fcd72
3
+ size 268314282
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,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "DistilBertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9de36b8b5614857b78ba6eaffc6036191dda71a6d6dc723a6559dd2d5bd4f63c
3
+ size 4600
vocab.txt ADDED
The diff for this file is too large to render. See raw diff