mohammed commited on
Commit
7f1c808
1 Parent(s): 5c69483

End of training

Browse files
Files changed (2) hide show
  1. README.md +83 -0
  2. generation_config.json +252 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ license: apache-2.0
5
+ base_model: openai/whisper-large
6
+ tags:
7
+ - whisper-event
8
+ - generated_from_trainer
9
+ datasets:
10
+ - mozilla-foundation/common_voice_11_0
11
+ metrics:
12
+ - wer
13
+ model-index:
14
+ - name: Whisper Small ar - Mohammed Bakheet
15
+ results:
16
+ - task:
17
+ name: Automatic Speech Recognition
18
+ type: automatic-speech-recognition
19
+ dataset:
20
+ name: Common Voice 11.0
21
+ type: mozilla-foundation/common_voice_11_0
22
+ config: ar
23
+ split: test
24
+ args: ar
25
+ metrics:
26
+ - name: Wer
27
+ type: wer
28
+ value: 12.614980289093298
29
+ ---
30
+
31
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
32
+ should probably proofread and complete it, then remove this comment. -->
33
+
34
+ # Whisper Small ar - Mohammed Bakheet
35
+
36
+ This model is a fine-tuned version of [openai/whisper-large](https://huggingface.co/openai/whisper-large) on the Common Voice 11.0 dataset.
37
+ It achieves the following results on the evaluation set:
38
+ - Loss: 0.1921
39
+ - Wer: 12.6150
40
+
41
+ ## Model description
42
+
43
+ More information needed
44
+
45
+ ## Intended uses & limitations
46
+
47
+ More information needed
48
+
49
+ ## Training and evaluation data
50
+
51
+ More information needed
52
+
53
+ ## Training procedure
54
+
55
+ ### Training hyperparameters
56
+
57
+ The following hyperparameters were used during training:
58
+ - learning_rate: 1e-05
59
+ - train_batch_size: 4
60
+ - eval_batch_size: 4
61
+ - seed: 42
62
+ - gradient_accumulation_steps: 16
63
+ - total_train_batch_size: 64
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - lr_scheduler_warmup_steps: 500
67
+ - training_steps: 2000
68
+ - mixed_precision_training: Native AMP
69
+
70
+ ### Training results
71
+
72
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
73
+ |:-------------:|:------:|:----:|:---------------:|:-------:|
74
+ | 0.1952 | 1.6630 | 1000 | 0.1843 | 14.0098 |
75
+ | 0.0339 | 3.3261 | 2000 | 0.1921 | 12.6150 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.43.3
81
+ - Pytorch 2.2.0
82
+ - Datasets 2.20.0
83
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 9,
5
+ 19
6
+ ],
7
+ [
8
+ 11,
9
+ 2
10
+ ],
11
+ [
12
+ 11,
13
+ 4
14
+ ],
15
+ [
16
+ 11,
17
+ 17
18
+ ],
19
+ [
20
+ 22,
21
+ 7
22
+ ],
23
+ [
24
+ 22,
25
+ 11
26
+ ],
27
+ [
28
+ 22,
29
+ 17
30
+ ],
31
+ [
32
+ 23,
33
+ 2
34
+ ],
35
+ [
36
+ 23,
37
+ 15
38
+ ]
39
+ ],
40
+ "begin_suppress_tokens": [
41
+ 220,
42
+ 50257
43
+ ],
44
+ "bos_token_id": 50257,
45
+ "decoder_start_token_id": 50258,
46
+ "eos_token_id": 50257,
47
+ "is_multilingual": true,
48
+ "lang_to_id": {
49
+ "<|af|>": 50327,
50
+ "<|am|>": 50334,
51
+ "<|ar|>": 50272,
52
+ "<|as|>": 50350,
53
+ "<|az|>": 50304,
54
+ "<|ba|>": 50355,
55
+ "<|be|>": 50330,
56
+ "<|bg|>": 50292,
57
+ "<|bn|>": 50302,
58
+ "<|bo|>": 50347,
59
+ "<|br|>": 50309,
60
+ "<|bs|>": 50315,
61
+ "<|ca|>": 50270,
62
+ "<|cs|>": 50283,
63
+ "<|cy|>": 50297,
64
+ "<|da|>": 50285,
65
+ "<|de|>": 50261,
66
+ "<|el|>": 50281,
67
+ "<|en|>": 50259,
68
+ "<|es|>": 50262,
69
+ "<|et|>": 50307,
70
+ "<|eu|>": 50310,
71
+ "<|fa|>": 50300,
72
+ "<|fi|>": 50277,
73
+ "<|fo|>": 50338,
74
+ "<|fr|>": 50265,
75
+ "<|gl|>": 50319,
76
+ "<|gu|>": 50333,
77
+ "<|haw|>": 50352,
78
+ "<|ha|>": 50354,
79
+ "<|he|>": 50279,
80
+ "<|hi|>": 50276,
81
+ "<|hr|>": 50291,
82
+ "<|ht|>": 50339,
83
+ "<|hu|>": 50286,
84
+ "<|hy|>": 50312,
85
+ "<|id|>": 50275,
86
+ "<|is|>": 50311,
87
+ "<|it|>": 50274,
88
+ "<|ja|>": 50266,
89
+ "<|jw|>": 50356,
90
+ "<|ka|>": 50329,
91
+ "<|kk|>": 50316,
92
+ "<|km|>": 50323,
93
+ "<|kn|>": 50306,
94
+ "<|ko|>": 50264,
95
+ "<|la|>": 50294,
96
+ "<|lb|>": 50345,
97
+ "<|ln|>": 50353,
98
+ "<|lo|>": 50336,
99
+ "<|lt|>": 50293,
100
+ "<|lv|>": 50301,
101
+ "<|mg|>": 50349,
102
+ "<|mi|>": 50295,
103
+ "<|mk|>": 50308,
104
+ "<|ml|>": 50296,
105
+ "<|mn|>": 50314,
106
+ "<|mr|>": 50320,
107
+ "<|ms|>": 50282,
108
+ "<|mt|>": 50343,
109
+ "<|my|>": 50346,
110
+ "<|ne|>": 50313,
111
+ "<|nl|>": 50271,
112
+ "<|nn|>": 50342,
113
+ "<|no|>": 50288,
114
+ "<|oc|>": 50328,
115
+ "<|pa|>": 50321,
116
+ "<|pl|>": 50269,
117
+ "<|ps|>": 50340,
118
+ "<|pt|>": 50267,
119
+ "<|ro|>": 50284,
120
+ "<|ru|>": 50263,
121
+ "<|sa|>": 50344,
122
+ "<|sd|>": 50332,
123
+ "<|si|>": 50322,
124
+ "<|sk|>": 50298,
125
+ "<|sl|>": 50305,
126
+ "<|sn|>": 50324,
127
+ "<|so|>": 50326,
128
+ "<|sq|>": 50317,
129
+ "<|sr|>": 50303,
130
+ "<|su|>": 50357,
131
+ "<|sv|>": 50273,
132
+ "<|sw|>": 50318,
133
+ "<|ta|>": 50287,
134
+ "<|te|>": 50299,
135
+ "<|tg|>": 50331,
136
+ "<|th|>": 50289,
137
+ "<|tk|>": 50341,
138
+ "<|tl|>": 50348,
139
+ "<|tr|>": 50268,
140
+ "<|tt|>": 50351,
141
+ "<|uk|>": 50280,
142
+ "<|ur|>": 50290,
143
+ "<|uz|>": 50337,
144
+ "<|vi|>": 50278,
145
+ "<|yi|>": 50335,
146
+ "<|yo|>": 50325,
147
+ "<|zh|>": 50260
148
+ },
149
+ "language": "arabic",
150
+ "max_initial_timestamp_index": 50,
151
+ "max_length": 448,
152
+ "no_timestamps_token_id": 50363,
153
+ "pad_token_id": 50257,
154
+ "prev_sot_token_id": 50361,
155
+ "return_timestamps": false,
156
+ "suppress_tokens": [
157
+ 1,
158
+ 2,
159
+ 7,
160
+ 8,
161
+ 9,
162
+ 10,
163
+ 14,
164
+ 25,
165
+ 26,
166
+ 27,
167
+ 28,
168
+ 29,
169
+ 31,
170
+ 58,
171
+ 59,
172
+ 60,
173
+ 61,
174
+ 62,
175
+ 63,
176
+ 90,
177
+ 91,
178
+ 92,
179
+ 93,
180
+ 359,
181
+ 503,
182
+ 522,
183
+ 542,
184
+ 873,
185
+ 893,
186
+ 902,
187
+ 918,
188
+ 922,
189
+ 931,
190
+ 1350,
191
+ 1853,
192
+ 1982,
193
+ 2460,
194
+ 2627,
195
+ 3246,
196
+ 3253,
197
+ 3268,
198
+ 3536,
199
+ 3846,
200
+ 3961,
201
+ 4183,
202
+ 4667,
203
+ 6585,
204
+ 6647,
205
+ 7273,
206
+ 9061,
207
+ 9383,
208
+ 10428,
209
+ 10929,
210
+ 11938,
211
+ 12033,
212
+ 12331,
213
+ 12562,
214
+ 13793,
215
+ 14157,
216
+ 14635,
217
+ 15265,
218
+ 15618,
219
+ 16553,
220
+ 16604,
221
+ 18362,
222
+ 18956,
223
+ 20075,
224
+ 21675,
225
+ 22520,
226
+ 26130,
227
+ 26161,
228
+ 26435,
229
+ 28279,
230
+ 29464,
231
+ 31650,
232
+ 32302,
233
+ 32470,
234
+ 36865,
235
+ 42863,
236
+ 47425,
237
+ 49870,
238
+ 50254,
239
+ 50258,
240
+ 50358,
241
+ 50359,
242
+ 50360,
243
+ 50361,
244
+ 50362
245
+ ],
246
+ "task": "transcribe",
247
+ "task_to_id": {
248
+ "transcribe": 50359,
249
+ "translate": 50358
250
+ },
251
+ "transformers_version": "4.43.3"
252
+ }