gokuls commited on
Commit
9258440
1 Parent(s): 970a0d5

End of training

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: distil-whisper/distil-small.en
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - speech_commands
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: distil-small.en-speech-commands
12
+ results:
13
+ - task:
14
+ name: Audio Classification
15
+ type: audio-classification
16
+ dataset:
17
+ name: speech_commands
18
+ type: speech_commands
19
+ config: v0.02
20
+ split: None
21
+ args: v0.02
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.8066546762589928
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
+ # distil-small.en-speech-commands
32
+
33
+ This model is a fine-tuned version of [distil-whisper/distil-small.en](https://huggingface.co/distil-whisper/distil-small.en) on the speech_commands dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.9307
36
+ - Accuracy: 0.8067
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: 5e-05
56
+ - train_batch_size: 64
57
+ - eval_batch_size: 64
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - lr_scheduler_warmup_ratio: 0.1
62
+ - num_epochs: 10
63
+ - mixed_precision_training: Native AMP
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
69
+ | 0.1861 | 1.0 | 618 | 0.7743 | 0.8022 |
70
+ | 0.1135 | 2.0 | 1236 | 0.9853 | 0.8049 |
71
+ | 0.078 | 3.0 | 1854 | 0.9307 | 0.8067 |
72
+ | 0.038 | 4.0 | 2472 | 0.9989 | 0.8049 |
73
+ | 0.0375 | 5.0 | 3090 | 1.0738 | 0.8035 |
74
+ | 0.0462 | 6.0 | 3708 | 1.1601 | 0.8067 |
75
+ | 0.018 | 7.0 | 4326 | 1.5369 | 0.8067 |
76
+ | 0.0008 | 8.0 | 4944 | 1.2515 | 0.8067 |
77
+ | 0.0016 | 9.0 | 5562 | 1.3494 | 0.8058 |
78
+ | 0.0002 | 10.0 | 6180 | 1.5117 | 0.8053 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.43.3
84
+ - Pytorch 2.2.2+cu121
85
+ - Datasets 2.18.0
86
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distil-whisper/distil-small.en",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
+ "architectures": [
7
+ "WhisperForAudioClassification"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "begin_suppress_tokens": [
11
+ 220,
12
+ 50256
13
+ ],
14
+ "bos_token_id": 50257,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 768,
17
+ "decoder_attention_heads": 12,
18
+ "decoder_ffn_dim": 3072,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 4,
21
+ "decoder_start_token_id": 50257,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 12,
24
+ "encoder_ffn_dim": 3072,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 12,
27
+ "eos_token_id": 50256,
28
+ "forced_decoder_ids": [
29
+ [
30
+ 1,
31
+ 50362
32
+ ]
33
+ ],
34
+ "id2label": {
35
+ "0": "yes",
36
+ "1": "no",
37
+ "10": "zero",
38
+ "11": "one",
39
+ "12": "two",
40
+ "13": "three",
41
+ "14": "four",
42
+ "15": "five",
43
+ "16": "six",
44
+ "17": "seven",
45
+ "18": "eight",
46
+ "19": "nine",
47
+ "2": "up",
48
+ "20": "bed",
49
+ "21": "bird",
50
+ "22": "cat",
51
+ "23": "dog",
52
+ "24": "happy",
53
+ "25": "house",
54
+ "26": "marvin",
55
+ "27": "sheila",
56
+ "28": "tree",
57
+ "29": "wow",
58
+ "3": "down",
59
+ "30": "backward",
60
+ "31": "forward",
61
+ "32": "follow",
62
+ "33": "learn",
63
+ "34": "visual",
64
+ "35": "_silence_",
65
+ "4": "left",
66
+ "5": "right",
67
+ "6": "on",
68
+ "7": "off",
69
+ "8": "stop",
70
+ "9": "go"
71
+ },
72
+ "init_std": 0.02,
73
+ "is_encoder_decoder": true,
74
+ "label2id": {
75
+ "_silence_": "35",
76
+ "backward": "30",
77
+ "bed": "20",
78
+ "bird": "21",
79
+ "cat": "22",
80
+ "dog": "23",
81
+ "down": "3",
82
+ "eight": "18",
83
+ "five": "15",
84
+ "follow": "32",
85
+ "forward": "31",
86
+ "four": "14",
87
+ "go": "9",
88
+ "happy": "24",
89
+ "house": "25",
90
+ "learn": "33",
91
+ "left": "4",
92
+ "marvin": "26",
93
+ "nine": "19",
94
+ "no": "1",
95
+ "off": "7",
96
+ "on": "6",
97
+ "one": "11",
98
+ "right": "5",
99
+ "seven": "17",
100
+ "sheila": "27",
101
+ "six": "16",
102
+ "stop": "8",
103
+ "three": "13",
104
+ "tree": "28",
105
+ "two": "12",
106
+ "up": "2",
107
+ "visual": "34",
108
+ "wow": "29",
109
+ "yes": "0",
110
+ "zero": "10"
111
+ },
112
+ "mask_feature_length": 10,
113
+ "mask_feature_min_masks": 0,
114
+ "mask_feature_prob": 0.0,
115
+ "mask_time_length": 10,
116
+ "mask_time_min_masks": 2,
117
+ "mask_time_prob": 0.05,
118
+ "max_length": 448,
119
+ "max_source_positions": 1500,
120
+ "max_target_positions": 448,
121
+ "median_filter_width": 7,
122
+ "model_type": "whisper",
123
+ "num_hidden_layers": 12,
124
+ "num_mel_bins": 80,
125
+ "pad_token_id": 50256,
126
+ "scale_embedding": false,
127
+ "suppress_tokens": [
128
+ 1,
129
+ 2,
130
+ 7,
131
+ 8,
132
+ 9,
133
+ 10,
134
+ 14,
135
+ 25,
136
+ 26,
137
+ 27,
138
+ 28,
139
+ 29,
140
+ 31,
141
+ 58,
142
+ 59,
143
+ 60,
144
+ 61,
145
+ 62,
146
+ 63,
147
+ 90,
148
+ 91,
149
+ 92,
150
+ 93,
151
+ 357,
152
+ 366,
153
+ 438,
154
+ 532,
155
+ 685,
156
+ 705,
157
+ 796,
158
+ 930,
159
+ 1058,
160
+ 1220,
161
+ 1267,
162
+ 1279,
163
+ 1303,
164
+ 1343,
165
+ 1377,
166
+ 1391,
167
+ 1635,
168
+ 1782,
169
+ 1875,
170
+ 2162,
171
+ 2361,
172
+ 2488,
173
+ 3467,
174
+ 4008,
175
+ 4211,
176
+ 4600,
177
+ 4808,
178
+ 5299,
179
+ 5855,
180
+ 6329,
181
+ 7203,
182
+ 9609,
183
+ 9959,
184
+ 10563,
185
+ 10786,
186
+ 11420,
187
+ 11709,
188
+ 11907,
189
+ 13163,
190
+ 13697,
191
+ 13700,
192
+ 14808,
193
+ 15306,
194
+ 16410,
195
+ 16791,
196
+ 17992,
197
+ 19203,
198
+ 19510,
199
+ 20724,
200
+ 22305,
201
+ 22935,
202
+ 27007,
203
+ 30109,
204
+ 30420,
205
+ 33409,
206
+ 34949,
207
+ 40283,
208
+ 40493,
209
+ 40549,
210
+ 47282,
211
+ 49146,
212
+ 50257,
213
+ 50357,
214
+ 50358,
215
+ 50359,
216
+ 50360,
217
+ 50361
218
+ ],
219
+ "torch_dtype": "float32",
220
+ "transformers_version": "4.43.3",
221
+ "use_cache": true,
222
+ "use_weighted_layer_sum": false,
223
+ "vocab_size": 51864
224
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5daf49814a5467286b56cf366fd5968caee96abaf5240a3205283519e01cc39
3
+ size 353461320
preprocessor_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 30,
3
+ "feature_extractor_type": "WhisperFeatureExtractor",
4
+ "feature_size": 80,
5
+ "hop_length": 160,
6
+ "n_fft": 400,
7
+ "n_samples": 480000,
8
+ "nb_max_frames": 3000,
9
+ "padding_side": "right",
10
+ "padding_value": 0.0,
11
+ "processor_class": "WhisperProcessor",
12
+ "return_attention_mask": false,
13
+ "sampling_rate": 16000
14
+ }
runs/Oct01_09-00-37_ki-g0010/events.out.tfevents.1727773242.ki-g0010.1531976.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cd01e1b3f3013d4df2b3840b34759d307e29723eb2183efd74a2ad1266420d1
3
+ size 7920
runs/Oct01_09-13-46_ki-g0010/events.out.tfevents.1727774030.ki-g0010.1544271.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eafe65c6ccd53f121038364f106f4bfdcae0c26420695e63e4df8b3d8f5e7d6e
3
+ size 272200
runs/Oct01_09-13-46_ki-g0010/events.out.tfevents.1727777698.ki-g0010.1544271.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13f350391f13a729c2e2503ca6208827c3e18b1dedc1221315030641c5d7ab22
3
+ size 411
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:813a3959e2b9ade69fb6372ab4206321ccbaf0eddfada2987c9fce838799bf75
3
+ size 5240