nrshoudi commited on
Commit
bae5760
1 Parent(s): 0766607

End of training

Browse files
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/hubert-large-ls960-ft
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - wer
8
+ model-index:
9
+ - name: hubert-large-ls960-ft-V2-10
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
+ # hubert-large-ls960-ft-V2-10
17
+
18
+ This model is a fine-tuned version of [facebook/hubert-large-ls960-ft](https://huggingface.co/facebook/hubert-large-ls960-ft) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.4727
21
+ - Wer: 0.0628
22
+ - Per: 0.0490
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.0001
42
+ - train_batch_size: 2
43
+ - eval_batch_size: 2
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - lr_scheduler_warmup_ratio: 0.1
48
+ - num_epochs: 20
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Wer | Per |
53
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|
54
+ | 14.6873 | 1.0 | 164 | 3.2286 | 1.0 | 1.0 |
55
+ | 3.2356 | 2.0 | 328 | 3.1024 | 1.0 | 1.0 |
56
+ | 2.6803 | 3.0 | 492 | 1.9833 | 0.9224 | 0.9382 |
57
+ | 1.5141 | 4.0 | 656 | 1.1059 | 0.4099 | 0.3923 |
58
+ | 0.7862 | 5.0 | 820 | 0.6129 | 0.1587 | 0.1357 |
59
+ | 0.4004 | 6.0 | 984 | 0.4939 | 0.0939 | 0.0748 |
60
+ | 0.2791 | 7.0 | 1148 | 0.4888 | 0.0815 | 0.0646 |
61
+ | 0.2168 | 8.0 | 1312 | 0.5083 | 0.0830 | 0.0662 |
62
+ | 0.1726 | 9.0 | 1476 | 0.4748 | 0.0749 | 0.0596 |
63
+ | 0.1412 | 10.0 | 1640 | 0.4955 | 0.0742 | 0.0575 |
64
+ | 0.1156 | 11.0 | 1804 | 0.4986 | 0.0715 | 0.0564 |
65
+ | 0.1321 | 12.0 | 1968 | 0.5101 | 0.0703 | 0.0552 |
66
+ | 0.103 | 13.0 | 2132 | 0.4728 | 0.0668 | 0.0527 |
67
+ | 0.0772 | 14.0 | 2296 | 0.4832 | 0.0649 | 0.0509 |
68
+ | 0.0858 | 15.0 | 2460 | 0.4830 | 0.0649 | 0.0505 |
69
+ | 0.0874 | 16.0 | 2624 | 0.4697 | 0.0642 | 0.0509 |
70
+ | 0.0784 | 17.0 | 2788 | 0.4499 | 0.0652 | 0.0516 |
71
+ | 0.0703 | 18.0 | 2952 | 0.4699 | 0.0638 | 0.0500 |
72
+ | 0.062 | 19.0 | 3116 | 0.4757 | 0.0634 | 0.0496 |
73
+ | 0.0588 | 20.0 | 3280 | 0.4727 | 0.0628 | 0.0490 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.35.2
79
+ - Pytorch 2.1.0+cu121
80
+ - Datasets 2.16.1
81
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/hubert-large-ls960-ft",
3
+ "activation_dropout": 0.1,
4
+ "apply_spec_augment": true,
5
+ "architectures": [
6
+ "HubertForCTC"
7
+ ],
8
+ "attention_dropout": 0.1,
9
+ "bos_token_id": 1,
10
+ "classifier_proj_size": 256,
11
+ "conv_bias": true,
12
+ "conv_dim": [
13
+ 512,
14
+ 512,
15
+ 512,
16
+ 512,
17
+ 512,
18
+ 512,
19
+ 512
20
+ ],
21
+ "conv_kernel": [
22
+ 10,
23
+ 3,
24
+ 3,
25
+ 3,
26
+ 3,
27
+ 2,
28
+ 2
29
+ ],
30
+ "conv_stride": [
31
+ 5,
32
+ 2,
33
+ 2,
34
+ 2,
35
+ 2,
36
+ 2,
37
+ 2
38
+ ],
39
+ "ctc_loss_reduction": "mean",
40
+ "ctc_zero_infinity": false,
41
+ "diversity_loss_weight": 0.1,
42
+ "do_stable_layer_norm": true,
43
+ "eos_token_id": 2,
44
+ "feat_extract_activation": "gelu",
45
+ "feat_extract_dropout": 0.0,
46
+ "feat_extract_norm": "layer",
47
+ "feat_proj_dropout": 0.1,
48
+ "feat_proj_layer_norm": true,
49
+ "final_dropout": 0.1,
50
+ "gradient_checkpointing": false,
51
+ "hidden_act": "gelu",
52
+ "hidden_dropout": 0.1,
53
+ "hidden_dropout_prob": 0.1,
54
+ "hidden_size": 1024,
55
+ "initializer_range": 0.02,
56
+ "intermediate_size": 4096,
57
+ "layer_norm_eps": 1e-05,
58
+ "layerdrop": 0.1,
59
+ "mask_feature_length": 10,
60
+ "mask_feature_min_masks": 0,
61
+ "mask_feature_prob": 0.0,
62
+ "mask_time_length": 10,
63
+ "mask_time_min_masks": 2,
64
+ "mask_time_prob": 0.05,
65
+ "model_type": "hubert",
66
+ "num_attention_heads": 16,
67
+ "num_conv_pos_embedding_groups": 16,
68
+ "num_conv_pos_embeddings": 128,
69
+ "num_feat_extract_layers": 7,
70
+ "num_hidden_layers": 24,
71
+ "pad_token_id": 37,
72
+ "torch_dtype": "float32",
73
+ "transformers_version": "4.35.2",
74
+ "use_weighted_layer_sum": false,
75
+ "vocab_size": 40
76
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:655d372d928b949958309f3a48ee52f3bd2205c92af3af864d88085b4159697b
3
+ size 1261970648
preprocessor_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
+ "feature_size": 1,
5
+ "padding_side": "right",
6
+ "padding_value": 0,
7
+ "processor_class": "Wav2Vec2Processor",
8
+ "return_attention_mask": true,
9
+ "sampling_rate": 16000
10
+ }
trainer_state.json ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.4499486982822418,
3
+ "best_model_checkpoint": "nrshoudi/hubert-large-ls960-ft-V2-10/checkpoint-2788",
4
+ "epoch": 20.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3280,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "learning_rate": 5e-05,
14
+ "loss": 14.6873,
15
+ "step": 164
16
+ },
17
+ {
18
+ "epoch": 1.0,
19
+ "eval_loss": 3.228632688522339,
20
+ "eval_per": 1.0,
21
+ "eval_runtime": 115.7091,
22
+ "eval_samples_per_second": 7.026,
23
+ "eval_steps_per_second": 3.517,
24
+ "eval_wer": 1.0,
25
+ "step": 164
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "learning_rate": 0.0001,
30
+ "loss": 3.2356,
31
+ "step": 328
32
+ },
33
+ {
34
+ "epoch": 2.0,
35
+ "eval_loss": 3.102414131164551,
36
+ "eval_per": 1.0,
37
+ "eval_runtime": 118.6897,
38
+ "eval_samples_per_second": 6.85,
39
+ "eval_steps_per_second": 3.429,
40
+ "eval_wer": 1.0,
41
+ "step": 328
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "learning_rate": 9.444444444444444e-05,
46
+ "loss": 2.6803,
47
+ "step": 492
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "eval_loss": 1.983318567276001,
52
+ "eval_per": 0.9381654574578348,
53
+ "eval_runtime": 119.1436,
54
+ "eval_samples_per_second": 6.824,
55
+ "eval_steps_per_second": 3.416,
56
+ "eval_wer": 0.922402127758854,
57
+ "step": 492
58
+ },
59
+ {
60
+ "epoch": 4.0,
61
+ "learning_rate": 8.888888888888889e-05,
62
+ "loss": 1.5141,
63
+ "step": 656
64
+ },
65
+ {
66
+ "epoch": 4.0,
67
+ "eval_loss": 1.105877161026001,
68
+ "eval_per": 0.3923490059361161,
69
+ "eval_runtime": 119.3145,
70
+ "eval_samples_per_second": 6.814,
71
+ "eval_steps_per_second": 3.411,
72
+ "eval_wer": 0.409873547664598,
73
+ "step": 656
74
+ },
75
+ {
76
+ "epoch": 5.0,
77
+ "learning_rate": 8.333333333333334e-05,
78
+ "loss": 0.7862,
79
+ "step": 820
80
+ },
81
+ {
82
+ "epoch": 5.0,
83
+ "eval_loss": 0.6128574013710022,
84
+ "eval_per": 0.1356826533496655,
85
+ "eval_runtime": 119.0095,
86
+ "eval_samples_per_second": 6.831,
87
+ "eval_steps_per_second": 3.42,
88
+ "eval_wer": 0.15874200923895293,
89
+ "step": 820
90
+ },
91
+ {
92
+ "epoch": 6.0,
93
+ "learning_rate": 7.777777777777778e-05,
94
+ "loss": 0.4004,
95
+ "step": 984
96
+ },
97
+ {
98
+ "epoch": 6.0,
99
+ "eval_loss": 0.4938863515853882,
100
+ "eval_per": 0.07483746348817488,
101
+ "eval_runtime": 118.5649,
102
+ "eval_samples_per_second": 6.857,
103
+ "eval_steps_per_second": 3.433,
104
+ "eval_wer": 0.09392935467313704,
105
+ "step": 984
106
+ },
107
+ {
108
+ "epoch": 7.0,
109
+ "learning_rate": 7.222222222222222e-05,
110
+ "loss": 0.2791,
111
+ "step": 1148
112
+ },
113
+ {
114
+ "epoch": 7.0,
115
+ "eval_loss": 0.48878785967826843,
116
+ "eval_per": 0.06463770847074343,
117
+ "eval_runtime": 121.6382,
118
+ "eval_samples_per_second": 6.684,
119
+ "eval_steps_per_second": 3.346,
120
+ "eval_wer": 0.08151742802482385,
121
+ "step": 1148
122
+ },
123
+ {
124
+ "epoch": 8.0,
125
+ "learning_rate": 6.666666666666667e-05,
126
+ "loss": 0.2168,
127
+ "step": 1312
128
+ },
129
+ {
130
+ "epoch": 8.0,
131
+ "eval_loss": 0.5082865953445435,
132
+ "eval_per": 0.06623951757278809,
133
+ "eval_runtime": 120.0011,
134
+ "eval_samples_per_second": 6.775,
135
+ "eval_steps_per_second": 3.392,
136
+ "eval_wer": 0.08296393075451448,
137
+ "step": 1312
138
+ },
139
+ {
140
+ "epoch": 9.0,
141
+ "learning_rate": 6.111111111111112e-05,
142
+ "loss": 0.1726,
143
+ "step": 1476
144
+ },
145
+ {
146
+ "epoch": 9.0,
147
+ "eval_loss": 0.47479337453842163,
148
+ "eval_per": 0.05957316498633751,
149
+ "eval_runtime": 120.2413,
150
+ "eval_samples_per_second": 6.761,
151
+ "eval_steps_per_second": 3.385,
152
+ "eval_wer": 0.0748915122952732,
153
+ "step": 1476
154
+ },
155
+ {
156
+ "epoch": 10.0,
157
+ "learning_rate": 5.555555555555556e-05,
158
+ "loss": 0.1412,
159
+ "step": 1640
160
+ },
161
+ {
162
+ "epoch": 10.0,
163
+ "eval_loss": 0.49549877643585205,
164
+ "eval_per": 0.0575237915763686,
165
+ "eval_runtime": 120.5928,
166
+ "eval_samples_per_second": 6.742,
167
+ "eval_steps_per_second": 3.375,
168
+ "eval_wer": 0.07419159161961644,
169
+ "step": 1640
170
+ },
171
+ {
172
+ "epoch": 11.0,
173
+ "learning_rate": 5e-05,
174
+ "loss": 0.1156,
175
+ "step": 1804
176
+ },
177
+ {
178
+ "epoch": 11.0,
179
+ "eval_loss": 0.49861228466033936,
180
+ "eval_per": 0.056393102798454726,
181
+ "eval_runtime": 120.178,
182
+ "eval_samples_per_second": 6.765,
183
+ "eval_steps_per_second": 3.387,
184
+ "eval_wer": 0.07148523167374364,
185
+ "step": 1804
186
+ },
187
+ {
188
+ "epoch": 12.0,
189
+ "learning_rate": 4.4444444444444447e-05,
190
+ "loss": 0.1321,
191
+ "step": 1968
192
+ },
193
+ {
194
+ "epoch": 12.0,
195
+ "eval_loss": 0.5101034045219421,
196
+ "eval_per": 0.05516818995571469,
197
+ "eval_runtime": 119.6692,
198
+ "eval_samples_per_second": 6.794,
199
+ "eval_steps_per_second": 3.401,
200
+ "eval_wer": 0.07027203583593859,
201
+ "step": 1968
202
+ },
203
+ {
204
+ "epoch": 13.0,
205
+ "learning_rate": 3.888888888888889e-05,
206
+ "loss": 0.103,
207
+ "step": 2132
208
+ },
209
+ {
210
+ "epoch": 13.0,
211
+ "eval_loss": 0.4728148877620697,
212
+ "eval_per": 0.052718364270234616,
213
+ "eval_runtime": 120.0092,
214
+ "eval_samples_per_second": 6.774,
215
+ "eval_steps_per_second": 3.391,
216
+ "eval_wer": 0.0667724324576548,
217
+ "step": 2132
218
+ },
219
+ {
220
+ "epoch": 14.0,
221
+ "learning_rate": 3.3333333333333335e-05,
222
+ "loss": 0.0772,
223
+ "step": 2296
224
+ },
225
+ {
226
+ "epoch": 14.0,
227
+ "eval_loss": 0.48323920369148254,
228
+ "eval_per": 0.050880995006124564,
229
+ "eval_runtime": 120.2949,
230
+ "eval_samples_per_second": 6.758,
231
+ "eval_steps_per_second": 3.383,
232
+ "eval_wer": 0.06485931594419299,
233
+ "step": 2296
234
+ },
235
+ {
236
+ "epoch": 15.0,
237
+ "learning_rate": 2.777777777777778e-05,
238
+ "loss": 0.0858,
239
+ "step": 2460
240
+ },
241
+ {
242
+ "epoch": 15.0,
243
+ "eval_loss": 0.4829542934894562,
244
+ "eval_per": 0.05045698671440686,
245
+ "eval_runtime": 120.6615,
246
+ "eval_samples_per_second": 6.738,
247
+ "eval_steps_per_second": 3.373,
248
+ "eval_wer": 0.06490597732257011,
249
+ "step": 2460
250
+ },
251
+ {
252
+ "epoch": 16.0,
253
+ "learning_rate": 2.2222222222222223e-05,
254
+ "loss": 0.0874,
255
+ "step": 2624
256
+ },
257
+ {
258
+ "epoch": 16.0,
259
+ "eval_loss": 0.4697466194629669,
260
+ "eval_per": 0.050928107038537646,
261
+ "eval_runtime": 120.1647,
262
+ "eval_samples_per_second": 6.766,
263
+ "eval_steps_per_second": 3.387,
264
+ "eval_wer": 0.06420605664691335,
265
+ "step": 2624
266
+ },
267
+ {
268
+ "epoch": 17.0,
269
+ "learning_rate": 1.6666666666666667e-05,
270
+ "loss": 0.0784,
271
+ "step": 2788
272
+ },
273
+ {
274
+ "epoch": 17.0,
275
+ "eval_loss": 0.4499486982822418,
276
+ "eval_per": 0.05163478752473382,
277
+ "eval_runtime": 120.3424,
278
+ "eval_samples_per_second": 6.756,
279
+ "eval_steps_per_second": 3.382,
280
+ "eval_wer": 0.06523260697120993,
281
+ "step": 2788
282
+ },
283
+ {
284
+ "epoch": 18.0,
285
+ "learning_rate": 1.1111111111111112e-05,
286
+ "loss": 0.0703,
287
+ "step": 2952
288
+ },
289
+ {
290
+ "epoch": 18.0,
291
+ "eval_loss": 0.4699481725692749,
292
+ "eval_per": 0.04998586639027608,
293
+ "eval_runtime": 119.817,
294
+ "eval_samples_per_second": 6.785,
295
+ "eval_steps_per_second": 3.397,
296
+ "eval_wer": 0.06383276561989641,
297
+ "step": 2952
298
+ },
299
+ {
300
+ "epoch": 19.0,
301
+ "learning_rate": 5.555555555555556e-06,
302
+ "loss": 0.062,
303
+ "step": 3116
304
+ },
305
+ {
306
+ "epoch": 19.0,
307
+ "eval_loss": 0.47566303610801697,
308
+ "eval_per": 0.04956185809855837,
309
+ "eval_runtime": 120.5098,
310
+ "eval_samples_per_second": 6.746,
311
+ "eval_steps_per_second": 3.377,
312
+ "eval_wer": 0.06336615183612523,
313
+ "step": 3116
314
+ },
315
+ {
316
+ "epoch": 20.0,
317
+ "learning_rate": 0.0,
318
+ "loss": 0.0588,
319
+ "step": 3280
320
+ },
321
+ {
322
+ "epoch": 20.0,
323
+ "eval_loss": 0.4727163016796112,
324
+ "eval_per": 0.04904362574201451,
325
+ "eval_runtime": 120.1063,
326
+ "eval_samples_per_second": 6.769,
327
+ "eval_steps_per_second": 3.389,
328
+ "eval_wer": 0.06280621529559983,
329
+ "step": 3280
330
+ },
331
+ {
332
+ "epoch": 20.0,
333
+ "step": 3280,
334
+ "total_flos": 1.036683517600052e+18,
335
+ "train_loss": 1.2492202968132204,
336
+ "train_runtime": 4352.7187,
337
+ "train_samples_per_second": 1.503,
338
+ "train_steps_per_second": 0.754
339
+ }
340
+ ],
341
+ "logging_steps": 500,
342
+ "max_steps": 3280,
343
+ "num_train_epochs": 20,
344
+ "save_steps": 500,
345
+ "total_flos": 1.036683517600052e+18,
346
+ "trial_name": null,
347
+ "trial_params": null
348
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2f78bfdcf4a23fc000ac4907126f6d1cc180e347b10a3c8cc6e805bcccfde1a
3
+ size 4600