wanasash commited on
Commit
014be43
1 Parent(s): 71c00d6

Model save

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