xezpeleta commited on
Commit
4f35e29
1 Parent(s): 30571ad

Model save

Browse files
Files changed (2) hide show
  1. README.md +36 -37
  2. generation_config.json +248 -0
README.md CHANGED
@@ -1,41 +1,40 @@
1
  ---
2
- language:
3
- - eu
4
  license: apache-2.0
 
5
  tags:
6
- - whisper-event
7
  - generated_from_trainer
8
  datasets:
9
- - mozilla-foundation/common_voice_16_0
10
  metrics:
11
  - wer
12
  model-index:
13
- - name: Whisper Medium Basque
14
  results:
15
  - task:
16
  name: Automatic Speech Recognition
17
  type: automatic-speech-recognition
18
  dataset:
19
- name: mozilla-foundation/common_voice_16_0 eu
20
- type: mozilla-foundation/common_voice_16_0
21
  config: eu
22
  split: test
23
  args: eu
24
  metrics:
25
  - name: Wer
26
  type: wer
27
- value: 9.188591686749389
28
  ---
29
 
30
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
31
  should probably proofread and complete it, then remove this comment. -->
32
 
33
- # Whisper Medium Basque
34
 
35
- This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the mozilla-foundation/common_voice_16_0 eu dataset.
36
  It achieves the following results on the evaluation set:
37
- - Loss: 0.1503
38
- - Wer: 9.1886
39
 
40
  ## Model description
41
 
@@ -54,11 +53,11 @@ More information needed
54
  ### Training hyperparameters
55
 
56
  The following hyperparameters were used during training:
57
- - learning_rate: 1e-05
58
- - train_batch_size: 4
59
  - eval_batch_size: 8
60
  - seed: 42
61
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
  - lr_scheduler_type: linear
63
  - lr_scheduler_warmup_steps: 500
64
  - training_steps: 8000
@@ -66,29 +65,29 @@ The following hyperparameters were used during training:
66
 
67
  ### Training results
68
 
69
- | Training Loss | Epoch | Step | Validation Loss | Wer |
70
- |:-------------:|:-----:|:----:|:---------------:|:-------:|
71
- | 0.4647 | 0.06 | 500 | 0.4529 | 34.2140 |
72
- | 0.3163 | 0.12 | 1000 | 0.3516 | 26.0232 |
73
- | 0.3232 | 0.19 | 1500 | 0.2996 | 21.1825 |
74
- | 0.266 | 0.25 | 2000 | 0.2686 | 18.5126 |
75
- | 0.2383 | 0.31 | 2500 | 0.2489 | 16.9412 |
76
- | 0.1916 | 0.38 | 3000 | 0.2233 | 15.2831 |
77
- | 0.2009 | 0.44 | 3500 | 0.2134 | 14.1419 |
78
- | 0.2014 | 0.5 | 4000 | 0.2015 | 13.6579 |
79
- | 0.1964 | 0.56 | 4500 | 0.1853 | 12.0198 |
80
- | 0.1758 | 0.62 | 5000 | 0.1796 | 11.4651 |
81
- | 0.2067 | 0.69 | 5500 | 0.1679 | 10.7989 |
82
- | 0.213 | 0.75 | 6000 | 0.1618 | 10.3139 |
83
- | 0.1272 | 1.03 | 6500 | 0.1551 | 9.8687 |
84
- | 0.0744 | 1.09 | 7000 | 0.1534 | 9.5172 |
85
- | 0.0726 | 1.16 | 7500 | 0.1518 | 9.3240 |
86
- | 0.0627 | 1.22 | 8000 | 0.1503 | 9.1886 |
87
 
88
 
89
  ### Framework versions
90
 
91
- - Transformers 4.26.0.dev0
92
- - Pytorch 1.13.1+cu117
93
- - Datasets 2.8.1.dev0
94
- - Tokenizers 0.13.2
 
1
  ---
2
+ library_name: transformers
 
3
  license: apache-2.0
4
+ base_model: openai/whisper-medium
5
  tags:
 
6
  - generated_from_trainer
7
  datasets:
8
+ - common_voice_17_0
9
  metrics:
10
  - wer
11
  model-index:
12
+ - name: openai/whisper-medium
13
  results:
14
  - task:
15
  name: Automatic Speech Recognition
16
  type: automatic-speech-recognition
17
  dataset:
18
+ name: common_voice_17_0
19
+ type: common_voice_17_0
20
  config: eu
21
  split: test
22
  args: eu
23
  metrics:
24
  - name: Wer
25
  type: wer
26
+ value: 8.8020814247499
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
  should probably proofread and complete it, then remove this comment. -->
31
 
32
+ # openai/whisper-medium
33
 
34
+ This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the common_voice_17_0 dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.1787
37
+ - Wer: 8.8021
38
 
39
  ## Model description
40
 
 
53
  ### Training hyperparameters
54
 
55
  The following hyperparameters were used during training:
