Chenxi-Chelsea-Liu
commited on
Commit
•
0e81847
1
Parent(s):
aac3ce6
Model save
Browse files- README.md +121 -0
- generation_config.json +263 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: openai/whisper-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- wer
|
8 |
+
model-index:
|
9 |
+
- name: whisper-small-clean-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-small-clean-hi
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [openai/whisper-small](https://huggingface.co/openai/whisper-small) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5136
|
21 |
+
- Wer: 28.2379
|
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: 48
|
42 |
+
- eval_batch_size: 24
|
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: 3000
|
48 |
+
- mixed_precision_training: Native AMP
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|
|
54 |
+
| 1.5251 | 0.46 | 50 | 1.2276 | 88.8034 |
|
55 |
+
| 0.7311 | 0.92 | 100 | 0.6706 | 50.3372 |
|
56 |
+
| 0.5582 | 1.38 | 150 | 0.5367 | 43.6798 |
|
57 |
+
| 0.4555 | 1.83 | 200 | 0.4448 | 43.1783 |
|
58 |
+
| 0.3326 | 2.29 | 250 | 0.3594 | 36.2182 |
|
59 |
+
| 0.2394 | 2.75 | 300 | 0.2507 | 33.5380 |
|
60 |
+
| 0.1449 | 3.21 | 350 | 0.2294 | 32.7252 |
|
61 |
+
| 0.1407 | 3.67 | 400 | 0.2144 | 30.6070 |
|
62 |
+
| 0.1048 | 4.13 | 450 | 0.2125 | 29.6299 |
|
63 |
+
| 0.0854 | 4.59 | 500 | 0.2085 | 29.1371 |
|
64 |
+
| 0.0762 | 5.05 | 550 | 0.2125 | 28.4109 |
|
65 |
+
| 0.0445 | 5.5 | 600 | 0.2168 | 28.4973 |
|
66 |
+
| 0.0474 | 5.96 | 650 | 0.2197 | 28.2725 |
|
67 |
+
| 0.0249 | 6.42 | 700 | 0.2324 | 28.2898 |
|
68 |
+
| 0.0267 | 6.88 | 750 | 0.2287 | 27.2696 |
|
69 |
+
| 0.0144 | 7.34 | 800 | 0.2440 | 27.2869 |
|
70 |
+
| 0.0154 | 7.8 | 850 | 0.2524 | 27.3733 |
|
71 |
+
| 0.008 | 8.26 | 900 | 0.2648 | 27.1312 |
|
72 |
+
| 0.0103 | 8.72 | 950 | 0.2602 | 27.9353 |
|
73 |
+
| 0.0066 | 9.17 | 1000 | 0.2718 | 28.3330 |
|
74 |
+
| 0.0073 | 9.63 | 1050 | 0.2705 | 27.4771 |
|
75 |
+
| 0.0053 | 10.09 | 1100 | 0.2828 | 27.5030 |
|
76 |
+
| 0.0044 | 10.55 | 1150 | 0.2882 | 27.2004 |
|
77 |
+
| 0.0045 | 11.01 | 1200 | 0.2892 | 27.5117 |
|
78 |
+
| 0.0037 | 11.47 | 1250 | 0.2961 | 27.3215 |
|
79 |
+
| 0.0031 | 11.93 | 1300 | 0.2934 | 27.0534 |
|
80 |
+
| 0.0022 | 12.39 | 1350 | 0.3014 | 27.1053 |
|
81 |
+
| 0.003 | 12.84 | 1400 | 0.3077 | 26.5779 |
|
82 |
+
| 0.0022 | 13.3 | 1450 | 0.3096 | 26.8373 |
|
83 |
+
| 0.002 | 13.76 | 1500 | 0.3123 | 26.5347 |
|
84 |
+
| 0.0017 | 14.22 | 1550 | 0.3186 | 26.8632 |
|
85 |
+
| 0.0016 | 14.68 | 1600 | 0.3255 | 26.6903 |
|
86 |
+
| 0.0012 | 15.14 | 1650 | 0.3329 | 26.4396 |
|
87 |
+
| 0.0015 | 15.6 | 1700 | 0.3336 | 27.0188 |
|
88 |
+
| 0.0009 | 16.06 | 1750 | 0.3361 | 26.4569 |
|
89 |
+
| 0.001 | 16.51 | 1800 | 0.3483 | 26.4655 |
|
90 |
+
| 0.0014 | 16.97 | 1850 | 0.3533 | 26.2666 |
|
91 |
+
| 0.0004 | 17.43 | 1900 | 0.3581 | 26.0678 |
|
92 |
+
| 0.0004 | 17.89 | 1950 | 0.3688 | 26.5087 |
|
93 |
+
| 0.0003 | 18.35 | 2000 | 0.3738 | 26.2148 |
|
94 |
+
| 0.0004 | 18.81 | 2050 | 0.3729 | 26.1197 |
|
95 |
+
| 0.0005 | 19.27 | 2100 | 0.3850 | 25.8776 |
|
96 |
+
| 0.0002 | 19.72 | 2150 | 0.3874 | 25.9900 |
|
97 |
+
| 0.0004 | 20.18 | 2200 | 0.3927 | 25.9727 |
|
98 |
+
| 0.0 | 20.64 | 2250 | 0.4037 | 25.9381 |
|
99 |
+
| 0.0 | 21.1 | 2300 | 0.4133 | 25.9208 |
|
100 |
+
| 0.0001 | 21.56 | 2350 | 0.4188 | 25.5836 |
|
101 |
+
| 0.0 | 22.02 | 2400 | 0.4266 | 25.8776 |
|
102 |
+
| 0.0 | 22.48 | 2450 | 0.4380 | 26.1715 |
|
103 |
+
| 0.0 | 22.94 | 2500 | 0.4473 | 25.6268 |
|
104 |
+
| 0.0 | 23.39 | 2550 | 0.4604 | 26.0418 |
|
105 |
+
| 0.0 | 23.85 | 2600 | 0.4681 | 26.1802 |
|
106 |
+
| 0.0 | 24.31 | 2650 | 0.4833 | 26.1197 |
|
107 |
+
| 0.0 | 24.77 | 2700 | 0.4883 | 26.2234 |
|
108 |
+
| 0.0 | 25.23 | 2750 | 0.4993 | 26.4914 |
|
109 |
+
| 0.0 | 25.69 | 2800 | 0.5031 | 26.7768 |
|
110 |
+
| 0.0 | 26.15 | 2850 | 0.5077 | 26.6211 |
|
111 |
+
| 0.0 | 26.61 | 2900 | 0.5102 | 27.1658 |
|
112 |
+
| 0.0 | 27.06 | 2950 | 0.5123 | 28.1688 |
|
113 |
+
| 0.0 | 27.52 | 3000 | 0.5136 | 28.2379 |
|
114 |
+
|
115 |
+
|
116 |
+
### Framework versions
|
117 |
+
|
118 |
+
- Transformers 4.37.0.dev0
|
119 |
+
- Pytorch 1.12.1
|
120 |
+
- Datasets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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
null
|
55 |
+
],
|
56 |
+
[
|
57 |
+
2,
|
58 |
+
50359
|
59 |
+
]
|
60 |
+
],
|
61 |
+
"is_multilingual": true,
|
62 |
+
"lang_to_id": {
|
63 |
+
"<|af|>": 50327,
|
64 |
+
"<|am|>": 50334,
|
65 |
+
"<|ar|>": 50272,
|
66 |
+
"<|as|>": 50350,
|
67 |
+
"<|az|>": 50304,
|
68 |
+
"<|ba|>": 50355,
|
69 |
+
"<|be|>": 50330,
|
70 |
+
"<|bg|>": 50292,
|
71 |
+
"<|bn|>": 50302,
|
72 |
+
"<|bo|>": 50347,
|
73 |
+
"<|br|>": 50309,
|
74 |
+
"<|bs|>": 50315,
|
75 |
+
"<|ca|>": 50270,
|
76 |
+
"<|cs|>": 50283,
|
77 |
+
"<|cy|>": 50297,
|
78 |
+
"<|da|>": 50285,
|
79 |
+
"<|de|>": 50261,
|
80 |
+
"<|el|>": 50281,
|
81 |
+
"<|en|>": 50259,
|
82 |
+
"<|es|>": 50262,
|
83 |
+
"<|et|>": 50307,
|
84 |
+
"<|eu|>": 50310,
|
85 |
+
"<|fa|>": 50300,
|
86 |
+
"<|fi|>": 50277,
|
87 |
+
"<|fo|>": 50338,
|
88 |
+
"<|fr|>": 50265,
|
89 |
+
"<|gl|>": 50319,
|
90 |
+
"<|gu|>": 50333,
|
91 |
+
"<|haw|>": 50352,
|
92 |
+
"<|ha|>": 50354,
|
93 |
+
"<|he|>": 50279,
|
94 |
+
"<|hi|>": 50276,
|
95 |
+
"<|hr|>": 50291,
|
96 |
+
"<|ht|>": 50339,
|
97 |
+
"<|hu|>": 50286,
|
98 |
+
"<|hy|>": 50312,
|
99 |
+
"<|id|>": 50275,
|
100 |
+
"<|is|>": 50311,
|
101 |
+
"<|it|>": 50274,
|
102 |
+
"<|ja|>": 50266,
|
103 |
+
"<|jw|>": 50356,
|
104 |
+
"<|ka|>": 50329,
|
105 |
+
"<|kk|>": 50316,
|
106 |
+
"<|km|>": 50323,
|
107 |
+
"<|kn|>": 50306,
|
108 |
+
"<|ko|>": 50264,
|
109 |
+
"<|la|>": 50294,
|
110 |
+
"<|lb|>": 50345,
|
111 |
+
"<|ln|>": 50353,
|
112 |
+
"<|lo|>": 50336,
|
113 |
+
"<|lt|>": 50293,
|
114 |
+
"<|lv|>": 50301,
|
115 |
+
"<|mg|>": 50349,
|
116 |
+
"<|mi|>": 50295,
|
117 |
+
"<|mk|>": 50308,
|
118 |
+
"<|ml|>": 50296,
|
119 |
+
"<|mn|>": 50314,
|
120 |
+
"<|mr|>": 50320,
|
121 |
+
"<|ms|>": 50282,
|
122 |
+
"<|mt|>": 50343,
|
123 |
+
"<|my|>": 50346,
|
124 |
+
"<|ne|>": 50313,
|
125 |
+
"<|nl|>": 50271,
|
126 |
+
"<|nn|>": 50342,
|
127 |
+
"<|no|>": 50288,
|
128 |
+
"<|oc|>": 50328,
|
129 |
+
"<|pa|>": 50321,
|
130 |
+
"<|pl|>": 50269,
|
131 |
+
"<|ps|>": 50340,
|
132 |
+
"<|pt|>": 50267,
|
133 |
+
"<|ro|>": 50284,
|
134 |
+
"<|ru|>": 50263,
|
135 |
+
"<|sa|>": 50344,
|
136 |
+
"<|sd|>": 50332,
|
137 |
+
"<|si|>": 50322,
|
138 |
+
"<|sk|>": 50298,
|
139 |
+
"<|sl|>": 50305,
|
140 |
+
"<|sn|>": 50324,
|
141 |
+
"<|so|>": 50326,
|
142 |
+
"<|sq|>": 50317,
|
143 |
+
"<|sr|>": 50303,
|
144 |
+
"<|su|>": 50357,
|
145 |
+
"<|sv|>": 50273,
|
146 |
+
"<|sw|>": 50318,
|
147 |
+
"<|ta|>": 50287,
|
148 |
+
"<|te|>": 50299,
|
149 |
+
"<|tg|>": 50331,
|
150 |
+
"<|th|>": 50289,
|
151 |
+
"<|tk|>": 50341,
|
152 |
+
"<|tl|>": 50348,
|
153 |
+
"<|tr|>": 50268,
|
154 |
+
"<|tt|>": 50351,
|
155 |
+
"<|uk|>": 50280,
|
156 |
+
"<|ur|>": 50290,
|
157 |
+
"<|uz|>": 50337,
|
158 |
+
"<|vi|>": 50278,
|
159 |
+
"<|yi|>": 50335,
|
160 |
+
"<|yo|>": 50325,
|
161 |
+
"<|zh|>": 50260
|
162 |
+
},
|
163 |
+
"max_initial_timestamp_index": 1,
|
164 |
+
"max_length": 448,
|
165 |
+
"no_timestamps_token_id": 50363,
|
166 |
+
"pad_token_id": 50257,
|
167 |
+
"return_timestamps": false,
|
168 |
+
"suppress_tokens": [
|
169 |
+
1,
|
170 |
+
2,
|
171 |
+
7,
|
172 |
+
8,
|
173 |
+
9,
|
174 |
+
10,
|
175 |
+
14,
|
176 |
+
25,
|
177 |
+
26,
|
178 |
+
27,
|
179 |
+
28,
|
180 |
+
29,
|
181 |
+
31,
|
182 |
+
58,
|
183 |
+
59,
|
184 |
+
60,
|
185 |
+
61,
|
186 |
+
62,
|
187 |
+
63,
|
188 |
+
90,
|
189 |
+
91,
|
190 |
+
92,
|
191 |
+
93,
|
192 |
+
359,
|
193 |
+
503,
|
194 |
+
522,
|
195 |
+
542,
|
196 |
+
873,
|
197 |
+
893,
|
198 |
+
902,
|
199 |
+
918,
|
200 |
+
922,
|
201 |
+
931,
|
202 |
+
1350,
|
203 |
+
1853,
|
204 |
+
1982,
|
205 |
+
2460,
|
206 |
+
2627,
|
207 |
+
3246,
|
208 |
+
3253,
|
209 |
+
3268,
|
210 |
+
3536,
|
211 |
+
3846,
|
212 |
+
3961,
|
213 |
+
4183,
|
214 |
+
4667,
|
215 |
+
6585,
|
216 |
+
6647,
|
217 |
+
7273,
|
218 |
+
9061,
|
219 |
+
9383,
|
220 |
+
10428,
|
221 |
+
10929,
|
222 |
+
11938,
|
223 |
+
12033,
|
224 |
+
12331,
|
225 |
+
12562,
|
226 |
+
13793,
|
227 |
+
14157,
|
228 |
+
14635,
|
229 |
+
15265,
|
230 |
+
15618,
|
231 |
+
16553,
|
232 |
+
16604,
|
233 |
+
18362,
|
234 |
+
18956,
|
235 |
+
20075,
|
236 |
+
21675,
|
237 |
+
22520,
|
238 |
+
26130,
|
239 |
+
26161,
|
240 |
+
26435,
|
241 |
+
28279,
|
242 |
+
29464,
|
243 |
+
31650,
|
244 |
+
32302,
|
245 |
+
32470,
|
246 |
+
36865,
|
247 |
+
42863,
|
248 |
+
47425,
|
249 |
+
49870,
|
250 |
+
50254,
|
251 |
+
50258,
|
252 |
+
50358,
|
253 |
+
50359,
|
254 |
+
50360,
|
255 |
+
50361,
|
256 |
+
50362
|
257 |
+
],
|
258 |
+
"task_to_id": {
|
259 |
+
"transcribe": 50359,
|
260 |
+
"translate": 50358
|
261 |
+
},
|
262 |
+
"transformers_version": "4.37.0.dev0"
|
263 |
+
}
|
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:953dd4a846859096694c772b84320274f00c397ce781e25366e58c30642f3e96
|
3 |
size 966995080
|