gmenon commited on
Commit
a006412
1 Parent(s): 3a1b898

upload model files

Browse files
Files changed (3) hide show
  1. config.json +255 -0
  2. generation_config.json +14 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SpeechEncoderDecoderModel"
4
+ ],
5
+ "decoder": {
6
+ "_name_or_path": "facebook/bart-large",
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
+ "begin_suppress_tokens": 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
+ "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
+ "length_penalty": 1.0,
58
+ "max_length": 20,
59
+ "max_position_embeddings": 1024,
60
+ "min_length": 0,
61
+ "model_type": "bart",
62
+ "no_repeat_ngram_size": 3,
63
+ "normalize_before": false,
64
+ "num_beam_groups": 1,
65
+ "num_beams": 4,
66
+ "num_hidden_layers": 12,
67
+ "num_return_sequences": 1,
68
+ "output_attentions": false,
69
+ "output_hidden_states": false,
70
+ "output_scores": false,
71
+ "pad_token_id": 1,
72
+ "prefix": null,
73
+ "problem_type": null,
74
+ "pruned_heads": {},
75
+ "remove_invalid_values": false,
76
+ "repetition_penalty": 1.0,
77
+ "return_dict": true,
78
+ "return_dict_in_generate": false,
79
+ "scale_embedding": false,
80
+ "sep_token_id": null,
81
+ "suppress_tokens": 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": null,
110
+ "torchscript": false,
111
+ "typical_p": 1.0,
112
+ "use_bfloat16": false,
113
+ "use_cache": true,
114
+ "vocab_size": 50265
115
+ },
116
+ "decoder_start_token_id": 0,
117
+ "encoder": {
118
+ "_name_or_path": "facebook/hubert-large-ls960-ft",
119
+ "activation_dropout": 0.1,
120
+ "add_cross_attention": false,
121
+ "apply_spec_augment": true,
122
+ "architectures": [
123
+ "HubertForCTC"
124
+ ],
125
+ "attention_dropout": 0.1,
126
+ "bad_words_ids": null,
127
+ "begin_suppress_tokens": null,
128
+ "bos_token_id": 1,
129
+ "chunk_size_feed_forward": 0,
130
+ "classifier_proj_size": 256,
131
+ "conv_bias": true,
132
+ "conv_dim": [
133
+ 512,
134
+ 512,
135
+ 512,
136
+ 512,
137
+ 512,
138
+ 512,
139
+ 512
140
+ ],
141
+ "conv_kernel": [
142
+ 10,
143
+ 3,
144
+ 3,
145
+ 3,
146
+ 3,
147
+ 2,
148
+ 2
149
+ ],
150
+ "conv_stride": [
151
+ 5,
152
+ 2,
153
+ 2,
154
+ 2,
155
+ 2,
156
+ 2,
157
+ 2
158
+ ],
159
+ "cross_attention_hidden_size": null,
160
+ "ctc_loss_reduction": "sum",
161
+ "ctc_zero_infinity": false,
162
+ "decoder_start_token_id": null,
163
+ "diversity_loss_weight": 0.1,
164
+ "diversity_penalty": 0.0,
165
+ "do_sample": false,
166
+ "do_stable_layer_norm": true,
167
+ "early_stopping": false,
168
+ "encoder_no_repeat_ngram_size": 0,
169
+ "eos_token_id": 2,
170
+ "exponential_decay_length_penalty": null,
171
+ "feat_extract_activation": "gelu",
172
+ "feat_extract_dropout": 0.0,
173
+ "feat_extract_norm": "layer",
174
+ "feat_proj_dropout": 0.0,
175
+ "feat_proj_layer_norm": true,
176
+ "final_dropout": 0.1,
177
+ "finetuning_task": null,
178
+ "forced_bos_token_id": null,
179
+ "forced_eos_token_id": null,
180
+ "gradient_checkpointing": false,
181
+ "hidden_act": "gelu",
182
+ "hidden_dropout": 0.1,
183
+ "hidden_dropout_prob": 0.1,
184
+ "hidden_size": 1024,
185
+ "id2label": {
186
+ "0": "LABEL_0",
187
+ "1": "LABEL_1"
188
+ },
189
+ "initializer_range": 0.02,
190
+ "intermediate_size": 4096,
191
+ "is_decoder": false,
192
+ "is_encoder_decoder": false,
193
+ "label2id": {
194
+ "LABEL_0": 0,
195
+ "LABEL_1": 1
196
+ },
197
+ "layer_norm_eps": 1e-05,
198
+ "layerdrop": 0.0,
199
+ "length_penalty": 1.0,
200
+ "mask_feature_length": 10,
201
+ "mask_feature_min_masks": 0,
202
+ "mask_feature_prob": 0.0,
203
+ "mask_time_length": 10,
204
+ "mask_time_min_masks": 2,
205
+ "mask_time_prob": 0.05,
206
+ "max_length": 20,
207
+ "min_length": 0,
208
+ "model_type": "hubert",
209
+ "no_repeat_ngram_size": 0,
210
+ "num_attention_heads": 16,
211
+ "num_beam_groups": 1,
212
+ "num_beams": 1,
213
+ "num_conv_pos_embedding_groups": 16,
214
+ "num_conv_pos_embeddings": 128,
215
+ "num_feat_extract_layers": 7,
216
+ "num_hidden_layers": 24,
217
+ "num_return_sequences": 1,
218
+ "output_attentions": false,
219
+ "output_hidden_states": false,
220
+ "output_scores": false,
221
+ "pad_token_id": 0,
222
+ "prefix": null,
223
+ "problem_type": null,
224
+ "pruned_heads": {},
225
+ "remove_invalid_values": false,
226
+ "repetition_penalty": 1.0,
227
+ "return_dict": true,
228
+ "return_dict_in_generate": false,
229
+ "sep_token_id": null,
230
+ "suppress_tokens": null,
231
+ "task_specific_params": null,
232
+ "temperature": 1.0,
233
+ "tf_legacy_loss": false,
234
+ "tie_encoder_decoder": false,
235
+ "tie_word_embeddings": true,
236
+ "tokenizer_class": null,
237
+ "top_k": 50,
238
+ "top_p": 1.0,
239
+ "torch_dtype": null,
240
+ "torchscript": false,
241
+ "typical_p": 1.0,
242
+ "use_bfloat16": false,
243
+ "use_weighted_layer_sum": false,
244
+ "vocab_size": 32
245
+ },
246
+ "eos_token_id": 2,
247
+ "is_encoder_decoder": true,
248
+ "max_length": 200,
249
+ "model_type": "speech-encoder-decoder",
250
+ "num_beams": 5,
251
+ "pad_token_id": 2,
252
+ "tie_word_embeddings": false,
253
+ "torch_dtype": "float32",
254
+ "transformers_version": "4.33.0.dev0"
255
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "decoder_start_token_id": 2,
5
+ "early_stopping": true,
6
+ "eos_token_id": 2,
7
+ "forced_bos_token_id": 0,
8
+ "forced_eos_token_id": 2,
9
+ "max_length": 200,
10
+ "no_repeat_ngram_size": 3,
11
+ "num_beams": 5,
12
+ "pad_token_id": 1,
13
+ "transformers_version": "4.33.0.dev0"
14
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57923adad3ced91b7979e1fea25b8ab67480b6461bf758f8f69ca3f76d6bc098
3
+ size 2278337685