YazanSalameh commited on
Commit
cf0f53d
1 Parent(s): 384c12d

Upload 9 files

Browse files
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/drive/MyDrive/whisper-base-ar-checkpoints/cv_mgb2_jordan/checkpoint-5269",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
+ "architectures": [
7
+ "WhisperForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "begin_suppress_tokens": [
11
+ 220,
12
+ 50257
13
+ ],
14
+ "bos_token_id": 50257,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 512,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_start_token_id": 50258,
22
+ "dropout": false,
23
+ "encoder_attention_heads": 8,
24
+ "encoder_ffn_dim": 2048,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 6,
27
+ "eos_token_id": 50257,
28
+ "forced_decoder_ids": null,
29
+ "init_std": 0.02,
30
+ "is_encoder_decoder": true,
31
+ "mask_feature_length": 10,
32
+ "mask_feature_min_masks": 0,
33
+ "mask_feature_prob": 0.0,
34
+ "mask_time_length": 10,
35
+ "mask_time_min_masks": 2,
36
+ "mask_time_prob": 0.05,
37
+ "max_length": 448,
38
+ "max_source_positions": 1500,
39
+ "max_target_positions": 448,
40
+ "median_filter_width": 7,
41
+ "model_type": "whisper",
42
+ "num_hidden_layers": 6,
43
+ "num_mel_bins": 80,
44
+ "pad_token_id": 50257,
45
+ "scale_embedding": false,
46
+ "suppress_tokens": [],
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.37.0.dev0",
49
+ "use_cache": false,
50
+ "use_weighted_layer_sum": false,
51
+ "vocab_size": 51865
52
+ }
generation_config.json ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 3,
5
+ 1
6
+ ],
7
+ [
8
+ 4,
9
+ 2
10
+ ],
11
+ [
12
+ 4,
13
+ 3
14
+ ],
15
+ [
16
+ 4,
17
+ 7
18
+ ],
19
+ [
20
+ 5,
21
+ 1
22
+ ],
23
+ [
24
+ 5,
25
+ 2
26
+ ],
27
+ [
28
+ 5,
29
+ 4
30
+ ],
31
+ [
32
+ 5,
33
+ 6
34
+ ]
35
+ ],
36
+ "begin_suppress_tokens": [
37
+ 220,
38
+ 50257
39
+ ],
40
+ "bos_token_id": 50257,
41
+ "decoder_start_token_id": 50258,
42
+ "eos_token_id": 50257,
43
+ "forced_decoder_ids": [
44
+ [
45
+ 1,
46
+ null
47
+ ],
48
+ [
49
+ 2,
50
+ 50359
51
+ ]
52
+ ],
53
+ "is_multilingual": true,
54
+ "lang_to_id": {
55
+ "<|af|>": 50327,
56
+ "<|am|>": 50334,
57
+ "<|ar|>": 50272,
58
+ "<|as|>": 50350,
59
+ "<|az|>": 50304,
60
+ "<|ba|>": 50355,
61
+ "<|be|>": 50330,
62
+ "<|bg|>": 50292,
63
+ "<|bn|>": 50302,
64
+ "<|bo|>": 50347,
65
+ "<|br|>": 50309,
66
+ "<|bs|>": 50315,
67
+ "<|ca|>": 50270,
68
+ "<|cs|>": 50283,
69
+ "<|cy|>": 50297,
70
+ "<|da|>": 50285,
71
+ "<|de|>": 50261,
72
+ "<|el|>": 50281,
73
+ "<|en|>": 50259,
74
+ "<|es|>": 50262,
75
+ "<|et|>": 50307,
76
+ "<|eu|>": 50310,
77
+ "<|fa|>": 50300,
78
+ "<|fi|>": 50277,
79
+ "<|fo|>": 50338,
80
+ "<|fr|>": 50265,
81
+ "<|gl|>": 50319,
82
+ "<|gu|>": 50333,
83
+ "<|haw|>": 50352,
84
+ "<|ha|>": 50354,
85
+ "<|he|>": 50279,
86
+ "<|hi|>": 50276,
87
+ "<|hr|>": 50291,
88
+ "<|ht|>": 50339,
89
+ "<|hu|>": 50286,
90
+ "<|hy|>": 50312,
91
+ "<|id|>": 50275,
92
+ "<|is|>": 50311,
93
+ "<|it|>": 50274,
94
+ "<|ja|>": 50266,
95
+ "<|jw|>": 50356,
96
+ "<|ka|>": 50329,
97
+ "<|kk|>": 50316,
98
+ "<|km|>": 50323,
99
+ "<|kn|>": 50306,
100
+ "<|ko|>": 50264,
101
+ "<|la|>": 50294,
102
+ "<|lb|>": 50345,
103
+ "<|ln|>": 50353,
104
+ "<|lo|>": 50336,
105
+ "<|lt|>": 50293,
106
+ "<|lv|>": 50301,
107
+ "<|mg|>": 50349,
108
+ "<|mi|>": 50295,
109
+ "<|mk|>": 50308,
110
+ "<|ml|>": 50296,
111
+ "<|mn|>": 50314,
112
+ "<|mr|>": 50320,
113
+ "<|ms|>": 50282,
114
+ "<|mt|>": 50343,
115
+ "<|my|>": 50346,
116
+ "<|ne|>": 50313,
117
+ "<|nl|>": 50271,
118
+ "<|nn|>": 50342,
119
+ "<|no|>": 50288,
120
+ "<|oc|>": 50328,
121
+ "<|pa|>": 50321,
122
+ "<|pl|>": 50269,
123
+ "<|ps|>": 50340,
124
+ "<|pt|>": 50267,
125
+ "<|ro|>": 50284,
126
+ "<|ru|>": 50263,
127
+ "<|sa|>": 50344,
128
+ "<|sd|>": 50332,
129
+ "<|si|>": 50322,
130
+ "<|sk|>": 50298,
131
+ "<|sl|>": 50305,
132
+ "<|sn|>": 50324,
133
+ "<|so|>": 50326,
134
+ "<|sq|>": 50317,
135
+ "<|sr|>": 50303,
136
+ "<|su|>": 50357,
137
+ "<|sv|>": 50273,
138
+ "<|sw|>": 50318,
139
+ "<|ta|>": 50287,
140
+ "<|te|>": 50299,
141
+ "<|tg|>": 50331,
142
+ "<|th|>": 50289,
143
+ "<|tk|>": 50341,
144
+ "<|tl|>": 50348,
145
+ "<|tr|>": 50268,
146
+ "<|tt|>": 50351,
147
+ "<|uk|>": 50280,
148
+ "<|ur|>": 50290,
149
+ "<|uz|>": 50337,
150
+ "<|vi|>": 50278,
151
+ "<|yi|>": 50335,
152
+ "<|yo|>": 50325,
153
+ "<|zh|>": 50260
154
+ },
155
+ "max_initial_timestamp_index": 1,
156
+ "max_length": 448,
157
+ "no_timestamps_token_id": 50363,
158
+ "pad_token_id": 50257,
159
+ "return_timestamps": false,
160
+ "suppress_tokens": [
161
+ 1,
162
+ 2,
163
+ 7,
164
+ 8,
165
+ 9,
166
+ 10,
167
+ 14,
168
+ 25,
169
+ 26,
170
+ 27,
171
+ 28,
172
+ 29,
173
+ 31,
174
+ 58,
175
+ 59,
176
+ 60,
177
+ 61,
178
+ 62,
179
+ 63,
180
+ 90,
181
+ 91,
182
+ 92,
183
+ 93,
184
+ 359,
185
+ 503,
186
+ 522,
187
+ 542,
188
+ 873,
189
+ 893,
190
+ 902,
191
+ 918,
192
+ 922,
193
+ 931,
194
+ 1350,
195
+ 1853,
196
+ 1982,
197
+ 2460,
198
+ 2627,
199
+ 3246,
200
+ 3253,
201
+ 3268,
202
+ 3536,
203
+ 3846,
204
+ 3961,
205
+ 4183,
206
+ 4667,
207
+ 6585,
208
+ 6647,
209
+ 7273,
210
+ 9061,
211
+ 9383,
212
+ 10428,
213
+ 10929,
214
+ 11938,
215
+ 12033,
216
+ 12331,
217
+ 12562,
218
+ 13793,
219
+ 14157,
220
+ 14635,
221
+ 15265,
222
+ 15618,
223
+ 16553,
224
+ 16604,
225
+ 18362,
226
+ 18956,
227
+ 20075,
228
+ 21675,
229
+ 22520,
230
+ 26130,
231
+ 26161,
232
+ 26435,
233
+ 28279,
234
+ 29464,
235
+ 31650,
236
+ 32302,
237
+ 32470,
238
+ 36865,
239
+ 42863,
240
+ 47425,
241
+ 49870,
242
+ 50254,
243
+ 50258,
244
+ 50358,
245
+ 50359,
246
+ 50360,
247
+ 50361,
248
+ 50362
249
+ ],
250
+ "task_to_id": {
251
+ "transcribe": 50359,
252
+ "translate": 50358
253
+ },
254
+ "transformers_version": "4.37.0.dev0"
255
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75c3d53008a8cdf6f3fef157afa7bf24a17501164cb3d2bf052035bb1d6cc9e3
3
+ size 290403936
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df130834de043cd99ed018358c5e926239ee6384678224bcf0d4f61557eb4a7f
3
+ size 574811514
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
+ }
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:876825bfce363ae405efd0098241194a190cc6a57bc2007ad0494c54aa8a0ea8
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:104ff51067ce21bd77521ad9075681bc29fa518874769dc154b5768841a77c77
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 34.70818725510414,
3
+ "best_model_checkpoint": "/content/drive/MyDrive/whisper-base-ar-checkpoints/cv_mgb2_jordan/checkpoint-7185",
4
+ "epoch": 5.0034818941504176,
5
+ "eval_steps": 479,
6
+ "global_step": 7185,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.33,
13
+ "learning_rate": 9.52e-06,
14
+ "loss": 0.962,
15
+ "step": 479
16
+ },
17
+ {
18
+ "epoch": 0.33,
19
+ "eval_loss": 0.627626359462738,
20
+ "eval_runtime": 220.8323,
21
+ "eval_samples_per_second": 2.78,
22
+ "eval_steps_per_second": 0.177,
23
+ "eval_wer": 51.04145184574139,
24
+ "step": 479
25
+ },
26
+ {
27
+ "epoch": 0.67,
28
+ "learning_rate": 9.929457364341086e-06,
29
+ "loss": 0.5382,
30
+ "step": 958
31
+ },
32
+ {
33
+ "epoch": 0.67,
34
+ "eval_loss": 0.5376182794570923,
35
+ "eval_runtime": 213.4078,
36
+ "eval_samples_per_second": 2.877,
37
+ "eval_steps_per_second": 0.183,
38
+ "eval_wer": 48.42235512476799,
39
+ "step": 958
40
+ },
41
+ {
42
+ "epoch": 1.0,
43
+ "learning_rate": 9.855193798449613e-06,
44
+ "loss": 0.4603,
45
+ "step": 1437
46
+ },
47
+ {
48
+ "epoch": 1.0,
49
+ "eval_loss": 0.4931182265281677,
50
+ "eval_runtime": 215.5119,
51
+ "eval_samples_per_second": 2.849,
52
+ "eval_steps_per_second": 0.181,
53
+ "eval_wer": 45.88574963910085,
54
+ "step": 1437
55
+ },
56
+ {
57
+ "epoch": 1.33,
58
+ "learning_rate": 9.78093023255814e-06,
59
+ "loss": 0.366,
60
+ "step": 1916
61
+ },
62
+ {
63
+ "epoch": 1.33,
64
+ "eval_loss": 0.4760296046733856,
65
+ "eval_runtime": 220.1923,
66
+ "eval_samples_per_second": 2.788,
67
+ "eval_steps_per_second": 0.177,
68
+ "eval_wer": 40.29696844710249,
69
+ "step": 1916
70
+ },
71
+ {
72
+ "epoch": 1.67,
73
+ "learning_rate": 9.706666666666668e-06,
74
+ "loss": 0.3476,
75
+ "step": 2395
76
+ },
77
+ {
78
+ "epoch": 1.67,
79
+ "eval_loss": 0.45706605911254883,
80
+ "eval_runtime": 221.8166,
81
+ "eval_samples_per_second": 2.768,
82
+ "eval_steps_per_second": 0.176,
83
+ "eval_wer": 42.13239843266653,
84
+ "step": 2395
85
+ },
86
+ {
87
+ "epoch": 2.0,
88
+ "learning_rate": 9.632713178294575e-06,
89
+ "loss": 0.2867,
90
+ "step": 2874
91
+ },
92
+ {
93
+ "epoch": 2.0,
94
+ "eval_loss": 0.44930991530418396,
95
+ "eval_runtime": 216.0554,
96
+ "eval_samples_per_second": 2.842,
97
+ "eval_steps_per_second": 0.181,
98
+ "eval_wer": 36.99731903485255,
99
+ "step": 2874
100
+ },
101
+ {
102
+ "epoch": 2.33,
103
+ "learning_rate": 9.558449612403102e-06,
104
+ "loss": 0.2543,
105
+ "step": 3353
106
+ },
107
+ {
108
+ "epoch": 2.33,
109
+ "eval_loss": 0.44086378812789917,
110
+ "eval_runtime": 216.5946,
111
+ "eval_samples_per_second": 2.835,
112
+ "eval_steps_per_second": 0.18,
113
+ "eval_wer": 37.49226644669004,
114
+ "step": 3353
115
+ },
116
+ {
117
+ "epoch": 2.67,
118
+ "learning_rate": 9.48418604651163e-06,
119
+ "loss": 0.2582,
120
+ "step": 3832
121
+ },
122
+ {
123
+ "epoch": 2.67,
124
+ "eval_loss": 0.4267967939376831,
125
+ "eval_runtime": 222.7442,
126
+ "eval_samples_per_second": 2.757,
127
+ "eval_steps_per_second": 0.175,
128
+ "eval_wer": 37.14167869663848,
129
+ "step": 3832
130
+ },
131
+ {
132
+ "epoch": 3.0,
133
+ "learning_rate": 9.409922480620157e-06,
134
+ "loss": 0.2494,
135
+ "step": 4311
136
+ },
137
+ {
138
+ "epoch": 3.0,
139
+ "eval_loss": 0.4219926595687866,
140
+ "eval_runtime": 220.256,
141
+ "eval_samples_per_second": 2.788,
142
+ "eval_steps_per_second": 0.177,
143
+ "eval_wer": 43.55537224169932,
144
+ "step": 4311
145
+ },
146
+ {
147
+ "epoch": 3.34,
148
+ "learning_rate": 9.335658914728682e-06,
149
+ "loss": 0.1808,
150
+ "step": 4790
151
+ },
152
+ {
153
+ "epoch": 3.34,
154
+ "eval_loss": 0.44054868817329407,
155
+ "eval_runtime": 233.9602,
156
+ "eval_samples_per_second": 2.624,
157
+ "eval_steps_per_second": 0.167,
158
+ "eval_wer": 36.46112600536193,
159
+ "step": 4790
160
+ },
161
+ {
162
+ "epoch": 3.67,
163
+ "learning_rate": 9.26139534883721e-06,
164
+ "loss": 0.1856,
165
+ "step": 5269
166
+ },
167
+ {
168
+ "epoch": 3.67,
169
+ "eval_loss": 0.43032869696617126,
170
+ "eval_runtime": 223.492,
171
+ "eval_samples_per_second": 2.747,
172
+ "eval_steps_per_second": 0.175,
173
+ "eval_wer": 34.74943287275727,
174
+ "step": 5269
175
+ },
176
+ {
177
+ "epoch": 4.0,
178
+ "learning_rate": 9.187441860465118e-06,
179
+ "loss": 0.1435,
180
+ "step": 5748
181
+ },
182
+ {
183
+ "epoch": 4.0,
184
+ "eval_loss": 0.44085535407066345,
185
+ "eval_runtime": 217.814,
186
+ "eval_samples_per_second": 2.819,
187
+ "eval_steps_per_second": 0.179,
188
+ "eval_wer": 40.23510002062281,
189
+ "step": 5748
190
+ },
191
+ {
192
+ "epoch": 4.34,
193
+ "learning_rate": 9.113178294573645e-06,
194
+ "loss": 0.1317,
195
+ "step": 6227
196
+ },
197
+ {
198
+ "epoch": 4.34,
199
+ "eval_loss": 0.44377487897872925,
200
+ "eval_runtime": 209.4289,
201
+ "eval_samples_per_second": 2.932,
202
+ "eval_steps_per_second": 0.186,
203
+ "eval_wer": 39.67828418230563,
204
+ "step": 6227
205
+ },
206
+ {
207
+ "epoch": 4.67,
208
+ "learning_rate": 9.03891472868217e-06,
209
+ "loss": 0.1363,
210
+ "step": 6706
211
+ },
212
+ {
213
+ "epoch": 4.67,
214
+ "eval_loss": 0.43044084310531616,
215
+ "eval_runtime": 212.8255,
216
+ "eval_samples_per_second": 2.885,
217
+ "eval_steps_per_second": 0.183,
218
+ "eval_wer": 36.21365229944318,
219
+ "step": 6706
220
+ },
221
+ {
222
+ "epoch": 5.0,
223
+ "learning_rate": 8.964806201550388e-06,
224
+ "loss": 0.1345,
225
+ "step": 7185
226
+ },
227
+ {
228
+ "epoch": 5.0,
229
+ "eval_loss": 0.44074973464012146,
230
+ "eval_runtime": 204.5774,
231
+ "eval_samples_per_second": 3.001,
232
+ "eval_steps_per_second": 0.191,
233
+ "eval_wer": 34.70818725510414,
234
+ "step": 7185
235
+ }
236
+ ],
237
+ "logging_steps": 479,
238
+ "max_steps": 65000,
239
+ "num_input_tokens_seen": 0,
240
+ "num_train_epochs": 46,
241
+ "save_steps": 479,
242
+ "total_flos": 1.4906448617472e+19,
243
+ "train_batch_size": 32,
244
+ "trial_name": null,
245
+ "trial_params": null
246
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b81b5a274ae261c2db3c071a2e19efed064463ba4c7af49be24ecad9cfef432
3
+ size 4920