chickenrice0721
commited on
Commit
•
63be3b8
1
Parent(s):
741b59e
init
Browse files- README.md +103 -3
- config.json +240 -0
- model.bin +3 -0
- preprocessor_config.json +14 -0
- tokenizer.json +0 -0
- vocabulary.json +0 -0
README.md
CHANGED
@@ -1,3 +1,103 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: openai/whisper-large-v3
|
4 |
+
tags:
|
5 |
+
- audio
|
6 |
+
- automatic-speech-recognition
|
7 |
+
- translate
|
8 |
+
- generated_from_trainer
|
9 |
+
language:
|
10 |
+
- zh
|
11 |
+
metrics:
|
12 |
+
- cer
|
13 |
+
- wer
|
14 |
+
model-index:
|
15 |
+
- name: whisper-large-v3-translate-zh-v0.1-lt-ct2
|
16 |
+
results: []
|
17 |
+
---
|
18 |
+
|
19 |
+
# whisper-large-v3-translate-zh-v0.1-lt-ct2
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [openai/whisper-large-v3](https://huggingface.co/openai/whisper-large-v3).
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
3500小时 (日语音频,中文字幕) 数据微调, 翻译模式直出中文
|
26 |
+
|
27 |
+
CTranslate2 版
|
28 |
+
|
29 |
+
## Usage
|
30 |
+
|
31 |
+
task='translate', language='ja'
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- learning_rate: 1e-05
|
39 |
+
- train_batch_size: 32
|
40 |
+
- eval_batch_size: 32
|
41 |
+
- seed: 42
|
42 |
+
- gradient_accumulation_steps: 2
|
43 |
+
- total_train_batch_size: 64
|
44 |
+
- optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_steps: 4000
|
47 |
+
- dropout: 0.1
|
48 |
+
- mask_time_prob: 0.05
|
49 |
+
- mask_feature_prob: 0.2
|
50 |
+
- condition_on_previous_text_rate: 0.5
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Cer | Wer |
|
55 |
+
|:-------------:|:------:|:-----:|:---------------:|:------:|:------:|
|
56 |
+
| 2.1282 | 0.0739 | 1000 | 2.1852 | 1.9014 | 4.4904 |
|
57 |
+
| 1.8567 | 0.1478 | 2000 | 1.8366 | 1.7295 | 3.8716 |
|
58 |
+
| 1.6968 | 0.2217 | 3000 | 1.2615 | 1.6279 | 2.4825 |
|
59 |
+
| 1.6264 | 0.2956 | 4000 | 1.0536 | 1.5625 | 1.8101 |
|
60 |
+
| 1.5687 | 0.3695 | 5000 | 1.0932 | 1.5410 | 2.1218 |
|
61 |
+
| 1.531 | 0.4433 | 6000 | 1.5156 | 1.2533 | 2.3689 |
|
62 |
+
| 1.4875 | 0.5172 | 7000 | 1.4697 | 0.9560 | 1.5588 |
|
63 |
+
| 1.4518 | 0.5911 | 8000 | 1.4521 | 1.0170 | 1.6392 |
|
64 |
+
| 1.4472 | 0.6650 | 9000 | 1.4463 | 1.0084 | 1.6420 |
|
65 |
+
| 1.3991 | 0.7389 | 10000 | 1.4238 | 0.9266 | 1.6992 |
|
66 |
+
| 1.4266 | 0.8128 | 11000 | 1.4141 | 0.8365 | 1.3056 |
|
67 |
+
| 1.3755 | 0.8867 | 12000 | 1.4033 | 0.7904 | 1.3119 |
|
68 |
+
| 1.3833 | 0.9606 | 13000 | 1.4004 | 0.8600 | 1.3333 |
|
69 |
+
| 1.3224 | 1.0345 | 14000 | 1.3770 | 0.8243 | 1.4560 |
|
70 |
+
| 1.3295 | 1.1084 | 15000 | 1.3770 | 0.7852 | 1.4298 |
|
71 |
+
| 1.3136 | 1.1823 | 16000 | 1.3564 | 0.7176 | 1.1826 |
|
72 |
+
| 1.2832 | 1.2561 | 17000 | 1.3535 | 0.6767 | 1.1781 |
|
73 |
+
| 1.2917 | 1.3300 | 18000 | 1.3584 | 0.7255 | 1.1218 |
|
74 |
+
| 1.27 | 1.4039 | 19000 | 1.3330 | 0.6590 | 1.1242 |
|
75 |
+
| 1.2704 | 1.4778 | 20000 | 1.3379 | 0.6934 | 1.1944 |
|
76 |
+
| 1.2614 | 1.5517 | 21000 | 1.3330 | 0.6949 | 1.1820 |
|
77 |
+
| 1.2455 | 1.6256 | 22000 | 1.3350 | 0.6931 | 1.0892 |
|
78 |
+
| 1.2475 | 1.6995 | 23000 | 1.3154 | 0.6662 | 1.1576 |
|
79 |
+
| 1.2583 | 1.7734 | 24000 | 1.3164 | 0.6490 | 1.0705 |
|
80 |
+
| 1.2333 | 1.8473 | 25000 | 1.3184 | 0.6833 | 1.1480 |
|
81 |
+
| 1.2462 | 1.9212 | 26000 | 1.3125 | 0.6672 | 1.1612 |
|
82 |
+
| 1.2279 | 1.9950 | 27000 | 1.3047 | 0.6644 | 1.2179 |
|
83 |
+
| 1.1908 | 2.0689 | 28000 | 1.3047 | 0.6938 | 1.2221 |
|
84 |
+
| 1.1831 | 2.1428 | 29000 | 1.2998 | 0.6316 | 1.0717 |
|
85 |
+
| 1.1705 | 2.2167 | 30000 | 1.3018 | 0.6165 | 1.0958 |
|
86 |
+
| 1.171 | 2.2906 | 31000 | 1.3027 | 0.6109 | 1.0868 |
|
87 |
+
| 1.1567 | 2.3645 | 32000 | 1.3037 | 0.6485 | 1.1736 |
|
88 |
+
| 1.1705 | 2.4384 | 33000 | 1.2969 | 0.6078 | 1.0515 |
|
89 |
+
| 1.1819 | 2.5123 | 34000 | 1.2949 | 0.6158 | 1.0362 |
|
90 |
+
| 1.1447 | 2.5862 | 35000 | 1.2920 | 0.6365 | 1.0558 |
|
91 |
+
| 1.17 | 2.6601 | 36000 | 1.2881 | 0.6339 | 1.0868 |
|
92 |
+
| 1.1495 | 2.7340 | 37000 | 1.2949 | 0.6297 | 1.0437 |
|
93 |
+
| 1.1395 | 2.8078 | 38000 | 1.2900 | 0.6285 | 1.1221 |
|
94 |
+
| 1.15 | 2.8817 | 39000 | 1.2891 | 0.5997 | 1.0217 |
|
95 |
+
| 1.1623 | 2.9556 | 40000 | 1.2881 | 0.6085 | 1.0395 |
|
96 |
+
|
97 |
+
|
98 |
+
### Framework versions
|
99 |
+
|
100 |
+
- Transformers 4.41.1
|
101 |
+
- Pytorch 2.3.1+cu121
|
102 |
+
- Datasets 2.19.1
|
103 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
42 |
+
]
|
43 |
+
],
|
44 |
+
"lang_ids": [
|
45 |
+
50259,
|
46 |
+
50260,
|
47 |
+
50261,
|
48 |
+
50262,
|
49 |
+
50263,
|
50 |
+
50264,
|
51 |
+
50265,
|
52 |
+
50266,
|
53 |
+
50267,
|
54 |
+
50268,
|
55 |
+
50269,
|
56 |
+
50270,
|
57 |
+
50271,
|
58 |
+
50272,
|
59 |
+
50273,
|
60 |
+
50274,
|
61 |
+
50275,
|
62 |
+
50276,
|
63 |
+
50277,
|
64 |
+
50278,
|
65 |
+
50279,
|
66 |
+
50280,
|
67 |
+
50281,
|
68 |
+
50282,
|
69 |
+
50283,
|
70 |
+
50284,
|
71 |
+
50285,
|
72 |
+
50286,
|
73 |
+
50287,
|
74 |
+
50288,
|
75 |
+
50289,
|
76 |
+
50290,
|
77 |
+
50291,
|
78 |
+
50292,
|
79 |
+
50293,
|
80 |
+
50294,
|
81 |
+
50295,
|
82 |
+
50296,
|
83 |
+
50297,
|
84 |
+
50298,
|
85 |
+
50299,
|
86 |
+
50300,
|
87 |
+
50301,
|
88 |
+
50302,
|
89 |
+
50303,
|
90 |
+
50304,
|
91 |
+
50305,
|
92 |
+
50306,
|
93 |
+
50307,
|
94 |
+
50308,
|
95 |
+
50309,
|
96 |
+
50310,
|
97 |
+
50311,
|
98 |
+
50312,
|
99 |
+
50313,
|
100 |
+
50314,
|
101 |
+
50315,
|
102 |
+
50316,
|
103 |
+
50317,
|
104 |
+
50318,
|
105 |
+
50319,
|
106 |
+
50320,
|
107 |
+
50321,
|
108 |
+
50322,
|
109 |
+
50323,
|
110 |
+
50324,
|
111 |
+
50325,
|
112 |
+
50326,
|
113 |
+
50327,
|
114 |
+
50328,
|
115 |
+
50329,
|
116 |
+
50330,
|
117 |
+
50331,
|
118 |
+
50332,
|
119 |
+
50333,
|
120 |
+
50334,
|
121 |
+
50335,
|
122 |
+
50336,
|
123 |
+
50337,
|
124 |
+
50338,
|
125 |
+
50339,
|
126 |
+
50340,
|
127 |
+
50341,
|
128 |
+
50342,
|
129 |
+
50343,
|
130 |
+
50344,
|
131 |
+
50345,
|
132 |
+
50346,
|
133 |
+
50347,
|
134 |
+
50348,
|
135 |
+
50349,
|
136 |
+
50350,
|
137 |
+
50351,
|
138 |
+
50352,
|
139 |
+
50353,
|
140 |
+
50354,
|
141 |
+
50355,
|
142 |
+
50356,
|
143 |
+
50357,
|
144 |
+
50358
|
145 |
+
],
|
146 |
+
"suppress_ids": [
|
147 |
+
1,
|
148 |
+
2,
|
149 |
+
7,
|
150 |
+
8,
|
151 |
+
9,
|
152 |
+
10,
|
153 |
+
14,
|
154 |
+
25,
|
155 |
+
26,
|
156 |
+
27,
|
157 |
+
28,
|
158 |
+
29,
|
159 |
+
31,
|
160 |
+
58,
|
161 |
+
59,
|
162 |
+
60,
|
163 |
+
61,
|
164 |
+
62,
|
165 |
+
63,
|
166 |
+
90,
|
167 |
+
91,
|
168 |
+
92,
|
169 |
+
93,
|
170 |
+
359,
|
171 |
+
503,
|
172 |
+
522,
|
173 |
+
542,
|
174 |
+
873,
|
175 |
+
893,
|
176 |
+
902,
|
177 |
+
918,
|
178 |
+
922,
|
179 |
+
931,
|
180 |
+
1350,
|
181 |
+
1853,
|
182 |
+
1982,
|
183 |
+
2460,
|
184 |
+
2627,
|
185 |
+
3246,
|
186 |
+
3253,
|
187 |
+
3268,
|
188 |
+
3536,
|
189 |
+
3846,
|
190 |
+
3961,
|
191 |
+
4183,
|
192 |
+
4667,
|
193 |
+
6585,
|
194 |
+
6647,
|
195 |
+
7273,
|
196 |
+
9061,
|
197 |
+
9383,
|
198 |
+
10428,
|
199 |
+
10929,
|
200 |
+
11938,
|
201 |
+
12033,
|
202 |
+
12331,
|
203 |
+
12562,
|
204 |
+
13793,
|
205 |
+
14157,
|
206 |
+
14635,
|
207 |
+
15265,
|
208 |
+
15618,
|
209 |
+
16553,
|
210 |
+
16604,
|
211 |
+
18362,
|
212 |
+
18956,
|
213 |
+
20075,
|
214 |
+
21675,
|
215 |
+
22520,
|
216 |
+
26130,
|
217 |
+
26161,
|
218 |
+
26435,
|
219 |
+
28279,
|
220 |
+
29464,
|
221 |
+
31650,
|
222 |
+
32302,
|
223 |
+
32470,
|
224 |
+
36865,
|
225 |
+
42863,
|
226 |
+
47425,
|
227 |
+
49870,
|
228 |
+
50254,
|
229 |
+
50258,
|
230 |
+
50359,
|
231 |
+
50360,
|
232 |
+
50361,
|
233 |
+
50362,
|
234 |
+
50363
|
235 |
+
],
|
236 |
+
"suppress_ids_begin": [
|
237 |
+
220,
|
238 |
+
50257
|
239 |
+
]
|
240 |
+
}
|
model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:34a0d0f1ae6d774dcd03ccfde54abc6e13c6640f7591bd5676aac52a6add3793
|
3 |
+
size 3087284276
|
preprocessor_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"chunk_length": 30,
|
3 |
+
"feature_extractor_type": "WhisperFeatureExtractor",
|
4 |
+
"feature_size": 128,
|
5 |
+
"hop_length": 160,
|
6 |
+
"n_fft": 400,
|
7 |
+
"n_samples": 480000,
|
8 |
+
"nb_max_frames": 3000,
|
9 |
+
"padding_side": "right",
|
10 |
+
"padding_value": 0.0,
|
11 |
+
"processor_class": "WhisperProcessor",
|
12 |
+
"return_attention_mask": false,
|
13 |
+
"sampling_rate": 16000
|
14 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
vocabulary.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|