akera/whisper-medium-sb-lug-eng
Browse files- README.md +96 -0
- generation_config.json +248 -0
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.1499
|
21 |
+
- Wer Lug: 0.16
|
22 |
+
- Wer Eng: 0.038
|
23 |
+
- Wer Mean: 0.099
|
24 |
+
- Cer Lug: 0.036
|
25 |
+
- Cer Eng: 0.019
|
26 |
+
- Cer Mean: 0.028
|
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: 12
|
47 |
+
- eval_batch_size: 4
|
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: 3000
|
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 |
+
| 2.077 | 0.0333 | 100 | 1.0935 | 1.012 | 2.041 | 1.527 | 0.332 | 1.527 | 0.929 |
|
60 |
+
| 1.217 | 0.0667 | 200 | 0.5019 | 0.752 | 0.317 | 0.535 | 0.184 | 0.358 | 0.271 |
|
61 |
+
| 0.9285 | 0.1 | 300 | 0.3713 | 0.545 | 0.048 | 0.296 | 0.141 | 0.03 | 0.085 |
|
62 |
+
| 0.8392 | 0.1333 | 400 | 0.3095 | 0.465 | 0.038 | 0.251 | 0.093 | 0.019 | 0.056 |
|
63 |
+
| 0.7857 | 0.1667 | 500 | 0.2804 | 0.413 | 0.043 | 0.228 | 0.08 | 0.022 | 0.051 |
|
64 |
+
| 0.6783 | 0.2 | 600 | 0.2533 | 0.373 | 0.039 | 0.206 | 0.073 | 0.02 | 0.047 |
|
65 |
+
| 0.674 | 0.2333 | 700 | 0.2404 | 0.309 | 0.036 | 0.173 | 0.062 | 0.016 | 0.039 |
|
66 |
+
| 0.6213 | 0.2667 | 800 | 0.2323 | 0.325 | 0.034 | 0.179 | 0.066 | 0.016 | 0.041 |
|
67 |
+
| 0.593 | 0.3 | 900 | 0.2205 | 0.275 | 0.034 | 0.154 | 0.057 | 0.017 | 0.037 |
|
68 |
+
| 0.5423 | 0.3333 | 1000 | 0.2059 | 0.271 | 0.032 | 0.152 | 0.055 | 0.015 | 0.035 |
|
69 |
+
| 0.5358 | 0.3667 | 1100 | 0.1959 | 0.246 | 0.029 | 0.138 | 0.051 | 0.013 | 0.032 |
|
70 |
+
| 0.552 | 0.4 | 1200 | 0.1910 | 0.25 | 0.037 | 0.144 | 0.054 | 0.019 | 0.036 |
|
71 |
+
| 0.5313 | 0.4333 | 1300 | 0.1786 | 0.208 | 0.027 | 0.117 | 0.045 | 0.013 | 0.029 |
|
72 |
+
| 0.482 | 0.4667 | 1400 | 0.1788 | 0.212 | 0.036 | 0.124 | 0.045 | 0.021 | 0.033 |
|
73 |
+
| 0.4561 | 0.5 | 1500 | 0.1692 | 0.191 | 0.026 | 0.109 | 0.041 | 0.015 | 0.028 |
|
74 |
+
| 0.4618 | 0.5333 | 1600 | 0.1702 | 0.187 | 0.032 | 0.11 | 0.042 | 0.016 | 0.029 |
|
75 |
+
| 0.4357 | 0.5667 | 1700 | 0.1717 | 0.187 | 0.038 | 0.112 | 0.042 | 0.019 | 0.03 |
|
76 |
+
| 0.45 | 0.6 | 1800 | 0.1696 | 0.172 | 0.035 | 0.103 | 0.038 | 0.018 | 0.028 |
|
77 |
+
| 0.417 | 0.6333 | 1900 | 0.1705 | 0.176 | 0.032 | 0.104 | 0.038 | 0.018 | 0.028 |
|
78 |
+
| 0.3955 | 0.6667 | 2000 | 0.1649 | 0.165 | 0.035 | 0.1 | 0.039 | 0.018 | 0.028 |
|
79 |
+
| 0.4066 | 0.7 | 2100 | 0.1614 | 0.162 | 0.031 | 0.097 | 0.038 | 0.015 | 0.026 |
|
80 |
+
| 0.4482 | 0.7333 | 2200 | 0.1617 | 0.165 | 0.03 | 0.098 | 0.038 | 0.016 | 0.027 |
|
81 |
+
| 0.4169 | 0.7667 | 2300 | 0.1613 | 0.171 | 0.029 | 0.1 | 0.039 | 0.015 | 0.027 |
|
82 |
+
| 0.4222 | 0.8 | 2400 | 0.1582 | 0.168 | 0.029 | 0.099 | 0.038 | 0.017 | 0.028 |
|
83 |
+
| 0.3922 | 0.8333 | 2500 | 0.1574 | 0.175 | 0.032 | 0.104 | 0.039 | 0.016 | 0.027 |
|
84 |
+
| 0.4123 | 0.8667 | 2600 | 0.1547 | 0.165 | 0.034 | 0.099 | 0.037 | 0.016 | 0.027 |
|
85 |
+
| 0.3771 | 0.9 | 2700 | 0.1540 | 0.169 | 0.036 | 0.102 | 0.038 | 0.017 | 0.028 |
|
86 |
+
| 0.3923 | 0.9333 | 2800 | 0.1511 | 0.161 | 0.038 | 0.099 | 0.037 | 0.019 | 0.028 |
|
87 |
+
| 0.3987 | 0.9667 | 2900 | 0.1501 | 0.162 | 0.038 | 0.1 | 0.036 | 0.019 | 0.027 |
|
88 |
+
| 0.3637 | 1.0 | 3000 | 0.1499 | 0.16 | 0.038 | 0.099 | 0.036 | 0.019 | 0.028 |
|
89 |
+
|
90 |
+
|
91 |
+
### Framework versions
|
92 |
+
|
93 |
+
- Transformers 4.42.3
|
94 |
+
- Pytorch 2.3.0+cu121
|
95 |
+
- Datasets 2.20.0
|
96 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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],
|
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 |
+
}
|