56
+ - learning_rate: 6.25e-06
57
+ - train_batch_size: 16
58
  - eval_batch_size: 8
59
  - seed: 42
60
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
  - lr_scheduler_type: linear
62
  - lr_scheduler_warmup_steps: 500
63
  - training_steps: 8000
 
65
 
66
  ### Training results
67
 
68
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
69
+ |:-------------:|:------:|:----:|:---------------:|:-------:|
70
+ | 0.3171 | 0.0625 | 500 | 0.3369 | 25.5304 |
71
+ | 0.1852 | 0.125 | 1000 | 0.2409 | 17.3110 |
72
+ | 0.2353 | 0.1875 | 1500 | 0.2050 | 14.2228 |
73
+ | 0.1569 | 1.037 | 2000 | 0.1815 | 12.2861 |
74
+ | 0.125 | 1.0995 | 2500 | 0.1692 | 11.1144 |
75
+ | 0.12 | 1.162 | 3000 | 0.1600 | 10.6975 |
76
+ | 0.069 | 2.0115 | 3500 | 0.1540 | 9.7649 |
77
+ | 0.0606 | 2.074 | 4000 | 0.1550 | 9.8199 |
78
+ | 0.0434 | 2.1365 | 4500 | 0.1580 | 9.4571 |
79
+ | 0.0455 | 2.199 | 5000 | 0.1533 | 9.1410 |
80
+ | 0.0216 | 3.0485 | 5500 | 0.1620 | 9.0842 |
81
+ | 0.017 | 3.111 | 6000 | 0.1704 | 9.0980 |
82
+ | 0.0174 | 3.1735 | 6500 | 0.1681 | 9.0723 |
83
+ | 0.0098 | 4.023 | 7000 | 0.1725 | 8.8625 |
84
+ | 0.0076 | 4.0855 | 7500 | 0.1765 | 8.8351 |
85
+ | 0.007 | 4.148 | 8000 | 0.1787 | 8.8021 |
86
 
87
 
88
  ### Framework versions
89
 
