nrshoudi commited on
Commit
a0ab017
1 Parent(s): 955f216

End of training

Browse files
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/hubert-xlarge-ll60k
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - wer
8
+ model-index:
9
+ - name: hubert-xlarge-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-xlarge-ll60k_arabic
17
+
18
+ This model is a fine-tuned version of [facebook/hubert-xlarge-ll60k](https://huggingface.co/facebook/hubert-xlarge-ll60k) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 2.1133
21
+ - Wer: 0.6646
22
+ - Per: 0.6706
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
+ | 13.7253 | 1.0 | 1637 | 3.3328 | 1.0 | 1.0 |
56
+ | 3.3354 | 2.0 | 3274 | 3.2847 | 1.0 | 1.0 |
57
+ | 3.304 | 3.0 | 4911 | 3.2375 | 1.0 | 1.0 |
58
+ | 3.2655 | 4.0 | 6548 | 3.2143 | 1.0 | 1.0 |
59
+ | 3.2242 | 5.0 | 8185 | 3.1874 | 1.0 | 1.0 |
60
+ | 3.1556 | 6.0 | 9822 | 3.0734 | 1.0 | 1.0 |
61
+ | 3.0485 | 7.0 | 11459 | 2.9548 | 1.0 | 1.0 |
62
+ | 2.935 | 8.0 | 13096 | 2.8378 | 0.9043 | 0.9171 |
63
+ | 2.8158 | 9.0 | 14733 | 2.7023 | 0.8971 | 0.9087 |
64
+ | 2.7185 | 10.0 | 16370 | 2.5982 | 0.8865 | 0.8997 |
65
+ | 2.6406 | 11.0 | 18007 | 2.5032 | 0.8453 | 0.8571 |
66
+ | 2.5721 | 12.0 | 19644 | 2.4385 | 0.8179 | 0.8291 |
67
+ | 2.5136 | 13.0 | 21281 | 2.3810 | 0.7994 | 0.8097 |
68
+ | 2.457 | 14.0 | 22918 | 2.3041 | 0.7792 | 0.7896 |
69
+ | 2.4104 | 15.0 | 24555 | 2.2466 | 0.7588 | 0.7695 |
70
+ | 2.3711 | 16.0 | 26192 | 2.2066 | 0.7321 | 0.7417 |
71
+ | 2.3365 | 17.0 | 27829 | 2.1757 | 0.7002 | 0.7072 |
72
+ | 2.3109 | 18.0 | 29466 | 2.1412 | 0.6771 | 0.6828 |
73
+ | 2.2857 | 19.0 | 31103 | 2.1265 | 0.6722 | 0.6785 |
74
+ | 2.2757 | 20.0 | 32740 | 2.1133 | 0.6646 | 0.6706 |
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-xlarge-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:ad8cff5099262408302115b12e21c674bae17c32070022bb00fb31a4f52650ba
3
+ size 31484792
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_15-35-20_4935f1e421f7/events.out.tfevents.1701790952.4935f1e421f7.1441.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b20e78f7ae315f7ad3e3840e91cadca910324f67097d270a56f7492ed110c43
3
+ size 16344
trainer_state.json ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 3.3327760696411133,
3
+ "best_model_checkpoint": "nrshoudi/hubert-xlarge-ll60k_arabic/checkpoint-1637",
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.987782529016494e-05,
14
+ "loss": 13.7253,
15
+ "step": 1637
16
+ },
17
+ {
18
+ "epoch": 1.0,
19
+ "eval_loss": 3.3327760696411133,
20
+ "eval_per": 1.0,
21
+ "eval_runtime": 121.8139,
22
+ "eval_samples_per_second": 6.674,
23
+ "eval_steps_per_second": 3.341,
24
+ "eval_wer": 1.0,
25
+ "step": 1637
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "learning_rate": 9.987782529016494e-05,
30
+ "loss": 3.3354,
31
+ "step": 3274
32
+ },
33
+ {
34
+ "epoch": 2.0,
35
+ "eval_loss": 3.2846710681915283,
36
+ "eval_per": 1.0,
37
+ "eval_runtime": 123.7338,
38
+ "eval_samples_per_second": 6.571,
39
+ "eval_steps_per_second": 3.289,
40
+ "eval_wer": 1.0,
41
+ "step": 3274
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "learning_rate": 9.44580194122039e-05,
46
+ "loss": 3.304,
47
+ "step": 4911
48
+ },
49
+ {
50
+ "epoch": 3.0,
51
+ "eval_loss": 3.2374837398529053,
52
+ "eval_per": 1.0,
53
+ "eval_runtime": 124.396,
54
+ "eval_samples_per_second": 6.536,
55
+ "eval_steps_per_second": 3.272,
56
+ "eval_wer": 1.0,
57
+ "step": 4911
58
+ },
59
+ {
60
+ "epoch": 4.0,
61
+ "learning_rate": 8.89058575985882e-05,
62
+ "loss": 3.2655,
63
+ "step": 6548
64
+ },
65
+ {
66
+ "epoch": 4.0,
67
+ "eval_loss": 3.2142696380615234,
68
+ "eval_per": 1.0,
69
+ "eval_runtime": 124.9199,
70
+ "eval_samples_per_second": 6.508,
71
+ "eval_steps_per_second": 3.258,
72
+ "eval_wer": 1.0,
73
+ "step": 6548
74
+ },
75
+ {
76
+ "epoch": 5.0,
77
+ "learning_rate": 8.335030204303264e-05,
78
+ "loss": 3.2242,
79
+ "step": 8185
80
+ },
81
+ {
82
+ "epoch": 5.0,
83
+ "eval_loss": 3.1873738765716553,
84
+ "eval_per": 1.0,
85
+ "eval_runtime": 125.5279,
86
+ "eval_samples_per_second": 6.477,
87
+ "eval_steps_per_second": 3.242,
88
+ "eval_wer": 1.0,
89
+ "step": 8185
90
+ },
91
+ {
92
+ "epoch": 6.0,
93
+ "learning_rate": 7.779814022941696e-05,
94
+ "loss": 3.1556,
95
+ "step": 9822
96
+ },
97
+ {
98
+ "epoch": 6.0,
99
+ "eval_loss": 3.0734314918518066,
100
+ "eval_per": 1.0,
101
+ "eval_runtime": 126.5196,
102
+ "eval_samples_per_second": 6.426,
103
+ "eval_steps_per_second": 3.217,
104
+ "eval_wer": 1.0,
105
+ "step": 9822
106
+ },
107
+ {
108
+ "epoch": 7.0,
109
+ "learning_rate": 7.22425846738614e-05,
110
+ "loss": 3.0485,
111
+ "step": 11459
112
+ },
113
+ {
114
+ "epoch": 7.0,
115
+ "eval_loss": 2.9547784328460693,
116
+ "eval_per": 1.0,
117
+ "eval_runtime": 127.0062,
118
+ "eval_samples_per_second": 6.401,
119
+ "eval_steps_per_second": 3.205,
120
+ "eval_wer": 1.0,
121
+ "step": 11459
122
+ },
123
+ {
124
+ "epoch": 8.0,
125
+ "learning_rate": 6.668702911830585e-05,
126
+ "loss": 2.935,
127
+ "step": 13096
128
+ },
129
+ {
130
+ "epoch": 8.0,
131
+ "eval_loss": 2.83778977394104,
132
+ "eval_per": 0.9171063789691888,
133
+ "eval_runtime": 127.5426,
134
+ "eval_samples_per_second": 6.374,
135
+ "eval_steps_per_second": 3.191,
136
+ "eval_wer": 0.9043441743269096,
137
+ "step": 13096
138
+ },
139
+ {
140
+ "epoch": 9.0,
141
+ "learning_rate": 6.113826104663001e-05,
142
+ "loss": 2.8158,
143
+ "step": 14733
144
+ },
145
+ {
146
+ "epoch": 9.0,
147
+ "eval_loss": 2.702333450317383,
148
+ "eval_per": 0.9086733251672477,
149
+ "eval_runtime": 127.7194,
150
+ "eval_samples_per_second": 6.366,
151
+ "eval_steps_per_second": 3.187,
152
+ "eval_wer": 0.8971116606784565,
153
+ "step": 14733
154
+ },
155
+ {
156
+ "epoch": 10.0,
157
+ "learning_rate": 5.558270549107446e-05,
158
+ "loss": 2.7185,
159
+ "step": 16370
160
+ },
161
+ {
162
+ "epoch": 10.0,
163
+ "eval_loss": 2.598202705383301,
164
+ "eval_per": 0.8996749269763498,
165
+ "eval_runtime": 127.815,
166
+ "eval_samples_per_second": 6.361,
167
+ "eval_steps_per_second": 3.184,
168
+ "eval_wer": 0.8864728664084737,
169
+ "step": 16370
170
+ },
171
+ {
172
+ "epoch": 11.0,
173
+ "learning_rate": 5.00271499355189e-05,
174
+ "loss": 2.6406,
175
+ "step": 18007
176
+ },
177
+ {
178
+ "epoch": 11.0,
179
+ "eval_loss": 2.5032498836517334,
180
+ "eval_per": 0.857085649674927,
181
+ "eval_runtime": 128.216,
182
+ "eval_samples_per_second": 6.341,
183
+ "eval_steps_per_second": 3.174,
184
+ "eval_wer": 0.8452708693014792,
185
+ "step": 18007
186
+ },
187
+ {
188
+ "epoch": 12.0,
189
+ "learning_rate": 4.4478381863843074e-05,
190
+ "loss": 2.5721,
191
+ "step": 19644
192
+ },
193
+ {
194
+ "epoch": 12.0,
195
+ "eval_loss": 2.4384822845458984,
196
+ "eval_per": 0.8291011024215584,
197
+ "eval_runtime": 128.477,
198
+ "eval_samples_per_second": 6.328,
199
+ "eval_steps_per_second": 3.168,
200
+ "eval_wer": 0.8179273015724885,
201
+ "step": 19644
202
+ },
203
+ {
204
+ "epoch": 13.0,
205
+ "learning_rate": 3.892622005022738e-05,
206
+ "loss": 2.5136,
207
+ "step": 21281
208
+ },
209
+ {
210
+ "epoch": 13.0,
211
+ "eval_loss": 2.381009578704834,
212
+ "eval_per": 0.8097145010835768,
213
+ "eval_runtime": 128.3969,
214
+ "eval_samples_per_second": 6.332,
215
+ "eval_steps_per_second": 3.17,
216
+ "eval_wer": 0.7993560729783957,
217
+ "step": 21281
218
+ },
219
+ {
220
+ "epoch": 14.0,
221
+ "learning_rate": 3.337405823661169e-05,
222
+ "loss": 2.457,
223
+ "step": 22918
224
+ },
225
+ {
226
+ "epoch": 14.0,
227
+ "eval_loss": 2.304086208343506,
228
+ "eval_per": 0.7896212192593989,
229
+ "eval_runtime": 128.5082,
230
+ "eval_samples_per_second": 6.326,
231
+ "eval_steps_per_second": 3.167,
232
+ "eval_wer": 0.779151696141104,
233
+ "step": 22918
234
+ },
235
+ {
236
+ "epoch": 15.0,
237
+ "learning_rate": 2.7818502681056137e-05,
238
+ "loss": 2.4104,
239
+ "step": 24555
240
+ },
241
+ {
242
+ "epoch": 15.0,
243
+ "eval_loss": 2.246638536453247,
244
+ "eval_per": 0.7694808254028078,
245
+ "eval_runtime": 128.3201,
246
+ "eval_samples_per_second": 6.336,
247
+ "eval_steps_per_second": 3.172,
248
+ "eval_wer": 0.7587606737903038,
249
+ "step": 24555
250
+ },
251
+ {
252
+ "epoch": 16.0,
253
+ "learning_rate": 2.2262947125500577e-05,
254
+ "loss": 2.3711,
255
+ "step": 26192
256
+ },
257
+ {
258
+ "epoch": 16.0,
259
+ "eval_loss": 2.2065765857696533,
260
+ "eval_per": 0.7417318383115048,
261
+ "eval_runtime": 128.1923,
262
+ "eval_samples_per_second": 6.342,
263
+ "eval_steps_per_second": 3.175,
264
+ "eval_wer": 0.7321170267369698,
265
+ "step": 26192
266
+ },
267
+ {
268
+ "epoch": 17.0,
269
+ "learning_rate": 1.6714179053824745e-05,
270
+ "loss": 2.3365,
271
+ "step": 27829
272
+ },
273
+ {
274
+ "epoch": 17.0,
275
+ "eval_loss": 2.1757304668426514,
276
+ "eval_per": 0.7071987185527183,
277
+ "eval_runtime": 128.7988,
278
+ "eval_samples_per_second": 6.312,
279
+ "eval_steps_per_second": 3.16,
280
+ "eval_wer": 0.7002006439270216,
281
+ "step": 27829
282
+ },
283
+ {
284
+ "epoch": 18.0,
285
+ "learning_rate": 1.1158623498269193e-05,
286
+ "loss": 2.3109,
287
+ "step": 29466
288
+ },
289
+ {
290
+ "epoch": 18.0,
291
+ "eval_loss": 2.141193389892578,
292
+ "eval_per": 0.6828182417789503,
293
+ "eval_runtime": 128.9306,
294
+ "eval_samples_per_second": 6.306,
295
+ "eval_steps_per_second": 3.157,
296
+ "eval_wer": 0.6771499230087257,
297
+ "step": 29466
298
+ },
299
+ {
300
+ "epoch": 19.0,
301
+ "learning_rate": 5.603067942713636e-06,
302
+ "loss": 2.2857,
303
+ "step": 31103
304
+ },
305
+ {
306
+ "epoch": 19.0,
307
+ "eval_loss": 2.1265432834625244,
308
+ "eval_per": 0.6784603787807406,
309
+ "eval_runtime": 129.2068,
310
+ "eval_samples_per_second": 6.292,
311
+ "eval_steps_per_second": 3.15,
312
+ "eval_wer": 0.6722038169007513,
313
+ "step": 31103
314
+ },
315
+ {
316
+ "epoch": 20.0,
317
+ "learning_rate": 5.090612909794339e-08,
318
+ "loss": 2.2757,
319
+ "step": 32740
320
+ },
321
+ {
322
+ "epoch": 20.0,
323
+ "eval_loss": 2.113328695297241,
324
+ "eval_per": 0.670616225383963,
325
+ "eval_runtime": 128.9922,
326
+ "eval_samples_per_second": 6.303,
327
+ "eval_steps_per_second": 3.155,
328
+ "eval_wer": 0.6645980122252811,
329
+ "step": 32740
330
+ },
331
+ {
332
+ "epoch": 20.0,
333
+ "step": 32740,
334
+ "total_flos": 3.2217850292594e+19,
335
+ "train_loss": 3.285075871508953,
336
+ "train_runtime": 18041.7674,
337
+ "train_samples_per_second": 3.628,
338
+ "train_steps_per_second": 1.815
339
+ }
340
+ ],
341
+ "logging_steps": 25,
342
+ "max_steps": 32740,
343
+ "num_train_epochs": 20,
344
+ "save_steps": 500,
345
+ "total_flos": 3.2217850292594e+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:8f8d1353f03fe2c4817abe18f3289723ee673a2ebf6f0da0b6a5c90bad642173
3
+ size 4600