fabianzeiher
commited on
Commit
•
55900d9
1
Parent(s):
fceba1d
End of training
Browse files- README.md +67 -0
- config.json +3 -3
- generation_config.json +269 -0
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- se
|
4 |
+
license: apache-2.0
|
5 |
+
base_model: openai/whisper-small
|
6 |
+
tags:
|
7 |
+
- hf-asr-leaderboard
|
8 |
+
- generated_from_trainer
|
9 |
+
metrics:
|
10 |
+
- wer
|
11 |
+
model-index:
|
12 |
+
- name: Whisper Small Swedish V5
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# Whisper Small Swedish V5
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.3667
|
24 |
+
- Wer: 23.7961
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 1e-05
|
44 |
+
- train_batch_size: 16
|
45 |
+
- eval_batch_size: 8
|
46 |
+
- seed: 42
|
47 |
+
- gradient_accumulation_steps: 2
|
48 |
+
- total_train_batch_size: 32
|
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: 4000
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|
|
59 |
+
| 0.5426 | 10.36 | 4000 | 0.3667 | 23.7961 |
|
60 |
+
|
61 |
+
|
62 |
+
### Framework versions
|
63 |
+
|
64 |
+
- Transformers 4.36.0.dev0
|
65 |
+
- Pytorch 2.1.0+cu118
|
66 |
+
- Datasets 2.15.0
|
67 |
+
- Tokenizers 0.15.0
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"apply_spec_augment": false,
|
@@ -19,7 +19,7 @@
|
|
19 |
"decoder_layerdrop": 0.0,
|
20 |
"decoder_layers": 12,
|
21 |
"decoder_start_token_id": 50258,
|
22 |
-
"dropout": 0.
|
23 |
"encoder_attention_heads": 12,
|
24 |
"encoder_ffn_dim": 3072,
|
25 |
"encoder_layerdrop": 0.0,
|
@@ -46,7 +46,7 @@
|
|
46 |
"suppress_tokens": [],
|
47 |
"torch_dtype": "float32",
|
48 |
"transformers_version": "4.36.0.dev0",
|
49 |
-
"use_cache":
|
50 |
"use_weighted_layer_sum": false,
|
51 |
"vocab_size": 51865
|
52 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/content/drive/MyDrive/ID2223/lab2/v5/swedish/model/small/checkpoint-3900",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"apply_spec_augment": false,
|
|
|
19 |
"decoder_layerdrop": 0.0,
|
20 |
"decoder_layers": 12,
|
21 |
"decoder_start_token_id": 50258,
|
22 |
+
"dropout": 0.1,
|
23 |
"encoder_attention_heads": 12,
|
24 |
"encoder_ffn_dim": 3072,
|
25 |
"encoder_layerdrop": 0.0,
|
|
|
46 |
"suppress_tokens": [],
|
47 |
"torch_dtype": "float32",
|
48 |
"transformers_version": "4.36.0.dev0",
|
49 |
+
"use_cache": false,
|
50 |
"use_weighted_layer_sum": false,
|
51 |
"vocab_size": 51865
|
52 |
}
|
generation_config.json
ADDED
@@ -0,0 +1,269 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
5,
|
5 |
+
3
|
6 |
+
],
|
7 |
+
[
|
8 |
+
5,
|
9 |
+
9
|
10 |
+
],
|
11 |
+
[
|
12 |
+
8,
|
13 |
+
0
|
14 |
+
],
|
15 |
+
[
|
16 |
+
8,
|
17 |
+
4
|
18 |
+
],
|
19 |
+
[
|
20 |
+
8,
|
21 |
+
7
|
22 |
+
],
|
23 |
+
[
|
24 |
+
8,
|
25 |
+
8
|
26 |
+
],
|
27 |
+
[
|
28 |
+
9,
|
29 |
+
0
|
30 |
+
],
|
31 |
+
[
|
32 |
+
9,
|
33 |
+
7
|
34 |
+
],
|
35 |
+
[
|
36 |
+
9,
|
37 |
+
9
|
38 |
+
],
|
39 |
+
[
|
40 |
+
10,
|
41 |
+
5
|
42 |
+
]
|
43 |
+
],
|
44 |
+
"begin_suppress_tokens": [
|
45 |
+
220,
|
46 |
+
50257
|
47 |
+
],
|
48 |
+
"bos_token_id": 50257,
|
49 |
+
"decoder_start_token_id": 50258,
|
50 |
+
"eos_token_id": 50257,
|
51 |
+
"forced_decoder_ids": [
|
52 |
+
[
|
53 |
+
1,
|
54 |
+
50273
|
55 |
+
],
|
56 |
+
[
|
57 |
+
2,
|
58 |
+
50359
|
59 |
+
],
|
60 |
+
[
|
61 |
+
3,
|
62 |
+
50363
|
63 |
+
]
|
64 |
+
],
|
65 |
+
"is_multilingual": true,
|
66 |
+
"lang_to_id": {
|
67 |
+
"<|af|>": 50327,
|
68 |
+
"<|am|>": 50334,
|
69 |
+
"<|ar|>": 50272,
|
70 |
+
"<|as|>": 50350,
|
71 |
+
"<|az|>": 50304,
|
72 |
+
"<|ba|>": 50355,
|
73 |
+
"<|be|>": 50330,
|
74 |
+
"<|bg|>": 50292,
|
75 |
+
"<|bn|>": 50302,
|
76 |
+
"<|bo|>": 50347,
|
77 |
+
"<|br|>": 50309,
|
78 |
+
"<|bs|>": 50315,
|
79 |
+
"<|ca|>": 50270,
|
80 |
+
"<|cs|>": 50283,
|
81 |
+
"<|cy|>": 50297,
|
82 |
+
"<|da|>": 50285,
|
83 |
+
"<|de|>": 50261,
|
84 |
+
"<|el|>": 50281,
|
85 |
+
"<|en|>": 50259,
|
86 |
+
"<|es|>": 50262,
|
87 |
+
"<|et|>": 50307,
|
88 |
+
"<|eu|>": 50310,
|
89 |
+
"<|fa|>": 50300,
|
90 |
+
"<|fi|>": 50277,
|
91 |
+
"<|fo|>": 50338,
|
92 |
+
"<|fr|>": 50265,
|
93 |
+
"<|gl|>": 50319,
|
94 |
+
"<|gu|>": 50333,
|
95 |
+
"<|haw|>": 50352,
|
96 |
+
"<|ha|>": 50354,
|
97 |
+
"<|he|>": 50279,
|
98 |
+
"<|hi|>": 50276,
|
99 |
+
"<|hr|>": 50291,
|
100 |
+
"<|ht|>": 50339,
|
101 |
+
"<|hu|>": 50286,
|
102 |
+
"<|hy|>": 50312,
|
103 |
+
"<|id|>": 50275,
|
104 |
+
"<|is|>": 50311,
|
105 |
+
"<|it|>": 50274,
|
106 |
+
"<|ja|>": 50266,
|
107 |
+
"<|jw|>": 50356,
|
108 |
+
"<|ka|>": 50329,
|
109 |
+
"<|kk|>": 50316,
|
110 |
+
"<|km|>": 50323,
|
111 |
+
"<|kn|>": 50306,
|
112 |
+
"<|ko|>": 50264,
|
113 |
+
"<|la|>": 50294,
|
114 |
+
"<|lb|>": 50345,
|
115 |
+
"<|ln|>": 50353,
|
116 |
+
"<|lo|>": 50336,
|
117 |
+
"<|lt|>": 50293,
|
118 |
+
"<|lv|>": 50301,
|
119 |
+
"<|mg|>": 50349,
|
120 |
+
"<|mi|>": 50295,
|
121 |
+
"<|mk|>": 50308,
|
122 |
+
"<|ml|>": 50296,
|
123 |
+
"<|mn|>": 50314,
|
124 |
+
"<|mr|>": 50320,
|
125 |
+
"<|ms|>": 50282,
|
126 |
+
"<|mt|>": 50343,
|
127 |
+
"<|my|>": 50346,
|
128 |
+
"<|ne|>": 50313,
|
129 |
+
"<|nl|>": 50271,
|
130 |
+
"<|nn|>": 50342,
|
131 |
+
"<|no|>": 50288,
|
132 |
+
"<|oc|>": 50328,
|
133 |
+
"<|pa|>": 50321,
|
134 |
+
"<|pl|>": 50269,
|
135 |
+
"<|ps|>": 50340,
|
136 |
+
"<|pt|>": 50267,
|
137 |
+
"<|ro|>": 50284,
|
138 |
+
"<|ru|>": 50263,
|
139 |
+
"<|sa|>": 50344,
|
140 |
+
"<|sd|>": 50332,
|
141 |
+
"<|si|>": 50322,
|
142 |
+
"<|sk|>": 50298,
|
143 |
+
"<|sl|>": 50305,
|
144 |
+
"<|sn|>": 50324,
|
145 |
+
"<|so|>": 50326,
|
146 |
+
"<|sq|>": 50317,
|
147 |
+
"<|sr|>": 50303,
|
148 |
+
"<|su|>": 50357,
|
149 |
+
"<|sv|>": 50273,
|
150 |
+
"<|sw|>": 50318,
|
151 |
+
"<|ta|>": 50287,
|
152 |
+
"<|te|>": 50299,
|
153 |
+
"<|tg|>": 50331,
|
154 |
+
"<|th|>": 50289,
|
155 |
+
"<|tk|>": 50341,
|
156 |
+
"<|tl|>": 50348,
|
157 |
+
"<|tr|>": 50268,
|
158 |
+
"<|tt|>": 50351,
|
159 |
+
"<|uk|>": 50280,
|
160 |
+
"<|ur|>": 50290,
|
161 |
+
"<|uz|>": 50337,
|
162 |
+
"<|vi|>": 50278,
|
163 |
+
"<|yi|>": 50335,
|
164 |
+
"<|yo|>": 50325,
|
165 |
+
"<|zh|>": 50260
|
166 |
+
},
|
167 |
+
"language": "swedish",
|
168 |
+
"max_initial_timestamp_index": 1,
|
169 |
+
"max_length": 448,
|
170 |
+
"no_timestamps_token_id": 50363,
|
171 |
+
"pad_token_id": 50257,
|
172 |
+
"return_timestamps": false,
|
173 |
+
"suppress_tokens": [
|
174 |
+
1,
|
175 |
+
2,
|
176 |
+
7,
|
177 |
+
8,
|
178 |
+
9,
|
179 |
+
10,
|
180 |
+
14,
|
181 |
+
25,
|
182 |
+
26,
|
183 |
+
27,
|
184 |
+
28,
|
185 |
+
29,
|
186 |
+
31,
|
187 |
+
58,
|
188 |
+
59,
|
189 |
+
60,
|
190 |
+
61,
|
191 |
+
62,
|
192 |
+
63,
|
193 |
+
90,
|
194 |
+
91,
|
195 |
+
92,
|
196 |
+
93,
|
197 |
+
359,
|
198 |
+
503,
|
199 |
+
522,
|
200 |
+
542,
|
201 |
+
873,
|
202 |
+
893,
|
203 |
+
902,
|
204 |
+
918,
|
205 |
+
922,
|
206 |
+
931,
|
207 |
+
1350,
|
208 |
+
1853,
|
209 |
+
1982,
|
210 |
+
2460,
|
211 |
+
2627,
|
212 |
+
3246,
|
213 |
+
3253,
|
214 |
+
3268,
|
215 |
+
3536,
|
216 |
+
3846,
|
217 |
+
3961,
|
218 |
+
4183,
|
219 |
+
4667,
|
220 |
+
6585,
|
221 |
+
6647,
|
222 |
+
7273,
|
223 |
+
9061,
|
224 |
+
9383,
|
225 |
+
10428,
|
226 |
+
10929,
|
227 |
+
11938,
|
228 |
+
12033,
|
229 |
+
12331,
|
230 |
+
12562,
|
231 |
+
13793,
|
232 |
+
14157,
|
233 |
+
14635,
|
234 |
+
15265,
|
235 |
+
15618,
|
236 |
+
16553,
|
237 |
+
16604,
|
238 |
+
18362,
|
239 |
+
18956,
|
240 |
+
20075,
|
241 |
+
21675,
|
242 |
+
22520,
|
243 |
+
26130,
|
244 |
+
26161,
|
245 |
+
26435,
|
246 |
+
28279,
|
247 |
+
29464,
|
248 |
+
31650,
|
249 |
+
32302,
|
250 |
+
32470,
|
251 |
+
36865,
|
252 |
+
42863,
|
253 |
+
47425,
|
254 |
+
49870,
|
255 |
+
50254,
|
256 |
+
50258,
|
257 |
+
50358,
|
258 |
+
50359,
|
259 |
+
50360,
|
260 |
+
50361,
|
261 |
+
50362
|
262 |
+
],
|
263 |
+
"task": "transcribe",
|
264 |
+
"task_to_id": {
|
265 |
+
"transcribe": 50359,
|
266 |
+
"translate": 50358
|
267 |
+
},
|
268 |
+
"transformers_version": "4.36.0.dev0"
|
269 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 966995080
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef4695a4dbcfe2d5e4ef83c9412958cd32a88fe981d880096e28bd6ab57b6eea
|
3 |
size 966995080
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4920
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2cd3d567554b3301daebd91df3a71dddcd959cccad7ec58d5775a5e7a06351c5
|
3 |
size 4920
|