gmenon commited on
Commit
7b64963
·
1 Parent(s): 06c19e3

upload model files

Browse files
config.json ADDED
@@ -0,0 +1,269 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SpeechEncoderDecoderModel"
4
+ ],
5
+ "decoder": {
6
+ "_name_or_path": "gpt2",
7
+ "activation_function": "gelu_new",
8
+ "add_cross_attention": true,
9
+ "architectures": [
10
+ "GPT2LMHeadModel"
11
+ ],
12
+ "attn_pdrop": 0.1,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": 50256,
16
+ "chunk_size_feed_forward": 0,
17
+ "cross_attention_hidden_size": null,
18
+ "decoder_start_token_id": null,
19
+ "diversity_penalty": 0.0,
20
+ "do_sample": false,
21
+ "early_stopping": false,
22
+ "embd_pdrop": 0.1,
23
+ "encoder_no_repeat_ngram_size": 0,
24
+ "eos_token_id": 50256,
25
+ "exponential_decay_length_penalty": null,
26
+ "finetuning_task": null,
27
+ "forced_bos_token_id": null,
28
+ "forced_eos_token_id": null,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "is_decoder": true,
35
+ "is_encoder_decoder": false,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1
39
+ },
40
+ "layer_norm_epsilon": 1e-05,
41
+ "length_penalty": 1.0,
42
+ "max_length": 20,
43
+ "min_length": 0,
44
+ "model_type": "gpt2",
45
+ "n_ctx": 1024,
46
+ "n_embd": 768,
47
+ "n_head": 12,
48
+ "n_inner": null,
49
+ "n_layer": 12,
50
+ "n_positions": 1024,
51
+ "no_repeat_ngram_size": 0,
52
+ "num_beam_groups": 1,
53
+ "num_beams": 1,
54
+ "num_return_sequences": 1,
55
+ "output_attentions": false,
56
+ "output_hidden_states": false,
57
+ "output_scores": false,
58
+ "pad_token_id": null,
59
+ "prefix": null,
60
+ "problem_type": null,
61
+ "pruned_heads": {},
62
+ "remove_invalid_values": false,
63
+ "reorder_and_upcast_attn": false,
64
+ "repetition_penalty": 1.0,
65
+ "resid_pdrop": 0.1,
66
+ "return_dict": true,
67
+ "return_dict_in_generate": false,
68
+ "scale_attn_by_inverse_layer_idx": false,
69
+ "scale_attn_weights": true,
70
+ "sep_token_id": null,
71
+ "summary_activation": null,
72
+ "summary_first_dropout": 0.1,
73
+ "summary_proj_to_labels": true,
74
+ "summary_type": "cls_index",
75
+ "summary_use_proj": true,
76
+ "suppress_tokens": null,
77
+ "task_specific_params": {
78
+ "text-generation": {
79
+ "do_sample": true,
80
+ "max_length": 50
81
+ }
82
+ },
83
+ "temperature": 1.0,
84
+ "tf_legacy_loss": false,
85
+ "tie_encoder_decoder": false,
86
+ "tie_word_embeddings": true,
87
+ "tokenizer_class": null,
88
+ "top_k": 50,
89
+ "top_p": 1.0,
90
+ "torch_dtype": null,
91
+ "torchscript": false,
92
+ "typical_p": 1.0,
93
+ "use_bfloat16": false,
94
+ "use_cache": true,
95
+ "vocab_size": 50257
96
+ },
97
+ "decoder_start_token_id": 50256,
98
+ "encoder": {
99
+ "_name_or_path": "facebook/wav2vec2-large-960h-lv60-self",
100
+ "activation_dropout": 0.1,
101
+ "adapter_attn_dim": null,
102
+ "adapter_kernel_size": 3,
103
+ "adapter_stride": 2,
104
+ "add_adapter": true,
105
+ "add_cross_attention": false,
106
+ "apply_spec_augment": true,
107
+ "architectures": [
108
+ "Wav2Vec2ForCTC"
109
+ ],
110
+ "attention_dropout": 0.1,
111
+ "bad_words_ids": null,
112
+ "begin_suppress_tokens": null,
113
+ "bos_token_id": 1,
114
+ "chunk_size_feed_forward": 0,
115
+ "classifier_proj_size": 256,
116
+ "codevector_dim": 256,
117
+ "contrastive_logits_temperature": 0.1,
118
+ "conv_bias": true,
119
+ "conv_dim": [
120
+ 512,
121
+ 512,
122
+ 512,
123
+ 512,
124
+ 512,
125
+ 512,
126
+ 512
127
+ ],
128
+ "conv_kernel": [
129
+ 10,
130
+ 3,
131
+ 3,
132
+ 3,
133
+ 3,
134
+ 2,
135
+ 2
136
+ ],
137
+ "conv_stride": [
138
+ 5,
139
+ 2,
140
+ 2,
141
+ 2,
142
+ 2,
143
+ 2,
144
+ 2
145
+ ],
146
+ "cross_attention_hidden_size": null,
147
+ "ctc_loss_reduction": "sum",
148
+ "ctc_zero_infinity": false,
149
+ "decoder_start_token_id": null,
150
+ "diversity_loss_weight": 0.1,
151
+ "diversity_penalty": 0.0,
152
+ "do_sample": false,
153
+ "do_stable_layer_norm": true,
154
+ "early_stopping": false,
155
+ "encoder_no_repeat_ngram_size": 0,
156
+ "eos_token_id": 2,
157
+ "exponential_decay_length_penalty": null,
158
+ "feat_extract_activation": "gelu",
159
+ "feat_extract_dropout": 0.0,
160
+ "feat_extract_norm": "layer",
161
+ "feat_proj_dropout": 0.0,
162
+ "feat_quantizer_dropout": 0.0,
163
+ "final_dropout": 0.1,
164
+ "finetuning_task": null,
165
+ "forced_bos_token_id": null,
166
+ "forced_eos_token_id": null,
167
+ "gradient_checkpointing": false,
168
+ "hidden_act": "gelu",
169
+ "hidden_dropout": 0.1,
170
+ "hidden_dropout_prob": 0.1,
171
+ "hidden_size": 1024,
172
+ "id2label": {
173
+ "0": "LABEL_0",
174
+ "1": "LABEL_1"
175
+ },
176
+ "initializer_range": 0.02,
177
+ "intermediate_size": 4096,
178
+ "is_decoder": false,
179
+ "is_encoder_decoder": false,
180
+ "label2id": {
181
+ "LABEL_0": 0,
182
+ "LABEL_1": 1
183
+ },
184
+ "layer_norm_eps": 1e-05,
185
+ "layerdrop": 0.0,
186
+ "length_penalty": 1.0,
187
+ "mask_feature_length": 10,
188
+ "mask_feature_min_masks": 0,
189
+ "mask_feature_prob": 0.0,
190
+ "mask_time_length": 10,
191
+ "mask_time_min_masks": 2,
192
+ "mask_time_prob": 0.05,
193
+ "max_length": 20,
194
+ "min_length": 0,
195
+ "model_type": "wav2vec2",
196
+ "no_repeat_ngram_size": 0,
197
+ "num_adapter_layers": 3,
198
+ "num_attention_heads": 16,
199
+ "num_beam_groups": 1,
200
+ "num_beams": 1,
201
+ "num_codevector_groups": 2,
202
+ "num_codevectors_per_group": 320,
203
+ "num_conv_pos_embedding_groups": 16,
204
+ "num_conv_pos_embeddings": 128,
205
+ "num_feat_extract_layers": 7,
206
+ "num_hidden_layers": 24,
207
+ "num_negatives": 100,
208
+ "num_return_sequences": 1,
209
+ "output_attentions": false,
210
+ "output_hidden_size": 1024,
211
+ "output_hidden_states": false,
212
+ "output_scores": false,
213
+ "pad_token_id": 0,
214
+ "prefix": null,
215
+ "problem_type": null,
216
+ "proj_codevector_dim": 256,
217
+ "pruned_heads": {},
218
+ "remove_invalid_values": false,
219
+ "repetition_penalty": 1.0,
220
+ "return_dict": true,
221
+ "return_dict_in_generate": false,
222
+ "sep_token_id": null,
223
+ "suppress_tokens": null,
224
+ "task_specific_params": null,
225
+ "tdnn_dilation": [
226
+ 1,
227
+ 2,
228
+ 3,
229
+ 1,
230
+ 1
231
+ ],
232
+ "tdnn_dim": [
233
+ 512,
234
+ 512,
235
+ 512,
236
+ 512,
237
+ 1500
238
+ ],
239
+ "tdnn_kernel": [
240
+ 5,
241
+ 3,
242
+ 3,
243
+ 1,
244
+ 1
245
+ ],
246
+ "temperature": 1.0,
247
+ "tf_legacy_loss": false,
248
+ "tie_encoder_decoder": false,
249
+ "tie_word_embeddings": true,
250
+ "tokenizer_class": null,
251
+ "top_k": 50,
252
+ "top_p": 1.0,
253
+ "torch_dtype": null,
254
+ "torchscript": false,
255
+ "typical_p": 1.0,
256
+ "use_bfloat16": false,
257
+ "use_weighted_layer_sum": false,
258
+ "vocab_size": 32,
259
+ "xvector_output_dim": 512
260
+ },
261
+ "eos_token_id": 50256,
262
+ "is_encoder_decoder": true,
263
+ "max_length": 200,
264
+ "model_type": "speech-encoder-decoder",
265
+ "num_beams": 5,
266
+ "tie_word_embeddings": false,
267
+ "torch_dtype": "float32",
268
+ "transformers_version": "4.33.0.dev0"
269
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "max_length": 200,
6
+ "num_beams": 5,
7
+ "transformers_version": "4.33.0.dev0"
8
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
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:490061c5047d4a1dddcb4fcd53c53a8a9ff6d55e8b9e6e83fe86508eb48d695e
3
+ size 1951874389
special_tokens_map.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "unk_token": "<|endoftext|>"
5
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|endoftext|>",
6
+ "model_max_length": 1024,
7
+ "processor_class": "Wav2Vec2Processor",
8
+ "tokenizer_class": "GPT2Tokenizer",
9
+ "unk_token": "<|endoftext|>"
10
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff