Model save
Browse files- README.md +72 -0
- generation_config.json +315 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-custom-hi
|
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-custom-hi
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [openai/whisper-large-v2](https://huggingface.co/openai/whisper-large-v2) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.3389
|
21 |
+
- Wer: 0.2186
|
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: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 4
|
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: 50
|
49 |
+
- training_steps: 5000
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|
|
55 |
+
| 0.0523 | 2.44 | 500 | 0.2123 | 0.2664 |
|
56 |
+
| 0.0187 | 4.89 | 1000 | 0.2237 | 0.2370 |
|
57 |
+
| 0.0041 | 7.33 | 1500 | 0.2647 | 0.2310 |
|
58 |
+
| 0.0028 | 9.78 | 2000 | 0.2904 | 0.2344 |
|
59 |
+
| 0.0015 | 12.22 | 2500 | 0.2908 | 0.2268 |
|
60 |
+
| 0.0003 | 14.67 | 3000 | 0.3022 | 0.2197 |
|
61 |
+
| 0.0003 | 17.11 | 3500 | 0.3249 | 0.2195 |
|
62 |
+
| 0.0003 | 19.56 | 4000 | 0.3217 | 0.2161 |
|
63 |
+
| 0.0 | 22.0 | 4500 | 0.3335 | 0.2181 |
|
64 |
+
| 0.0 | 24.45 | 5000 | 0.3389 | 0.2186 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.33.0.dev0
|
70 |
+
- Pytorch 2.0.1+cu117
|
71 |
+
- Datasets 2.14.4
|
72 |
+
- Tokenizers 0.13.3
|
generation_config.json
ADDED
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"forced_decoder_ids": [
|
104 |
+
[
|
105 |
+
1,
|
106 |
+
null
|
107 |
+
],
|
108 |
+
[
|
109 |
+
2,
|
110 |
+
50359
|
111 |
+
]
|
112 |
+
],
|
113 |
+
"is_multilingual": true,
|
114 |
+
"lang_to_id": {
|
115 |
+
"<|af|>": 50327,
|
116 |
+
"<|am|>": 50334,
|
117 |
+
"<|ar|>": 50272,
|
118 |
+
"<|as|>": 50350,
|
119 |
+
"<|az|>": 50304,
|
120 |
+
"<|ba|>": 50355,
|
121 |
+
"<|be|>": 50330,
|
122 |
+
"<|bg|>": 50292,
|
123 |
+
"<|bn|>": 50302,
|
124 |
+
"<|bo|>": 50347,
|
125 |
+
"<|br|>": 50309,
|
126 |
+
"<|bs|>": 50315,
|
127 |
+
"<|ca|>": 50270,
|
128 |
+
"<|cs|>": 50283,
|
129 |
+
"<|cy|>": 50297,
|
130 |
+
"<|da|>": 50285,
|
131 |
+
"<|de|>": 50261,
|
132 |
+
"<|el|>": 50281,
|
133 |
+
"<|en|>": 50259,
|
134 |
+
"<|es|>": 50262,
|
135 |
+
"<|et|>": 50307,
|
136 |
+
"<|eu|>": 50310,
|
137 |
+
"<|fa|>": 50300,
|
138 |
+
"<|fi|>": 50277,
|
139 |
+
"<|fo|>": 50338,
|
140 |
+
"<|fr|>": 50265,
|
141 |
+
"<|gl|>": 50319,
|
142 |
+
"<|gu|>": 50333,
|
143 |
+
"<|haw|>": 50352,
|
144 |
+
"<|ha|>": 50354,
|
145 |
+
"<|he|>": 50279,
|
146 |
+
"<|hi|>": 50276,
|
147 |
+
"<|hr|>": 50291,
|
148 |
+
"<|ht|>": 50339,
|
149 |
+
"<|hu|>": 50286,
|
150 |
+
"<|hy|>": 50312,
|
151 |
+
"<|id|>": 50275,
|
152 |
+
"<|is|>": 50311,
|
153 |
+
"<|it|>": 50274,
|
154 |
+
"<|ja|>": 50266,
|
155 |
+
"<|jw|>": 50356,
|
156 |
+
"<|ka|>": 50329,
|
157 |
+
"<|kk|>": 50316,
|
158 |
+
"<|km|>": 50323,
|
159 |
+
"<|kn|>": 50306,
|
160 |
+
"<|ko|>": 50264,
|
161 |
+
"<|la|>": 50294,
|
162 |
+
"<|lb|>": 50345,
|
163 |
+
"<|ln|>": 50353,
|
164 |
+
"<|lo|>": 50336,
|
165 |
+
"<|lt|>": 50293,
|
166 |
+
"<|lv|>": 50301,
|
167 |
+
"<|mg|>": 50349,
|
168 |
+
"<|mi|>": 50295,
|
169 |
+
"<|mk|>": 50308,
|
170 |
+
"<|ml|>": 50296,
|
171 |
+
"<|mn|>": 50314,
|
172 |
+
"<|mr|>": 50320,
|
173 |
+
"<|ms|>": 50282,
|
174 |
+
"<|mt|>": 50343,
|
175 |
+
"<|my|>": 50346,
|
176 |
+
"<|ne|>": 50313,
|
177 |
+
"<|nl|>": 50271,
|
178 |
+
"<|nn|>": 50342,
|
179 |
+
"<|no|>": 50288,
|
180 |
+
"<|oc|>": 50328,
|
181 |
+
"<|pa|>": 50321,
|
182 |
+
"<|pl|>": 50269,
|
183 |
+
"<|ps|>": 50340,
|
184 |
+
"<|pt|>": 50267,
|
185 |
+
"<|ro|>": 50284,
|
186 |
+
"<|ru|>": 50263,
|
187 |
+
"<|sa|>": 50344,
|
188 |
+
"<|sd|>": 50332,
|
189 |
+
"<|si|>": 50322,
|
190 |
+
"<|sk|>": 50298,
|
191 |
+
"<|sl|>": 50305,
|
192 |
+
"<|sn|>": 50324,
|
193 |
+
"<|so|>": 50326,
|
194 |
+
"<|sq|>": 50317,
|
195 |
+
"<|sr|>": 50303,
|
196 |
+
"<|su|>": 50357,
|
197 |
+
"<|sv|>": 50273,
|
198 |
+
"<|sw|>": 50318,
|
199 |
+
"<|ta|>": 50287,
|
200 |
+
"<|te|>": 50299,
|
201 |
+
"<|tg|>": 50331,
|
202 |
+
"<|th|>": 50289,
|
203 |
+
"<|tk|>": 50341,
|
204 |
+
"<|tl|>": 50348,
|
205 |
+
"<|tr|>": 50268,
|
206 |
+
"<|tt|>": 50351,
|
207 |
+
"<|uk|>": 50280,
|
208 |
+
"<|ur|>": 50290,
|
209 |
+
"<|uz|>": 50337,
|
210 |
+
"<|vi|>": 50278,
|
211 |
+
"<|yi|>": 50335,
|
212 |
+
"<|yo|>": 50325,
|
213 |
+
"<|zh|>": 50260
|
214 |
+
},
|
215 |
+
"max_initial_timestamp_index": 1,
|
216 |
+
"max_length": 448,
|
217 |
+
"no_timestamps_token_id": 50363,
|
218 |
+
"pad_token_id": 50257,
|
219 |
+
"return_timestamps": false,
|
220 |
+
"suppress_tokens": [
|
221 |
+
1,
|
222 |
+
2,
|
223 |
+
7,
|
224 |
+
8,
|
225 |
+
9,
|
226 |
+
10,
|
227 |
+
14,
|
228 |
+
25,
|
229 |
+
26,
|
230 |
+
27,
|
231 |
+
28,
|
232 |
+
29,
|
233 |
+
31,
|
234 |
+
58,
|
235 |
+
59,
|
236 |
+
60,
|
237 |
+
61,
|
238 |
+
62,
|
239 |
+
63,
|
240 |
+
90,
|
241 |
+
91,
|
242 |
+
92,
|
243 |
+
93,
|
244 |
+
359,
|
245 |
+
503,
|
246 |
+
522,
|
247 |
+
542,
|
248 |
+
873,
|
249 |
+
893,
|
250 |
+
902,
|
251 |
+
918,
|
252 |
+
922,
|
253 |
+
931,
|
254 |
+
1350,
|
255 |
+
1853,
|
256 |
+
1982,
|
257 |
+
2460,
|
258 |
+
2627,
|
259 |
+
3246,
|
260 |
+
3253,
|
261 |
+
3268,
|
262 |
+
3536,
|
263 |
+
3846,
|
264 |
+
3961,
|
265 |
+
4183,
|
266 |
+
4667,
|
267 |
+
6585,
|
268 |
+
6647,
|
269 |
+
7273,
|
270 |
+
9061,
|
271 |
+
9383,
|
272 |
+
10428,
|
273 |
+
10929,
|
274 |
+
11938,
|
275 |
+
12033,
|
276 |
+
12331,
|
277 |
+
12562,
|
278 |
+
13793,
|
279 |
+
14157,
|
280 |
+
14635,
|
281 |
+
15265,
|
282 |
+
15618,
|
283 |
+
16553,
|
284 |
+
16604,
|
285 |
+
18362,
|
286 |
+
18956,
|
287 |
+
20075,
|
288 |
+
21675,
|
289 |
+
22520,
|
290 |
+
26130,
|
291 |
+
26161,
|
292 |
+
26435,
|
293 |
+
28279,
|
294 |
+
29464,
|
295 |
+
31650,
|
296 |
+
32302,
|
297 |
+
32470,
|
298 |
+
36865,
|
299 |
+
42863,
|
300 |
+
47425,
|
301 |
+
49870,
|
302 |
+
50254,
|
303 |
+
50258,
|
304 |
+
50358,
|
305 |
+
50359,
|
306 |
+
50360,
|
307 |
+
50361,
|
308 |
+
50362
|
309 |
+
],
|
310 |
+
"task_to_id": {
|
311 |
+
"transcribe": 50359,
|
312 |
+
"translate": 50358
|
313 |
+
},
|
314 |
+
"transformers_version": "4.33.0.dev0"
|
315 |
+
}
|