whisper-medium-sb-lug-eng
Browse files- README.md +90 -0
- generation_config.json +248 -0
README.md
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: openai/whisper-medium
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- generator
|
8 |
+
model-index:
|
9 |
+
- name: whisper-medium-sb-lug-eng
|
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-medium-sb-lug-eng
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) on the generator dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1179
|
21 |
+
- Wer Lug: 0.558
|
22 |
+
- Wer Eng: 0.025
|
23 |
+
- Wer Mean: 0.292
|
24 |
+
- Cer Lug: 0.285
|
25 |
+
- Cer Eng: 0.011
|
26 |
+
- Cer Mean: 0.148
|
27 |
+
|
28 |
+
## Model description
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Intended uses & limitations
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training and evaluation data
|
37 |
+
|
38 |
+
More information needed
|
39 |
+
|
40 |
+
## Training procedure
|
41 |
+
|
42 |
+
### Training hyperparameters
|
43 |
+
|
44 |
+
The following hyperparameters were used during training:
|
45 |
+
- learning_rate: 1e-05
|
46 |
+
- train_batch_size: 16
|
47 |
+
- eval_batch_size: 8
|
48 |
+
- seed: 42
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- lr_scheduler_warmup_steps: 500
|
52 |
+
- training_steps: 12000
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer Lug | Wer Eng | Wer Mean | Cer Lug | Cer Eng | Cer Mean |
|
58 |
+
|:-------------:|:------:|:-----:|:---------------:|:-------:|:-------:|:--------:|:-------:|:-------:|:--------:|
|
59 |
+
| 0.7169 | 0.0417 | 500 | 0.2614 | 0.715 | 0.039 | 0.377 | 0.264 | 0.02 | 0.142 |
|
60 |
+
| 0.5343 | 0.0833 | 1000 | 0.1939 | 0.391 | 0.029 | 0.21 | 0.147 | 0.013 | 0.08 |
|
61 |
+
| 0.4529 | 0.125 | 1500 | 0.1864 | 0.256 | 0.032 | 0.144 | 0.069 | 0.015 | 0.042 |
|
62 |
+
| 0.3733 | 0.1667 | 2000 | 0.1597 | 0.276 | 0.024 | 0.15 | 0.093 | 0.01 | 0.052 |
|
63 |
+
| 0.3874 | 0.2083 | 2500 | 0.1520 | 0.733 | 0.023 | 0.378 | 0.314 | 0.01 | 0.162 |
|
64 |
+
| 0.3641 | 0.25 | 3000 | 0.1408 | 0.762 | 0.027 | 0.395 | 0.339 | 0.012 | 0.176 |
|
65 |
+
| 0.3682 | 0.2917 | 3500 | 0.1413 | 0.956 | 0.016 | 0.486 | 0.503 | 0.006 | 0.254 |
|
66 |
+
| 0.3379 | 0.3333 | 4000 | 0.1376 | 0.358 | 0.027 | 0.192 | 0.177 | 0.01 | 0.094 |
|
67 |
+
| 0.3324 | 0.375 | 4500 | 0.1317 | 0.249 | 0.022 | 0.135 | 0.107 | 0.007 | 0.057 |
|
68 |
+
| 0.3003 | 0.4167 | 5000 | 0.1304 | 0.403 | 0.025 | 0.214 | 0.174 | 0.009 | 0.091 |
|
69 |
+
| 0.2259 | 1.0383 | 5500 | 0.1294 | 0.608 | 0.021 | 0.314 | 0.263 | 0.007 | 0.135 |
|
70 |
+
| 0.2259 | 1.08 | 6000 | 0.1309 | 0.835 | 0.025 | 0.43 | 0.417 | 0.008 | 0.213 |
|
71 |
+
| 0.2531 | 1.1217 | 6500 | 0.1252 | 0.249 | 0.022 | 0.135 | 0.109 | 0.008 | 0.058 |
|
72 |
+
| 0.2258 | 1.1633 | 7000 | 0.1259 | 0.384 | 0.023 | 0.203 | 0.178 | 0.007 | 0.093 |
|
73 |
+
| 0.2205 | 1.205 | 7500 | 0.1264 | 0.376 | 0.021 | 0.198 | 0.181 | 0.007 | 0.094 |
|
74 |
+
| 0.2235 | 1.2467 | 8000 | 0.1274 | 0.395 | 0.025 | 0.21 | 0.196 | 0.008 | 0.102 |
|
75 |
+
| 0.2219 | 1.2883 | 8500 | 0.1252 | 0.349 | 0.029 | 0.189 | 0.162 | 0.01 | 0.086 |
|
76 |
+
| 0.2334 | 1.33 | 9000 | 0.1224 | 0.292 | 0.028 | 0.16 | 0.128 | 0.01 | 0.069 |
|
77 |
+
| 0.2339 | 1.3717 | 9500 | 0.1207 | 0.305 | 0.026 | 0.166 | 0.136 | 0.01 | 0.073 |
|
78 |
+
| 0.2094 | 1.4133 | 10000 | 0.1194 | 0.569 | 0.023 | 0.296 | 0.276 | 0.009 | 0.143 |
|
79 |
+
| 0.1643 | 2.035 | 10500 | 0.1184 | 0.818 | 0.026 | 0.422 | 0.466 | 0.011 | 0.239 |
|
80 |
+
| 0.1549 | 2.0767 | 11000 | 0.1196 | 0.651 | 0.022 | 0.336 | 0.374 | 0.008 | 0.191 |
|
81 |
+
| 0.1727 | 2.1183 | 11500 | 0.1182 | 0.547 | 0.025 | 0.286 | 0.29 | 0.011 | 0.15 |
|
82 |
+
| 0.1617 | 2.16 | 12000 | 0.1179 | 0.558 | 0.025 | 0.292 | 0.285 | 0.011 | 0.148 |
|
83 |
+
|
84 |
+
|
85 |
+
### Framework versions
|
86 |
+
|
87 |
+
- Transformers 4.42.3
|
88 |
+
- Pytorch 2.2.0
|
89 |
+
- Datasets 2.20.0
|
90 |
+
- Tokenizers 0.19.1
|
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.42.3"
|
248 |
+
}
|