90
+ - Transformers 4.46.0.dev0
91
+ - Pytorch 2.4.1+cu121
92
+ - Datasets 3.0.2.dev0
93
+ - Tokenizers 0.20.0
generation_config.json ADDED
@@ -0,0 +1,248 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 13,
5
+ 15
6
+ ],
7
+ [
8
+ 15,
9
+ 4
10
+ ],
11
+ [
12
+ 15,
13
+ 15
14
+ ],
15
+ [
16
+ 16,
17
+ 1
18
+ ],
19
+ [
20
+ 20,
21
+ 0
22
+ ],
23
+ [
24
+ 23,
25
+ 4
26
+ ]
27
+ ],
28
+ "begin_suppress_tokens": [
29
+ 220,
30
+ 50257
31
+ ],
32
+ "bos_token_id": 50257,
33
+ "decoder_start_token_id": 50258,
34
+ "eos_token_id": 50257,
35
+ "forced_decoder_ids": [
36
+ [
37
+ 1,
38
+ null
39
+ ],
40
+ [
41
+ 2,
42
+ 50359
43
+ ]
44
+ ],
45
+ "is_multilingual": true,
46
+ "lang_to_id": {
47
+ "<|af|>": 50327,
48
+ "<|am|>": 50334,
49
+ "<|ar|>": 50272,
50
+ "<|as|>": 50350,
51
+ "<|az|>": 50304,
52
+ "<|ba|>": 50355,
53
+ "<|be|>": 50330,
54
+ "<|bg|>": 50292,
55
+ "<|bn|>": 50302,
56
+ "<|bo|>": 50347,
57
+ "<|br|>": 50309,
58
+ "<|bs|>": 50315,
59
+ "<|ca|>": 50270,
60
+ "<|cs|>": 50283,
61
+ "<|cy|>": 50297,
62
+ "<|da|>": 50285,
63
+ "<|de|>": 50261,
64
+ "<|el|>": 50281,
65
+ "<|en|>": 50259,
66
+ "<|es|>": 50262,
67
+ "<|et|>": 50307,
68
+ "<|eu|>": 50310,
69
+ "<|fa|>": 50300,
70
+ "<|fi|>": 50277,
71
+ "<|fo|>": 50338,
72
+ "<|fr|>": 50265,
73
+ "<|gl|>": 50319,
74
+ "<|gu|>": 50333,
75
+ "<|haw|>": 50352,
76
+ "<|ha|>": 50354,
77
+ "<|he|>": 50279,
78
+ "<|hi|>": 50276,
79
+ "<|hr|>": 50291,
80
+ "<|ht|>": 50339,
81
+ "<|hu|>": 50286,
82
+ "<|hy|>": 50312,
83
+ "<|id|>": 50275,
84
+ "<|is|>": 50311,
85
+ "<|it|>": 50274,
86
+ "<|ja|>": 50266,
87
+ "<|jw|>": 50356,
88
+ "<|ka|>": 50329,
89
+ "<|kk|>": 50316,
90
+ "<|km|>": 50323,
91
+ "<|kn|>": 50306,
92
+ "<|ko|>": 50264,
93
+ "<|la|>": 50294,
94
+ "<|lb|>": 50345,
95
+ "<|ln|>": 50353,
96
+ "<|lo|>": 50336,
97
+ "<|lt|>": 50293,
98
+ "<|lv|>": 50301,
99
+ "<|mg|>": 50349,
100
+ "<|mi|>": 50295,
101
+ "<|mk|>": 50308,
102
+ "<|ml|>": 50296,
103
+ "<|mn|>": 50314,
104
+ "<|mr|>": 50320,
105
+ "<|ms|>": 50282,
106
+ "<|mt|>": 50343,
107
+ "<|my|>": 50346,
108
+ "<|ne|>": 50313,
109
+ "<|nl|>": 50271,
110
+ "<|nn|>": 50342,
111
+ "<|no|>": 50288,
112
+ "<|oc|>": 50328,
113
+ "<|pa|>": 50321,
114
+ "<|pl|>": 50269,
115
+ "<|ps|>": 50340,
116
+ "<|pt|>": 50267,
117
+ "<|ro|>": 50284,
118
+ "<|ru|>": 50263,
119
+ "<|sa|>": 50344,
120
+ "<|sd|>": 50332,
121
+ "<|si|>": 50322,
122
+ "<|sk|>": 50298,
123
+ "<|sl|>": 50305,
124
+ "<|sn|>": 50324,
125
+ "<|so|>": 50326,
126
+ "<|sq|>": 50317,
127
+ "<|sr|>": 50303,
128
+ "<|su|>": 50357,
129
+ "<|sv|>": 50273,
130
+ "<|sw|>": 50318,
131
+ "<|ta|>": 50287,
132
+ "<|te|>": 50299,
133
+ "<|tg|>": 50331,
134
+ "<|th|>": 50289,
135
+ "<|tk|>": 50341,
136
+ "<|tl|>": 50348,
137
+ "<|tr|>": 50268,
138
+ "<|tt|>": 50351,
139
+ "<|uk|>": 50280,
140
+ "<|ur|>": 50290,
141
+ "<|uz|>": 50337,
142
+ "<|vi|>": 50278,
143
+ "<|yi|>": 50335,
144
+ "<|yo|>": 50325,
145
+ "<|zh|>": 50260
146
+ },
147
+ "max_initial_timestamp_index": 50,
148
+ "max_length": 448,
149
+ "no_timestamps_token_id": 50363,
150
+ "pad_token_id": 50257,
151
+ "prev_sot_token_id": 50361,
152
+ "return_timestamps": false,
153
+ "suppress_tokens": [
154
+ 1,
155
+ 2,
156
+ 7,
157
+ 8,
158
+ 9,
159
+ 10,
160
+ 14,
161
+ 25,
162
+ 26,
163
+ 27,
164
+ 28,
165
+ 29,
166
+ 31,
167
+ 58,
168
+ 59,
169
+ 60,
170
+ 61,
171
+ 62,
172
+ 63,
173
+ 90,
174
+ 91,
175
+ 92,
176
+ 93,
177
+ 359,
178
+ 503,
179
+ 522,
180
+ 542,
181
+ 873,
182
+ 893,
183
+ 902,
184
+ 918,
185
+ 922,
186
+ 931,
187
+ 1350,
188
+ 1853,
189
+ 1982,
190
+ 2460,
191
+ 2627,
192
+ 3246,
193
+ 3253,
194
+ 3268,
195
+ 3536,
196
+ 3846,
197
+ 3961,
198
+ 4183,
199
+ 4667,
200
+ 6585,
201
+ 6647,
202
+ 7273,
203
+ 9061,
204
+ 9383,
205
+ 10428,
206
+ 10929,
207
+ 11938,
208
+ 12033,
209
+ 12331,
210
+ 12562,
211
+ 13793,
212
+ 14157,
213
+ 14635,
214
+ 15265,
215
+ 15618,
216
+ 16553,
217
+ 16604,
218
+ 18362,
219
+ 18956,
220
+ 20075,
221
+ 21675,
222
+ 22520,
223
+ 26130,
224
+ 26161,
225
+ 26435,
226
+ 28279,
227
+ 29464,
228
+ 31650,
229
+ 32302,
230
+ 32470,
231
+ 36865,
232
+ 42863,
233
+ 47425,
234
+ 49870,
235
+ 50254,
236
+ 50258,
237
+ 50358,
238
+ 50359,
239
+ 50360,
240
+ 50361,
241
+ 50362
242
+ ],
243
+ "task_to_id": {
244
+ "transcribe": 50359,
245
+ "translate": 50358
246
+ },
247
+ "transformers_version": "4.46.0.dev0"
248
+ }