Model save
Browse files- README.md +121 -0
- generation_config.json +248 -0
README.md
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: openai/whisper-tiny
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- wer
|
8 |
+
model-index:
|
9 |
+
- name: hamsa-tiny-finetuned-qasr
|
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 |
+
# hamsa-tiny-finetuned-qasr
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [openai/whisper-tiny](https://huggingface.co/openai/whisper-tiny) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.3310
|
21 |
+
- Wer: 25.4515
|
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: 64
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_steps: 500
|
47 |
+
- training_steps: 150000
|
48 |
+
- mixed_precision_training: Native AMP
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
53 |
+
|:-------------:|:-----:|:------:|:---------------:|:-------:|
|
54 |
+
| 0.643 | 0.1 | 2500 | 0.6272 | 51.4156 |
|
55 |
+
| 0.5445 | 0.2 | 5000 | 0.5443 | 40.7508 |
|
56 |
+
| 0.4944 | 0.3 | 7500 | 0.5005 | 38.5676 |
|
57 |
+
| 0.4722 | 0.4 | 10000 | 0.4747 | 39.1490 |
|
58 |
+
| 0.4659 | 0.5 | 12500 | 0.4541 | 35.6867 |
|
59 |
+
| 0.4261 | 0.6 | 15000 | 0.4383 | 36.0877 |
|
60 |
+
| 0.4166 | 0.7 | 17500 | 0.4257 | 31.8968 |
|
61 |
+
| 0.4051 | 0.8 | 20000 | 0.4160 | 32.5898 |
|
62 |
+
| 0.4107 | 0.9 | 22500 | 0.4070 | 32.9291 |
|
63 |
+
| 0.3753 | 1.0 | 25000 | 0.3996 | 30.2095 |
|
64 |
+
| 0.3755 | 1.1 | 27500 | 0.3943 | 32.4497 |
|
65 |
+
| 0.3749 | 1.2 | 30000 | 0.3893 | 31.3320 |
|
66 |
+
| 0.3697 | 1.3 | 32500 | 0.3856 | 30.2024 |
|
67 |
+
| 0.3574 | 1.4 | 35000 | 0.3802 | 27.4662 |
|
68 |
+
| 0.3583 | 1.5 | 37500 | 0.3774 | 28.9257 |
|
69 |
+
| 0.3619 | 1.6 | 40000 | 0.3731 | 28.9447 |
|
70 |
+
| 0.3414 | 1.7 | 42500 | 0.3702 | 27.6751 |
|
71 |
+
| 0.3465 | 1.8 | 45000 | 0.3667 | 27.2716 |
|
72 |
+
| 0.3489 | 1.9 | 47500 | 0.3640 | 25.7695 |
|
73 |
+
| 0.3173 | 2.0 | 50000 | 0.3623 | 26.2773 |
|
74 |
+
| 0.3227 | 2.11 | 52500 | 0.3608 | 25.5844 |
|
75 |
+
| 0.3236 | 2.21 | 55000 | 0.3592 | 26.8564 |
|
76 |
+
| 0.324 | 2.31 | 57500 | 0.3565 | 27.4639 |
|
77 |
+
| 0.3315 | 2.41 | 60000 | 0.3555 | 26.7187 |
|
78 |
+
| 0.3238 | 2.51 | 62500 | 0.3531 | 26.3343 |
|
79 |
+
| 0.3406 | 2.61 | 65000 | 0.3513 | 26.4031 |
|
80 |
+
| 0.3214 | 2.71 | 67500 | 0.3496 | 25.1999 |
|
81 |
+
| 0.3197 | 2.81 | 70000 | 0.3481 | 25.4657 |
|
82 |
+
| 0.3232 | 2.91 | 72500 | 0.3463 | 24.6684 |
|
83 |
+
| 0.3136 | 3.01 | 75000 | 0.3456 | 25.8668 |
|
84 |
+
| 0.3082 | 3.11 | 77500 | 0.3445 | 26.3248 |
|
85 |
+
| 0.3058 | 3.21 | 80000 | 0.3439 | 25.3874 |
|
86 |
+
| 0.3217 | 3.31 | 82500 | 0.3434 | 25.1857 |
|
87 |
+
| 0.3158 | 3.41 | 85000 | 0.3417 | 24.5521 |
|
88 |
+
| 0.3021 | 3.51 | 87500 | 0.3414 | 25.6295 |
|
89 |
+
| 0.2912 | 3.61 | 90000 | 0.3405 | 24.7941 |
|
90 |
+
| 0.281 | 3.71 | 92500 | 0.3402 | 24.5426 |
|
91 |
+
| 0.3017 | 3.81 | 95000 | 0.3391 | 25.1809 |
|
92 |
+
| 0.2986 | 3.91 | 97500 | 0.3387 | 25.1145 |
|
93 |
+
| 0.2996 | 4.01 | 100000 | 0.3377 | 24.6185 |
|
94 |
+
| 0.2734 | 4.11 | 102500 | 0.3374 | 24.7229 |
|
95 |
+
| 0.3088 | 4.21 | 105000 | 0.3373 | 24.2578 |
|
96 |
+
| 0.2794 | 4.31 | 107500 | 0.3361 | 25.6532 |
|
97 |
+
| 0.2988 | 4.41 | 110000 | 0.3357 | 25.7813 |
|
98 |
+
| 0.3085 | 4.51 | 112500 | 0.3352 | 24.8345 |
|
99 |
+
| 0.2888 | 4.61 | 115000 | 0.3346 | 24.5687 |
|
100 |
+
| 0.2923 | 4.71 | 117500 | 0.3342 | 25.0006 |
|
101 |
+
| 0.2782 | 4.81 | 120000 | 0.3336 | 25.7766 |
|
102 |
+
| 0.2948 | 4.91 | 122500 | 0.3334 | 25.2355 |
|
103 |
+
| 0.2791 | 5.01 | 125000 | 0.3329 | 25.6057 |
|
104 |
+
| 0.2988 | 5.11 | 127500 | 0.3333 | 25.6129 |
|
105 |
+
| 0.2933 | 5.21 | 130000 | 0.3330 | 25.7291 |
|
106 |
+
| 0.2801 | 5.31 | 132500 | 0.3321 | 25.7529 |
|
107 |
+
| 0.2885 | 5.41 | 135000 | 0.3325 | 25.7861 |
|
108 |
+
| 0.2953 | 5.51 | 137500 | 0.3319 | 25.0742 |
|
109 |
+
| 0.2677 | 5.61 | 140000 | 0.3319 | 25.2379 |
|
110 |
+
| 0.2833 | 5.71 | 142500 | 0.3315 | 25.5749 |
|
111 |
+
| 0.2923 | 5.81 | 145000 | 0.3313 | 25.6627 |
|
112 |
+
| 0.2602 | 5.91 | 147500 | 0.3311 | 25.4467 |
|
113 |
+
| 0.2757 | 6.01 | 150000 | 0.3310 | 25.4515 |
|
114 |
+
|
115 |
+
|
116 |
+
### Framework versions
|
117 |
+
|
118 |
+
- Transformers 4.37.0.dev0
|
119 |
+
- Pytorch 2.1.2+cu121
|
120 |
+
- Datasets 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
2,
|
5 |
+
2
|
6 |
+
],
|
7 |
+
[
|
8 |
+
3,
|
9 |
+
0
|
10 |
+
],
|
11 |
+
[
|
12 |
+
3,
|
13 |
+
2
|
14 |
+
],
|
15 |
+
[
|
16 |
+
3,
|
17 |
+
3
|
18 |
+
],
|
19 |
+
[
|
20 |
+
3,
|
21 |
+
4
|
22 |
+
],
|
23 |
+
[
|
24 |
+
3,
|
25 |
+
5
|
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.37.0.dev0"
|
248 |
+
}
|