nrshoudi commited on
Commit
d17bb2f
1 Parent(s): b705cd9

End of training

Browse files
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/hubert-large-ll60k
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - wer
8
+ model-index:
9
+ - name: hubert-large-ll60k_arabic
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-ll60k_arabic
17
+
18
+ This model is a fine-tuned version of [facebook/hubert-large-ll60k](https://huggingface.co/facebook/hubert-large-ll60k) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 4.0197
21
+ - Wer: 1.0
22
+ - Per: 1.0
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
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Wer | Per |
54
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|
55
+ | 15.0257 | 1.0 | 1637 | 4.0741 | 1.0 | 1.0 |
56
+ | 4.0101 | 2.0 | 3274 | 4.0442 | 1.0 | 1.0 |
57
+ | 3.9446 | 3.0 | 4911 | 4.0444 | 1.0 | 1.0 |
58
+ | 3.9302 | 4.0 | 6548 | 4.0440 | 1.0 | 1.0 |
59
+ | 3.9456 | 5.0 | 8185 | 4.0453 | 1.0 | 1.0 |
60
+ | 4.0388 | 6.0 | 9822 | 4.0415 | 1.0 | 1.0 |
61
+ | 3.9297 | 7.0 | 11459 | 4.0442 | 1.0 | 1.0 |
62
+ | 3.9443 | 8.0 | 13096 | 4.0395 | 1.0 | 1.0 |
63
+ | 3.9362 | 9.0 | 14733 | 4.0647 | 1.0000 | 1.0000 |
64
+ | 3.9785 | 10.0 | 16370 | 4.3751 | 1.0 | 1.0 |
65
+ | 3.9934 | 11.0 | 18007 | 4.0295 | 1.0 | 1.0 |
66
+ | 3.9361 | 12.0 | 19644 | 4.0276 | 1.0 | 1.0 |
67
+ | 3.913 | 13.0 | 21281 | 4.0239 | 1.0 | 1.0 |
68
+ | 3.9023 | 14.0 | 22918 | 4.0227 | 1.0 | 1.0 |
69
+ | 3.8957 | 15.0 | 24555 | 4.0228 | 1.0 | 1.0 |
70
+ | 3.9021 | 16.0 | 26192 | 4.0207 | 1.0 | 1.0 |
71
+ | 3.8897 | 17.0 | 27829 | 4.0213 | 1.0 | 1.0 |
72
+ | 3.8939 | 18.0 | 29466 | 4.0213 | 1.0 | 1.0 |
73
+ | 3.8949 | 19.0 | 31103 | 4.0204 | 1.0 | 1.0 |
74
+ | 3.8987 | 20.0 | 32740 | 4.0197 | 1.0 | 1.0 |
75
+
76
+
77
+ ### Framework versions
78
+
79
+ - Transformers 4.35.2
80
+ - Pytorch 2.1.0+cu118
81
+ - Datasets 2.15.0
82
+ - Tokenizers 0.15.0
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "HubertForCTC",
5
+ "parent_library": "transformers.models.hubert.modeling_hubert"
6
+ },
7
+ "base_model_name_or_path": "facebook/hubert-large-ll60k",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "lora_alpha": 64,
15
+ "lora_dropout": 0.05,
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 32,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "q_proj"
24
+ ],
25
+ "task_type": null
26
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42b0ed5b642b8830efd4d2457451c5e2ea2f6d3f5851385138e66a0ef14e2a11
3
+ size 12596568
preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
+ "feature_size": 1,
5
+ "padding_side": "right",
6
+ "padding_value": 0,
7
+ "return_attention_mask": true,
8
+ "sampling_rate": 16000
9
+ }
runs/Dec05_18-40-22_e5559b29b07f/events.out.tfevents.1701801744.e5559b29b07f.352.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47e393dd4eb293568972da2fa1e5800de90f07f3674e296dd55bc087b6e38efa
3
+ size 16340
trainer_state.json ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 4.375102519989014,
3
+ "best_model_checkpoint": "nrshoudi/hubert-large-ll60k_arabic/checkpoint-16370",
4
+ "epoch": 20.0,
5
+ "eval_steps": 500,
6
+ "global_step": 32740,
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": 4.9816737935247405e-05,
14
+ "loss": 15.0257,
15
+ "step": 1637
16
+ },
17
+ {
18
+ "epoch": 1.0,
19
+ "eval_loss": 4.074129104614258,
20
+ "eval_per": 1.0,
21
+ "eval_runtime": 81.2424,
22
+ "eval_samples_per_second": 10.007,
23
+ "eval_steps_per_second": 5.01,
24
+ "eval_wer": 1.0,
25
+ "step": 1637
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "learning_rate": 9.981673793524741e-05,
30
+ "loss": 4.0101,
31
+ "step": 3274
32
+ },
33
+ {
34
+ "epoch": 2.0,
35
+ "eval_loss": 4.04423189163208,
36
+ "eval_per": 1.0,
37
+ "eval_runtime": 83.0026,
38
+ "eval_samples_per_second": 9.795,
39
+ "eval_steps_per_second": 4.903,
40
+ "eval_wer": 1.0,
41
+ "step": 3274
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "learning_rate": 9.446480689608362e-05,
46
+ "loss": 3.9446,
47
+ "step": 4911
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "eval_loss": 4.0444488525390625,
52
+ "eval_per": 1.0,
53
+ "eval_runtime": 84.4804,
54
+ "eval_samples_per_second": 9.624,
55
+ "eval_steps_per_second": 4.818,
56
+ "eval_wer": 1.0,
57
+ "step": 4911
58
+ },
59
+ {
60
+ "epoch": 4.0,
61
+ "learning_rate": 8.890925134052806e-05,
62
+ "loss": 3.9302,
63
+ "step": 6548
64
+ },
65
+ {
66
+ "epoch": 4.0,
67
+ "eval_loss": 4.044007778167725,
68
+ "eval_per": 1.0,
69
+ "eval_runtime": 86.94,
70
+ "eval_samples_per_second": 9.351,
71
+ "eval_steps_per_second": 4.681,
72
+ "eval_wer": 1.0,
73
+ "step": 6548
74
+ },
75
+ {
76
+ "epoch": 5.0,
77
+ "learning_rate": 8.335369578497252e-05,
78
+ "loss": 3.9456,
79
+ "step": 8185
80
+ },
81
+ {
82
+ "epoch": 5.0,
83
+ "eval_loss": 4.045283317565918,
84
+ "eval_per": 1.0,
85
+ "eval_runtime": 86.4841,
86
+ "eval_samples_per_second": 9.401,
87
+ "eval_steps_per_second": 4.706,
88
+ "eval_wer": 1.0,
89
+ "step": 8185
90
+ },
91
+ {
92
+ "epoch": 6.0,
93
+ "learning_rate": 7.779814022941696e-05,
94
+ "loss": 4.0388,
95
+ "step": 9822
96
+ },
97
+ {
98
+ "epoch": 6.0,
99
+ "eval_loss": 4.041508197784424,
100
+ "eval_per": 1.0,
101
+ "eval_runtime": 88.0752,
102
+ "eval_samples_per_second": 9.231,
103
+ "eval_steps_per_second": 4.621,
104
+ "eval_wer": 1.0,
105
+ "step": 9822
106
+ },
107
+ {
108
+ "epoch": 7.0,
109
+ "learning_rate": 7.224597841580127e-05,
110
+ "loss": 3.9297,
111
+ "step": 11459
112
+ },
113
+ {
114
+ "epoch": 7.0,
115
+ "eval_loss": 4.044224739074707,
116
+ "eval_per": 1.0,
117
+ "eval_runtime": 88.7389,
118
+ "eval_samples_per_second": 9.162,
119
+ "eval_steps_per_second": 4.586,
120
+ "eval_wer": 1.0,
121
+ "step": 11459
122
+ },
123
+ {
124
+ "epoch": 8.0,
125
+ "learning_rate": 6.669042286024571e-05,
126
+ "loss": 3.9443,
127
+ "step": 13096
128
+ },
129
+ {
130
+ "epoch": 8.0,
131
+ "eval_loss": 4.039473533630371,
132
+ "eval_per": 1.0,
133
+ "eval_runtime": 88.5683,
134
+ "eval_samples_per_second": 9.179,
135
+ "eval_steps_per_second": 4.595,
136
+ "eval_wer": 1.0,
137
+ "step": 13096
138
+ },
139
+ {
140
+ "epoch": 9.0,
141
+ "learning_rate": 6.113486730469016e-05,
142
+ "loss": 3.9362,
143
+ "step": 14733
144
+ },
145
+ {
146
+ "epoch": 9.0,
147
+ "eval_loss": 4.064728260040283,
148
+ "eval_per": 0.9999764439837935,
149
+ "eval_runtime": 90.2258,
150
+ "eval_samples_per_second": 9.011,
151
+ "eval_steps_per_second": 4.511,
152
+ "eval_wer": 0.9999533386216228,
153
+ "step": 14733
154
+ },
155
+ {
156
+ "epoch": 10.0,
157
+ "learning_rate": 5.558270549107446e-05,
158
+ "loss": 3.9785,
159
+ "step": 16370
160
+ },
161
+ {
162
+ "epoch": 10.0,
163
+ "eval_loss": 4.375102519989014,
164
+ "eval_per": 1.0,
165
+ "eval_runtime": 89.0532,
166
+ "eval_samples_per_second": 9.129,
167
+ "eval_steps_per_second": 4.57,
168
+ "eval_wer": 1.0,
169
+ "step": 16370
170
+ },
171
+ {
172
+ "epoch": 11.0,
173
+ "learning_rate": 5.003733116133849e-05,
174
+ "loss": 3.9934,
175
+ "step": 18007
176
+ },
177
+ {
178
+ "epoch": 11.0,
179
+ "eval_loss": 4.029526233673096,
180
+ "eval_per": 1.0,
181
+ "eval_runtime": 93.2708,
182
+ "eval_samples_per_second": 8.717,
183
+ "eval_steps_per_second": 4.364,
184
+ "eval_wer": 1.0,
185
+ "step": 18007
186
+ },
187
+ {
188
+ "epoch": 12.0,
189
+ "learning_rate": 4.448177560578294e-05,
190
+ "loss": 3.9361,
191
+ "step": 19644
192
+ },
193
+ {
194
+ "epoch": 12.0,
195
+ "eval_loss": 4.027557373046875,
196
+ "eval_per": 1.0,
197
+ "eval_runtime": 94.3966,
198
+ "eval_samples_per_second": 8.613,
199
+ "eval_steps_per_second": 4.312,
200
+ "eval_wer": 1.0,
201
+ "step": 19644
202
+ },
203
+ {
204
+ "epoch": 13.0,
205
+ "learning_rate": 3.893300753410711e-05,
206
+ "loss": 3.913,
207
+ "step": 21281
208
+ },
209
+ {
210
+ "epoch": 13.0,
211
+ "eval_loss": 4.023890972137451,
212
+ "eval_per": 1.0,
213
+ "eval_runtime": 96.1974,
214
+ "eval_samples_per_second": 8.451,
215
+ "eval_steps_per_second": 4.231,
216
+ "eval_wer": 1.0,
217
+ "step": 21281
218
+ },
219
+ {
220
+ "epoch": 14.0,
221
+ "learning_rate": 3.337745197855155e-05,
222
+ "loss": 3.9023,
223
+ "step": 22918
224
+ },
225
+ {
226
+ "epoch": 14.0,
227
+ "eval_loss": 4.022657871246338,
228
+ "eval_per": 1.0,
229
+ "eval_runtime": 97.2278,
230
+ "eval_samples_per_second": 8.362,
231
+ "eval_steps_per_second": 4.186,
232
+ "eval_wer": 1.0,
233
+ "step": 22918
234
+ },
235
+ {
236
+ "epoch": 15.0,
237
+ "learning_rate": 2.7821896422995997e-05,
238
+ "loss": 3.8957,
239
+ "step": 24555
240
+ },
241
+ {
242
+ "epoch": 15.0,
243
+ "eval_loss": 4.022843360900879,
244
+ "eval_per": 1.0,
245
+ "eval_runtime": 97.5296,
246
+ "eval_samples_per_second": 8.336,
247
+ "eval_steps_per_second": 4.173,
248
+ "eval_wer": 1.0,
249
+ "step": 24555
250
+ },
251
+ {
252
+ "epoch": 16.0,
253
+ "learning_rate": 2.226634086744044e-05,
254
+ "loss": 3.9021,
255
+ "step": 26192
256
+ },
257
+ {
258
+ "epoch": 16.0,
259
+ "eval_loss": 4.02068567276001,
260
+ "eval_per": 1.0,
261
+ "eval_runtime": 96.5808,
262
+ "eval_samples_per_second": 8.418,
263
+ "eval_steps_per_second": 4.214,
264
+ "eval_wer": 1.0,
265
+ "step": 26192
266
+ },
267
+ {
268
+ "epoch": 17.0,
269
+ "learning_rate": 1.6714179053824745e-05,
270
+ "loss": 3.8897,
271
+ "step": 27829
272
+ },
273
+ {
274
+ "epoch": 17.0,
275
+ "eval_loss": 4.02132511138916,
276
+ "eval_per": 1.0,
277
+ "eval_runtime": 97.8428,
278
+ "eval_samples_per_second": 8.309,
279
+ "eval_steps_per_second": 4.16,
280
+ "eval_wer": 1.0,
281
+ "step": 27829
282
+ },
283
+ {
284
+ "epoch": 18.0,
285
+ "learning_rate": 1.1158623498269193e-05,
286
+ "loss": 3.8939,
287
+ "step": 29466
288
+ },
289
+ {
290
+ "epoch": 18.0,
291
+ "eval_loss": 4.0213165283203125,
292
+ "eval_per": 1.0,
293
+ "eval_runtime": 97.7024,
294
+ "eval_samples_per_second": 8.321,
295
+ "eval_steps_per_second": 4.166,
296
+ "eval_wer": 1.0,
297
+ "step": 29466
298
+ },
299
+ {
300
+ "epoch": 19.0,
301
+ "learning_rate": 5.609855426593362e-06,
302
+ "loss": 3.8949,
303
+ "step": 31103
304
+ },
305
+ {
306
+ "epoch": 19.0,
307
+ "eval_loss": 4.020359992980957,
308
+ "eval_per": 1.0,
309
+ "eval_runtime": 96.6299,
310
+ "eval_samples_per_second": 8.414,
311
+ "eval_steps_per_second": 4.212,
312
+ "eval_wer": 1.0,
313
+ "step": 31103
314
+ },
315
+ {
316
+ "epoch": 20.0,
317
+ "learning_rate": 5.429987103780629e-08,
318
+ "loss": 3.8987,
319
+ "step": 32740
320
+ },
321
+ {
322
+ "epoch": 20.0,
323
+ "eval_loss": 4.019679069519043,
324
+ "eval_per": 1.0,
325
+ "eval_runtime": 98.2061,
326
+ "eval_samples_per_second": 8.279,
327
+ "eval_steps_per_second": 4.144,
328
+ "eval_wer": 1.0,
329
+ "step": 32740
330
+ },
331
+ {
332
+ "epoch": 20.0,
333
+ "step": 32740,
334
+ "total_flos": 1.0578414234417158e+19,
335
+ "train_loss": 4.4901714383208615,
336
+ "train_runtime": 11782.1292,
337
+ "train_samples_per_second": 5.556,
338
+ "train_steps_per_second": 2.779
339
+ }
340
+ ],
341
+ "logging_steps": 25,
342
+ "max_steps": 32740,
343
+ "num_train_epochs": 20,
344
+ "save_steps": 500,
345
+ "total_flos": 1.0578414234417158e+19,
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:be727e4381e03890c2d2508718271dd8083c30dad89e8e47d838cc7b867a384f
3
+ size 4600