nacielo commited on
Commit
045d04a
·
1 Parent(s): 856e025

Upload model

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