txya900619
commited on
Commit
•
062fffa
1
Parent(s):
0d1aa0c
Upload WhisperForConditionalGeneration
Browse files- config.json +52 -0
- generation_config.json +266 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +0 -0
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "output/whisper-large-v3/checkpoint-best/",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"apply_spec_augment": false,
|
6 |
+
"architectures": [
|
7 |
+
"WhisperForConditionalGeneration"
|
8 |
+
],
|
9 |
+
"attention_dropout": 0.0,
|
10 |
+
"begin_suppress_tokens": [
|
11 |
+
220,
|
12 |
+
50257
|
13 |
+
],
|
14 |
+
"bos_token_id": 50257,
|
15 |
+
"classifier_proj_size": 256,
|
16 |
+
"d_model": 1280,
|
17 |
+
"decoder_attention_heads": 20,
|
18 |
+
"decoder_ffn_dim": 5120,
|
19 |
+
"decoder_layerdrop": 0.0,
|
20 |
+
"decoder_layers": 32,
|
21 |
+
"decoder_start_token_id": 50258,
|
22 |
+
"dropout": 0.0,
|
23 |
+
"encoder_attention_heads": 20,
|
24 |
+
"encoder_ffn_dim": 5120,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 32,
|
27 |
+
"eos_token_id": 50257,
|
28 |
+
"forced_decoder_ids": null,
|
29 |
+
"init_std": 0.02,
|
30 |
+
"is_encoder_decoder": true,
|
31 |
+
"mask_feature_length": 10,
|
32 |
+
"mask_feature_min_masks": 0,
|
33 |
+
"mask_feature_prob": 0.0,
|
34 |
+
"mask_time_length": 10,
|
35 |
+
"mask_time_min_masks": 2,
|
36 |
+
"mask_time_prob": 0.05,
|
37 |
+
"max_length": 448,
|
38 |
+
"max_source_positions": 1500,
|
39 |
+
"max_target_positions": 448,
|
40 |
+
"median_filter_width": 7,
|
41 |
+
"model_type": "whisper",
|
42 |
+
"num_hidden_layers": 32,
|
43 |
+
"num_mel_bins": 128,
|
44 |
+
"pad_token_id": 50256,
|
45 |
+
"scale_embedding": false,
|
46 |
+
"suppress_tokens": [],
|
47 |
+
"torch_dtype": "float32",
|
48 |
+
"transformers_version": "4.39.3",
|
49 |
+
"use_cache": false,
|
50 |
+
"use_weighted_layer_sum": false,
|
51 |
+
"vocab_size": 51866
|
52 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,266 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
7,
|
5 |
+
0
|
6 |
+
],
|
7 |
+
[
|
8 |
+
10,
|
9 |
+
17
|
10 |
+
],
|
11 |
+
[
|
12 |
+
12,
|
13 |
+
18
|
14 |
+
],
|
15 |
+
[
|
16 |
+
13,
|
17 |
+
12
|
18 |
+
],
|
19 |
+
[
|
20 |
+
16,
|
21 |
+
1
|
22 |
+
],
|
23 |
+
[
|
24 |
+
17,
|
25 |
+
14
|
26 |
+
],
|
27 |
+
[
|
28 |
+
19,
|
29 |
+
11
|
30 |
+
],
|
31 |
+
[
|
32 |
+
21,
|
33 |
+
4
|
34 |
+
],
|
35 |
+
[
|
36 |
+
24,
|
37 |
+
1
|
38 |
+
],
|
39 |
+
[
|
40 |
+
25,
|
41 |
+
6
|
42 |
+
]
|
43 |
+
],
|
44 |
+
"attn_implementation": "sdpa",
|
45 |
+
"begin_suppress_tokens": [
|
46 |
+
220,
|
47 |
+
50257
|
48 |
+
],
|
49 |
+
"bos_token_id": 50257,
|
50 |
+
"decoder_start_token_id": 50258,
|
51 |
+
"eos_token_id": 50257,
|
52 |
+
"forced_decoder_ids": [
|
53 |
+
[
|
54 |
+
1,
|
55 |
+
null
|
56 |
+
],
|
57 |
+
[
|
58 |
+
2,
|
59 |
+
50360
|
60 |
+
]
|
61 |
+
],
|
62 |
+
"is_multilingual": true,
|
63 |
+
"lang_to_id": {
|
64 |
+
"<|af|>": 50327,
|
65 |
+
"<|am|>": 50334,
|
66 |
+
"<|ar|>": 50272,
|
67 |
+
"<|as|>": 50350,
|
68 |
+
"<|az|>": 50304,
|
69 |
+
"<|ba|>": 50355,
|
70 |
+
"<|be|>": 50330,
|
71 |
+
"<|bg|>": 50292,
|
72 |
+
"<|bn|>": 50302,
|
73 |
+
"<|bo|>": 50347,
|
74 |
+
"<|br|>": 50309,
|
75 |
+
"<|bs|>": 50315,
|
76 |
+
"<|ca|>": 50270,
|
77 |
+
"<|cs|>": 50283,
|
78 |
+
"<|cy|>": 50297,
|
79 |
+
"<|da|>": 50285,
|
80 |
+
"<|de|>": 50261,
|
81 |
+
"<|el|>": 50281,
|
82 |
+
"<|en|>": 50259,
|
83 |
+
"<|es|>": 50262,
|
84 |
+
"<|et|>": 50307,
|
85 |
+
"<|eu|>": 50310,
|
86 |
+
"<|fa|>": 50300,
|
87 |
+
"<|fi|>": 50277,
|
88 |
+
"<|fo|>": 50338,
|
89 |
+
"<|fr|>": 50265,
|
90 |
+
"<|gl|>": 50319,
|
91 |
+
"<|gu|>": 50333,
|
92 |
+
"<|haw|>": 50352,
|
93 |
+
"<|ha|>": 50354,
|
94 |
+
"<|he|>": 50279,
|
95 |
+
"<|hi|>": 50276,
|
96 |
+
"<|hr|>": 50291,
|
97 |
+
"<|ht|>": 50339,
|
98 |
+
"<|hu|>": 50286,
|
99 |
+
"<|hy|>": 50312,
|
100 |
+
"<|id|>": 50275,
|
101 |
+
"<|is|>": 50311,
|
102 |
+
"<|it|>": 50274,
|
103 |
+
"<|ja|>": 50266,
|
104 |
+
"<|jw|>": 50356,
|
105 |
+
"<|ka|>": 50329,
|
106 |
+
"<|kk|>": 50316,
|
107 |
+
"<|km|>": 50323,
|
108 |
+
"<|kn|>": 50306,
|
109 |
+
"<|ko|>": 50264,
|
110 |
+
"<|la|>": 50294,
|
111 |
+
"<|lb|>": 50345,
|
112 |
+
"<|ln|>": 50353,
|
113 |
+
"<|lo|>": 50336,
|
114 |
+
"<|lt|>": 50293,
|
115 |
+
"<|lv|>": 50301,
|
116 |
+
"<|mg|>": 50349,
|
117 |
+
"<|mi|>": 50295,
|
118 |
+
"<|mk|>": 50308,
|
119 |
+
"<|ml|>": 50296,
|
120 |
+
"<|mn|>": 50314,
|
121 |
+
"<|mr|>": 50320,
|
122 |
+
"<|ms|>": 50282,
|
123 |
+
"<|mt|>": 50343,
|
124 |
+
"<|my|>": 50346,
|
125 |
+
"<|ne|>": 50313,
|
126 |
+
"<|nl|>": 50271,
|
127 |
+
"<|nn|>": 50342,
|
128 |
+
"<|no|>": 50288,
|
129 |
+
"<|oc|>": 50328,
|
130 |
+
"<|pa|>": 50321,
|
131 |
+
"<|pl|>": 50269,
|
132 |
+
"<|ps|>": 50340,
|
133 |
+
"<|pt|>": 50267,
|
134 |
+
"<|ro|>": 50284,
|
135 |
+
"<|ru|>": 50263,
|
136 |
+
"<|sa|>": 50344,
|
137 |
+
"<|sd|>": 50332,
|
138 |
+
"<|si|>": 50322,
|
139 |
+
"<|sk|>": 50298,
|
140 |
+
"<|sl|>": 50305,
|
141 |
+
"<|sn|>": 50324,
|
142 |
+
"<|so|>": 50326,
|
143 |
+
"<|sq|>": 50317,
|
144 |
+
"<|sr|>": 50303,
|
145 |
+
"<|su|>": 50357,
|
146 |
+
"<|sv|>": 50273,
|
147 |
+
"<|sw|>": 50318,
|
148 |
+
"<|ta|>": 50287,
|
149 |
+
"<|te|>": 50299,
|
150 |
+
"<|tg|>": 50331,
|
151 |
+
"<|th|>": 50289,
|
152 |
+
"<|tk|>": 50341,
|
153 |
+
"<|tl|>": 50348,
|
154 |
+
"<|tr|>": 50268,
|
155 |
+
"<|tt|>": 50351,
|
156 |
+
"<|uk|>": 50280,
|
157 |
+
"<|ur|>": 50290,
|
158 |
+
"<|uz|>": 50337,
|
159 |
+
"<|vi|>": 50278,
|
160 |
+
"<|yi|>": 50335,
|
161 |
+
"<|yo|>": 50325,
|
162 |
+
"<|yue|>": 50358,
|
163 |
+
"<|zh|>": 50260
|
164 |
+
},
|
165 |
+
"max_initial_timestamp_index": 50,
|
166 |
+
"max_length": 448,
|
167 |
+
"no_timestamps_token_id": 50364,
|
168 |
+
"pad_token_id": 50257,
|
169 |
+
"prev_sot_token_id": 50362,
|
170 |
+
"return_timestamps": false,
|
171 |
+
"suppress_tokens": [
|
172 |
+
1,
|
173 |
+
2,
|
174 |
+
7,
|
175 |
+
8,
|
176 |
+
9,
|
177 |
+
10,
|
178 |
+
14,
|
179 |
+
25,
|
180 |
+
26,
|
181 |
+
27,
|
182 |
+
28,
|
183 |
+
29,
|
184 |
+
31,
|
185 |
+
58,
|
186 |
+
59,
|
187 |
+
60,
|
188 |
+
61,
|
189 |
+
62,
|
190 |
+
63,
|
191 |
+
90,
|
192 |
+
91,
|
193 |
+
92,
|
194 |
+
93,
|
195 |
+
359,
|
196 |
+
503,
|
197 |
+
522,
|
198 |
+
542,
|
199 |
+
873,
|
200 |
+
893,
|
201 |
+
902,
|
202 |
+
918,
|
203 |
+
922,
|
204 |
+
931,
|
205 |
+
1350,
|
206 |
+
1853,
|
207 |
+
1982,
|
208 |
+
2460,
|
209 |
+
2627,
|
210 |
+
3246,
|
211 |
+
3253,
|
212 |
+
3268,
|
213 |
+
3536,
|
214 |
+
3846,
|
215 |
+
3961,
|
216 |
+
4183,
|
217 |
+
4667,
|
218 |
+
6585,
|
219 |
+
6647,
|
220 |
+
7273,
|
221 |
+
9061,
|
222 |
+
9383,
|
223 |
+
10428,
|
224 |
+
10929,
|
225 |
+
11938,
|
226 |
+
12033,
|
227 |
+
12331,
|
228 |
+
12562,
|
229 |
+
13793,
|
230 |
+
14157,
|
231 |
+
14635,
|
232 |
+
15265,
|
233 |
+
15618,
|
234 |
+
16553,
|
235 |
+
16604,
|
236 |
+
18362,
|
237 |
+
18956,
|
238 |
+
20075,
|
239 |
+
21675,
|
240 |
+
22520,
|
241 |
+
26130,
|
242 |
+
26161,
|
243 |
+
26435,
|
244 |
+
28279,
|
245 |
+
29464,
|
246 |
+
31650,
|
247 |
+
32302,
|
248 |
+
32470,
|
249 |
+
36865,
|
250 |
+
42863,
|
251 |
+
47425,
|
252 |
+
49870,
|
253 |
+
50254,
|
254 |
+
50258,
|
255 |
+
50359,
|
256 |
+
50360,
|
257 |
+
50361,
|
258 |
+
50362,
|
259 |
+
50363
|
260 |
+
],
|
261 |
+
"task_to_id": {
|
262 |
+
"transcribe": 50360,
|
263 |
+
"translate": 50359
|
264 |
+
},
|
265 |
+
"transformers_version": "4.39.3"
|
266 |
+
}
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a8bb1addbb6f2bbd1b8b6fa21836eea73489310b4fb419a06351185daca981f
|
3 |
+
size 4993448880
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6544397761c19c746b9c27d7c2350830ad97f7cb37c60420b1e4313a60b57914
|
3 |
+
size 1180663192
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|