patrickvonplaten
commited on
Commit
•
00d996f
1
Parent(s):
2b58853
upload model files
Browse files- config.json +289 -0
- merges.txt +0 -0
- preprocessor_config.json +9 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,289 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SpeechEncoderDecoderModel"
|
4 |
+
],
|
5 |
+
"decoder": {
|
6 |
+
"_name_or_path": "facebook/bart-base",
|
7 |
+
"activation_dropout": 0.1,
|
8 |
+
"activation_function": "gelu",
|
9 |
+
"add_bias_logits": false,
|
10 |
+
"add_cross_attention": true,
|
11 |
+
"add_final_layer_norm": false,
|
12 |
+
"architectures": [
|
13 |
+
"BartModel"
|
14 |
+
],
|
15 |
+
"attention_dropout": 0.1,
|
16 |
+
"bad_words_ids": null,
|
17 |
+
"bos_token_id": 0,
|
18 |
+
"chunk_size_feed_forward": 0,
|
19 |
+
"classif_dropout": 0.1,
|
20 |
+
"classifier_dropout": 0.0,
|
21 |
+
"cross_attention_hidden_size": null,
|
22 |
+
"d_model": 768,
|
23 |
+
"decoder_attention_heads": 12,
|
24 |
+
"decoder_ffn_dim": 3072,
|
25 |
+
"decoder_layerdrop": 0.0,
|
26 |
+
"decoder_layers": 6,
|
27 |
+
"decoder_start_token_id": 2,
|
28 |
+
"diversity_penalty": 0.0,
|
29 |
+
"do_sample": false,
|
30 |
+
"dropout": 0.1,
|
31 |
+
"early_stopping": true,
|
32 |
+
"encoder_attention_heads": 12,
|
33 |
+
"encoder_ffn_dim": 3072,
|
34 |
+
"encoder_layerdrop": 0.0,
|
35 |
+
"encoder_layers": 6,
|
36 |
+
"encoder_no_repeat_ngram_size": 0,
|
37 |
+
"eos_token_id": 2,
|
38 |
+
"finetuning_task": null,
|
39 |
+
"forced_bos_token_id": null,
|
40 |
+
"forced_eos_token_id": 2,
|
41 |
+
"gradient_checkpointing": false,
|
42 |
+
"id2label": {
|
43 |
+
"0": "LABEL_0",
|
44 |
+
"1": "LABEL_1",
|
45 |
+
"2": "LABEL_2"
|
46 |
+
},
|
47 |
+
"init_std": 0.02,
|
48 |
+
"is_decoder": true,
|
49 |
+
"is_encoder_decoder": false,
|
50 |
+
"label2id": {
|
51 |
+
"LABEL_0": 0,
|
52 |
+
"LABEL_1": 1,
|
53 |
+
"LABEL_2": 2
|
54 |
+
},
|
55 |
+
"length_penalty": 1.0,
|
56 |
+
"max_length": 20,
|
57 |
+
"max_position_embeddings": 1024,
|
58 |
+
"min_length": 0,
|
59 |
+
"model_type": "bart",
|
60 |
+
"no_repeat_ngram_size": 3,
|
61 |
+
"normalize_before": false,
|
62 |
+
"normalize_embedding": true,
|
63 |
+
"num_beam_groups": 1,
|
64 |
+
"num_beams": 4,
|
65 |
+
"num_hidden_layers": 6,
|
66 |
+
"num_return_sequences": 1,
|
67 |
+
"output_attentions": false,
|
68 |
+
"output_hidden_states": false,
|
69 |
+
"output_scores": false,
|
70 |
+
"pad_token_id": 1,
|
71 |
+
"prefix": null,
|
72 |
+
"problem_type": null,
|
73 |
+
"pruned_heads": {},
|
74 |
+
"remove_invalid_values": false,
|
75 |
+
"repetition_penalty": 1.0,
|
76 |
+
"return_dict": true,
|
77 |
+
"return_dict_in_generate": false,
|
78 |
+
"scale_embedding": false,
|
79 |
+
"sep_token_id": null,
|
80 |
+
"task_specific_params": {
|
81 |
+
"summarization": {
|
82 |
+
"length_penalty": 1.0,
|
83 |
+
"max_length": 128,
|
84 |
+
"min_length": 12,
|
85 |
+
"num_beams": 4
|
86 |
+
},
|
87 |
+
"summarization_cnn": {
|
88 |
+
"length_penalty": 2.0,
|
89 |
+
"max_length": 142,
|
90 |
+
"min_length": 56,
|
91 |
+
"num_beams": 4
|
92 |
+
},
|
93 |
+
"summarization_xsum": {
|
94 |
+
"length_penalty": 1.0,
|
95 |
+
"max_length": 62,
|
96 |
+
"min_length": 11,
|
97 |
+
"num_beams": 6
|
98 |
+
}
|
99 |
+
},
|
100 |
+
"temperature": 1.0,
|
101 |
+
"tie_encoder_decoder": false,
|
102 |
+
"tie_word_embeddings": true,
|
103 |
+
"tokenizer_class": null,
|
104 |
+
"top_k": 50,
|
105 |
+
"top_p": 1.0,
|
106 |
+
"torch_dtype": "float32",
|
107 |
+
"torchscript": false,
|
108 |
+
"transformers_version": "4.16.0.dev0",
|
109 |
+
"use_bfloat16": false,
|
110 |
+
"use_cache": true,
|
111 |
+
"vocab_size": 50265
|
112 |
+
},
|
113 |
+
"decoder_start_token_id": 0,
|
114 |
+
"encoder": {
|
115 |
+
"_name_or_path": "facebook/wav2vec2-base",
|
116 |
+
"activation_dropout": 0.0,
|
117 |
+
"adapter_kernel_size": 3,
|
118 |
+
"adapter_stride": 2,
|
119 |
+
"add_adapter": false,
|
120 |
+
"add_cross_attention": false,
|
121 |
+
"apply_spec_augment": true,
|
122 |
+
"architectures": [
|
123 |
+
"Wav2Vec2ForPreTraining"
|
124 |
+
],
|
125 |
+
"attention_dropout": 0.1,
|
126 |
+
"bad_words_ids": null,
|
127 |
+
"bos_token_id": 1,
|
128 |
+
"chunk_size_feed_forward": 0,
|
129 |
+
"classifier_proj_size": 256,
|
130 |
+
"codevector_dim": 256,
|
131 |
+
"contrastive_logits_temperature": 0.1,
|
132 |
+
"conv_bias": false,
|
133 |
+
"conv_dim": [
|
134 |
+
512,
|
135 |
+
512,
|
136 |
+
512,
|
137 |
+
512,
|
138 |
+
512,
|
139 |
+
512,
|
140 |
+
512
|
141 |
+
],
|
142 |
+
"conv_kernel": [
|
143 |
+
10,
|
144 |
+
3,
|
145 |
+
3,
|
146 |
+
3,
|
147 |
+
3,
|
148 |
+
2,
|
149 |
+
2
|
150 |
+
],
|
151 |
+
"conv_stride": [
|
152 |
+
5,
|
153 |
+
2,
|
154 |
+
2,
|
155 |
+
2,
|
156 |
+
2,
|
157 |
+
2,
|
158 |
+
2
|
159 |
+
],
|
160 |
+
"cross_attention_hidden_size": null,
|
161 |
+
"ctc_loss_reduction": "sum",
|
162 |
+
"ctc_zero_infinity": false,
|
163 |
+
"decoder_start_token_id": null,
|
164 |
+
"diversity_loss_weight": 0.1,
|
165 |
+
"diversity_penalty": 0.0,
|
166 |
+
"do_sample": false,
|
167 |
+
"do_stable_layer_norm": false,
|
168 |
+
"early_stopping": false,
|
169 |
+
"encoder_no_repeat_ngram_size": 0,
|
170 |
+
"eos_token_id": 2,
|
171 |
+
"feat_extract_activation": "gelu",
|
172 |
+
"feat_extract_norm": "group",
|
173 |
+
"feat_proj_dropout": 0.1,
|
174 |
+
"feat_quantizer_dropout": 0.0,
|
175 |
+
"final_dropout": 0.0,
|
176 |
+
"finetuning_task": null,
|
177 |
+
"forced_bos_token_id": null,
|
178 |
+
"forced_eos_token_id": null,
|
179 |
+
"freeze_feat_extract_train": true,
|
180 |
+
"hidden_act": "gelu",
|
181 |
+
"hidden_dropout": 0.1,
|
182 |
+
"hidden_size": 768,
|
183 |
+
"id2label": {
|
184 |
+
"0": "LABEL_0",
|
185 |
+
"1": "LABEL_1"
|
186 |
+
},
|
187 |
+
"initializer_range": 0.02,
|
188 |
+
"intermediate_size": 3072,
|
189 |
+
"is_decoder": false,
|
190 |
+
"is_encoder_decoder": false,
|
191 |
+
"label2id": {
|
192 |
+
"LABEL_0": 0,
|
193 |
+
"LABEL_1": 1
|
194 |
+
},
|
195 |
+
"layer_norm_eps": 1e-05,
|
196 |
+
"layerdrop": 0.05,
|
197 |
+
"length_penalty": 1.0,
|
198 |
+
"mask_channel_length": 10,
|
199 |
+
"mask_channel_min_space": 1,
|
200 |
+
"mask_channel_other": 0.0,
|
201 |
+
"mask_channel_prob": 0.0,
|
202 |
+
"mask_channel_selection": "static",
|
203 |
+
"mask_feature_length": 10,
|
204 |
+
"mask_feature_min_masks": 0,
|
205 |
+
"mask_feature_prob": 0.0,
|
206 |
+
"mask_time_length": 10,
|
207 |
+
"mask_time_min_masks": 2,
|
208 |
+
"mask_time_min_space": 1,
|
209 |
+
"mask_time_other": 0.0,
|
210 |
+
"mask_time_prob": 0.05,
|
211 |
+
"mask_time_selection": "static",
|
212 |
+
"max_length": 20,
|
213 |
+
"min_length": 0,
|
214 |
+
"model_type": "wav2vec2",
|
215 |
+
"no_mask_channel_overlap": false,
|
216 |
+
"no_mask_time_overlap": false,
|
217 |
+
"no_repeat_ngram_size": 0,
|
218 |
+
"num_adapter_layers": 3,
|
219 |
+
"num_attention_heads": 12,
|
220 |
+
"num_beam_groups": 1,
|
221 |
+
"num_beams": 1,
|
222 |
+
"num_codevector_groups": 2,
|
223 |
+
"num_codevectors_per_group": 320,
|
224 |
+
"num_conv_pos_embedding_groups": 16,
|
225 |
+
"num_conv_pos_embeddings": 128,
|
226 |
+
"num_feat_extract_layers": 7,
|
227 |
+
"num_hidden_layers": 12,
|
228 |
+
"num_negatives": 100,
|
229 |
+
"num_return_sequences": 1,
|
230 |
+
"output_attentions": false,
|
231 |
+
"output_hidden_size": 768,
|
232 |
+
"output_hidden_states": false,
|
233 |
+
"output_scores": false,
|
234 |
+
"pad_token_id": 0,
|
235 |
+
"prefix": null,
|
236 |
+
"problem_type": null,
|
237 |
+
"proj_codevector_dim": 256,
|
238 |
+
"pruned_heads": {},
|
239 |
+
"remove_invalid_values": false,
|
240 |
+
"repetition_penalty": 1.0,
|
241 |
+
"return_dict": true,
|
242 |
+
"return_dict_in_generate": false,
|
243 |
+
"sep_token_id": null,
|
244 |
+
"task_specific_params": null,
|
245 |
+
"tdnn_dilation": [
|
246 |
+
1,
|
247 |
+
2,
|
248 |
+
3,
|
249 |
+
1,
|
250 |
+
1
|
251 |
+
],
|
252 |
+
"tdnn_dim": [
|
253 |
+
512,
|
254 |
+
512,
|
255 |
+
512,
|
256 |
+
512,
|
257 |
+
1500
|
258 |
+
],
|
259 |
+
"tdnn_kernel": [
|
260 |
+
5,
|
261 |
+
3,
|
262 |
+
3,
|
263 |
+
1,
|
264 |
+
1
|
265 |
+
],
|
266 |
+
"temperature": 1.0,
|
267 |
+
"tie_encoder_decoder": false,
|
268 |
+
"tie_word_embeddings": true,
|
269 |
+
"tokenizer_class": null,
|
270 |
+
"top_k": 50,
|
271 |
+
"top_p": 1.0,
|
272 |
+
"torch_dtype": null,
|
273 |
+
"torchscript": false,
|
274 |
+
"transformers_version": "4.16.0.dev0",
|
275 |
+
"use_bfloat16": false,
|
276 |
+
"use_weighted_layer_sum": false,
|
277 |
+
"vocab_size": 32,
|
278 |
+
"xvector_output_dim": 512
|
279 |
+
},
|
280 |
+
"eos_token_id": 2,
|
281 |
+
"is_encoder_decoder": true,
|
282 |
+
"max_length": 200,
|
283 |
+
"model_type": "speech-encoder-decoder",
|
284 |
+
"num_beams": 5,
|
285 |
+
"pad_token_id": 1,
|
286 |
+
"tie_word_embeddings": false,
|
287 |
+
"torch_dtype": "float32",
|
288 |
+
"transformers_version": null
|
289 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": false,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a3c19411d639367be6859e4090958fea18360493dbb300926303b1eaf06ebf7
|
3 |
+
size 762042203
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "trim_offsets": true, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "facebook/bart-base", "tokenizer_class": "BartTokenizer"}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|