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