sanchit-gandhi commited on
Commit
03e8797
·
1 Parent(s): 31883c4
Files changed (3) hide show
  1. config.json +273 -0
  2. preprocessor_config.json +10 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SpeechToSpeechModelWithCodeHiFiGAN"
4
+ ],
5
+ "decoder": {
6
+ "_name_or_path": "/home/suraj/projects/mbart-50/hf_models/mbart-50-large-one-to-many/",
7
+ "_num_labels": 3,
8
+ "activation_dropout": 0.0,
9
+ "activation_function": "relu",
10
+ "add_bias_logits": false,
11
+ "add_cross_attention": true,
12
+ "add_final_layer_norm": true,
13
+ "architectures": [
14
+ "MBartForConditionalGeneration"
15
+ ],
16
+ "attention_dropout": 0.0,
17
+ "bad_words_ids": null,
18
+ "bos_token_id": 0,
19
+ "chunk_size_feed_forward": 0,
20
+ "classif_dropout": 0.0,
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": null,
42
+ "forced_eos_token_id": 2,
43
+ "gradient_checkpointing": false,
44
+ "id2label": {
45
+ "0": "LABEL_0",
46
+ "1": "LABEL_1",
47
+ "2": "LABEL_2"
48
+ },
49
+ "init_std": 0.02,
50
+ "is_decoder": true,
51
+ "is_encoder_decoder": false,
52
+ "label2id": {
53
+ "LABEL_0": 0,
54
+ "LABEL_1": 1,
55
+ "LABEL_2": 2
56
+ },
57
+ "layernorm_embedding": false,
58
+ "learned_embedding": false,
59
+ "length_penalty": 1.0,
60
+ "max_length": 200,
61
+ "max_position_embeddings": 4002,
62
+ "min_length": 0,
63
+ "model_type": "mbart",
64
+ "no_repeat_ngram_size": 0,
65
+ "normalize_before": true,
66
+ "normalize_embedding": true,
67
+ "num_beam_groups": 1,
68
+ "num_beams": 5,
69
+ "num_hidden_layers": 12,
70
+ "num_return_sequences": 1,
71
+ "output_attentions": false,
72
+ "output_hidden_states": false,
73
+ "output_past": true,
74
+ "output_scores": false,
75
+ "pad_token_id": 1,
76
+ "prefix": null,
77
+ "problem_type": null,
78
+ "pruned_heads": {},
79
+ "remove_invalid_values": false,
80
+ "repetition_penalty": 1.0,
81
+ "return_dict": true,
82
+ "return_dict_in_generate": false,
83
+ "scale_embedding": true,
84
+ "sep_token_id": null,
85
+ "static_position_embeddings": false,
86
+ "task_specific_params": null,
87
+ "temperature": 1.0,
88
+ "tf_legacy_loss": false,
89
+ "tie_encoder_decoder": false,
90
+ "tie_word_embeddings": true,
91
+ "tokenizer_class": "MBart50Tokenizer",
92
+ "top_k": 50,
93
+ "top_p": 1.0,
94
+ "torch_dtype": null,
95
+ "torchscript": false,
96
+ "transformers_version": "4.22.0.dev0",
97
+ "typical_p": 1.0,
98
+ "use_bfloat16": false,
99
+ "use_cache": true,
100
+ "vocab_size": 1007
101
+ },
102
+ "encoder": {
103
+ "_name_or_path": "",
104
+ "activation_dropout": 0.1,
105
+ "adapter_kernel_size": 3,
106
+ "adapter_stride": 2,
107
+ "add_adapter": true,
108
+ "add_cross_attention": false,
109
+ "apply_spec_augment": true,
110
+ "architectures": [
111
+ "Wav2Vec2ConformerForPreTraining"
112
+ ],
113
+ "attention_dropout": 0.1,
114
+ "bad_words_ids": null,
115
+ "bos_token_id": 1,
116
+ "chunk_size_feed_forward": 0,
117
+ "classifier_proj_size": 256,
118
+ "codevector_dim": 768,
119
+ "conformer_conv_dropout": 0.1,
120
+ "contrastive_logits_temperature": 0.1,
121
+ "conv_bias": true,
122
+ "conv_depthwise_kernel_size": 31,
123
+ "conv_dim": [
124
+ 512,
125
+ 512,
126
+ 512,
127
+ 512,
128
+ 512,
129
+ 512,
130
+ 512
131
+ ],
132
+ "conv_kernel": [
133
+ 10,
134
+ 3,
135
+ 3,
136
+ 3,
137
+ 3,
138
+ 2,
139
+ 2
140
+ ],
141
+ "conv_stride": [
142
+ 5,
143
+ 2,
144
+ 2,
145
+ 2,
146
+ 2,
147
+ 2,
148
+ 2
149
+ ],
150
+ "cross_attention_hidden_size": null,
151
+ "ctc_loss_reduction": "sum",
152
+ "ctc_zero_infinity": false,
153
+ "decoder_start_token_id": null,
154
+ "diversity_loss_weight": 0.1,
155
+ "diversity_penalty": 0.0,
156
+ "do_sample": false,
157
+ "do_stable_layer_norm": true,
158
+ "early_stopping": false,
159
+ "encoder_no_repeat_ngram_size": 0,
160
+ "eos_token_id": 2,
161
+ "exponential_decay_length_penalty": null,
162
+ "feat_extract_activation": "gelu",
163
+ "feat_extract_dropout": 0.0,
164
+ "feat_extract_norm": "layer",
165
+ "feat_proj_dropout": 0.1,
166
+ "feat_quantizer_dropout": 0.0,
167
+ "final_dropout": 0.1,
168
+ "finetuning_task": null,
169
+ "forced_bos_token_id": null,
170
+ "forced_eos_token_id": null,
171
+ "gradient_checkpointing": false,
172
+ "hidden_act": "swish",
173
+ "hidden_dropout": 0.1,
174
+ "hidden_dropout_prob": 0.1,
175
+ "hidden_size": 1024,
176
+ "id2label": {
177
+ "0": "LABEL_0",
178
+ "1": "LABEL_1"
179
+ },
180
+ "initializer_range": 0.02,
181
+ "intermediate_size": 4096,
182
+ "is_decoder": false,
183
+ "is_encoder_decoder": false,
184
+ "label2id": {
185
+ "LABEL_0": 0,
186
+ "LABEL_1": 1
187
+ },
188
+ "layer_norm_eps": 1e-05,
189
+ "layerdrop": 0.0,
190
+ "length_penalty": 1.0,
191
+ "mask_feature_length": 10,
192
+ "mask_feature_min_masks": 0,
193
+ "mask_feature_prob": 0.0,
194
+ "mask_time_length": 10,
195
+ "mask_time_min_masks": 2,
196
+ "mask_time_prob": 0.05,
197
+ "max_length": 20,
198
+ "max_source_positions": 5000,
199
+ "min_length": 0,
200
+ "model_type": "wav2vec2-conformer",
201
+ "no_repeat_ngram_size": 0,
202
+ "num_adapter_layers": 1,
203
+ "num_attention_heads": 16,
204
+ "num_beam_groups": 1,
205
+ "num_beams": 1,
206
+ "num_codevector_groups": 2,
207
+ "num_codevectors_per_group": 320,
208
+ "num_conv_pos_embedding_groups": 16,
209
+ "num_conv_pos_embeddings": 128,
210
+ "num_feat_extract_layers": 7,
211
+ "num_hidden_layers": 24,
212
+ "num_negatives": 100,
213
+ "num_return_sequences": 1,
214
+ "output_attentions": false,
215
+ "output_hidden_size": 1024,
216
+ "output_hidden_states": false,
217
+ "output_scores": false,
218
+ "pad_token_id": 0,
219
+ "position_embeddings_type": "relative",
220
+ "prefix": null,
221
+ "problem_type": null,
222
+ "proj_codevector_dim": 768,
223
+ "pruned_heads": {},
224
+ "remove_invalid_values": false,
225
+ "repetition_penalty": 1.0,
226
+ "return_dict": true,
227
+ "return_dict_in_generate": false,
228
+ "rotary_embedding_base": 10000,
229
+ "sep_token_id": null,
230
+ "task_specific_params": null,
231
+ "tdnn_dilation": [
232
+ 1,
233
+ 2,
234
+ 3,
235
+ 1,
236
+ 1
237
+ ],
238
+ "tdnn_dim": [
239
+ 512,
240
+ 512,
241
+ 512,
242
+ 512,
243
+ 1500
244
+ ],
245
+ "tdnn_kernel": [
246
+ 5,
247
+ 3,
248
+ 3,
249
+ 1,
250
+ 1
251
+ ],
252
+ "temperature": 1.0,
253
+ "tf_legacy_loss": false,
254
+ "tie_encoder_decoder": false,
255
+ "tie_word_embeddings": true,
256
+ "tokenizer_class": null,
257
+ "top_k": 50,
258
+ "top_p": 1.0,
259
+ "torch_dtype": "float32",
260
+ "torchscript": false,
261
+ "transformers_version": "4.22.0.dev0",
262
+ "typical_p": 1.0,
263
+ "use_bfloat16": false,
264
+ "use_weighted_layer_sum": false,
265
+ "vocab_size": null,
266
+ "xvector_output_dim": 512
267
+ },
268
+ "is_encoder_decoder": true,
269
+ "model_type": "speech-to-speech",
270
+ "tie_word_embeddings": false,
271
+ "torch_dtype": "float32",
272
+ "transformers_version": null
273
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
+ "feature_size": 1,
5
+ "padding_side": "right",
6
+ "padding_value": 0.0,
7
+ "processor_class": "Wav2Vec2Processor",
8
+ "return_attention_mask": true,
9
+ "sampling_rate": 16000
10
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:972dea0bd6437169aec1ed09cabb4339798005103686d7d0622cb33ffbbabaf6
3
+ size 6707566504