Lakoc commited on
Commit
8ef2708
·
verified ·
1 Parent(s): 9056160

Upload model

Browse files
Files changed (3) hide show
  1. config.json +31 -269
  2. generation_config.json +3 -8
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,275 +1,37 @@
1
  {
2
- "_name_or_path": "BUT-FIT/ED-small",
 
 
3
  "architectures": [
4
- "JointCTCAttentionEncoderDecoder"
5
  ],
6
- "auto_map": {
7
- "AutoConfig": "BUT-FIT/ED-small--configuration_decred.JointCTCAttentionEncoderDecoderConfig",
8
- "AutoModelForSpeechSeq2Seq": "BUT-FIT/ED-small--modeling_decred.JointCTCAttentionEncoderDecoder"
9
- },
10
- "ctc_weight": 0.3,
11
- "decoder": {
12
- "_name_or_path": "Lakoc/gpt2_tiny_decoder_6_layers",
13
- "activation_function": "gelu_new",
14
- "add_cross_attention": true,
15
- "architectures": null,
16
- "attn_pdrop": 0.1,
17
- "bad_words_ids": null,
18
- "begin_suppress_tokens": null,
19
- "bos_token_id": 50256,
20
- "chunk_size_feed_forward": 0,
21
- "cross_attention_hidden_size": null,
22
- "decoder_start_token_id": null,
23
- "diversity_penalty": 0.0,
24
- "do_sample": false,
25
- "early_stopping": false,
26
- "embd_pdrop": 0.1,
27
- "encoder_no_repeat_ngram_size": 0,
28
- "eos_token_id": 50256,
29
- "exponential_decay_length_penalty": null,
30
- "finetuning_task": null,
31
- "forced_bos_token_id": null,
32
- "forced_eos_token_id": null,
33
- "id2label": {
34
- "0": "LABEL_0",
35
- "1": "LABEL_1"
36
- },
37
- "initializer_range": 0.02,
38
- "is_decoder": true,
39
- "is_encoder_decoder": false,
40
- "label2id": {
41
- "LABEL_0": 0,
42
- "LABEL_1": 1
43
- },
44
- "layer_norm_epsilon": 1e-05,
45
- "length_penalty": 1.0,
46
- "max_length": 20,
47
- "min_length": 0,
48
- "model_type": "gpt2",
49
- "n_embd": 256,
50
- "n_head": 4,
51
- "n_inner": 2048,
52
- "n_layer": 6,
53
- "n_positions": 1024,
54
- "no_repeat_ngram_size": 0,
55
- "num_beam_groups": 1,
56
- "num_beams": 1,
57
- "num_return_sequences": 1,
58
- "output_attentions": false,
59
- "output_hidden_size": 256,
60
- "output_hidden_states": false,
61
- "output_scores": false,
62
- "pad_token_id": null,
63
- "pos_emb_fixed": true,
64
- "prefix": null,
65
- "problem_type": null,
66
- "pruned_heads": {},
67
- "remove_invalid_values": false,
68
- "reorder_and_upcast_attn": false,
69
- "repetition_penalty": 1.0,
70
- "resid_pdrop": 0.1,
71
- "return_dict": true,
72
- "return_dict_in_generate": false,
73
- "scale_attn_by_inverse_layer_idx": false,
74
- "scale_attn_weights": true,
75
- "sep_token_id": null,
76
- "summary_activation": null,
77
- "summary_first_dropout": 0.1,
78
- "summary_proj_to_labels": true,
79
- "summary_type": "cls_index",
80
- "summary_use_proj": true,
81
- "suppress_tokens": null,
82
- "task_specific_params": null,
83
- "temperature": 1.0,
84
- "tf_legacy_loss": false,
85
- "tie_encoder_decoder": false,
86
- "tie_word_embeddings": false,
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": 5000
96
- },
97
- "decoder_pos_emb_fixed": true,
98
- "decoder_start_token_id": 0,
99
- "decoder_vocab_size": 5000,
100
- "encoder": {
101
- "_name_or_path": "Lakoc/fisher_ebranchformer_enc_12_layers_fixed",
102
- "activation_dropout": 0.1,
103
- "adapter_attn_dim": null,
104
- "adapter_kernel_size": 3,
105
- "adapter_stride": 2,
106
- "add_adapter": false,
107
- "add_cross_attention": false,
108
- "apply_spec_augment": false,
109
- "architectures": null,
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
- "conformer_conv_dropout": 0.1,
118
- "contrastive_logits_temperature": 0.1,
119
- "conv_bias": false,
120
- "conv_depthwise_kernel_size": 31,
121
- "conv_dim": [
122
- 256,
123
- 256
124
- ],
125
- "conv_kernel": [
126
- 3,
127
- 3
128
- ],
129
- "conv_stride": [
130
- 2,
131
- 2
132
- ],
133
- "cross_attention_hidden_size": null,
134
- "csgu_activation": "identity",
135
- "csgu_conv_dropout": 0.1,
136
- "csgu_kernel_size": 31,
137
- "csgu_use_linear_after_conv": false,
138
- "ctc_loss_reduction": "mean",
139
- "ctc_zero_infinity": true,
140
- "decoder_start_token_id": null,
141
- "diversity_loss_weight": 0.1,
142
- "diversity_penalty": 0.0,
143
- "do_sample": false,
144
- "do_stable_layer_norm": false,
145
- "early_stopping": false,
146
- "encoder_no_repeat_ngram_size": 0,
147
- "eos_token_id": 2,
148
- "expect_2d_input": true,
149
- "exponential_decay_length_penalty": null,
150
- "fe_position_embeddings": false,
151
- "feat_extract_activation": "gelu",
152
- "feat_extract_norm": "group",
153
- "feat_proj_dropout": 0.0,
154
- "feat_quantizer_dropout": 0.0,
155
- "final_dropout": 0.1,
156
- "finetuning_task": null,
157
- "forced_bos_token_id": null,
158
- "forced_eos_token_id": null,
159
- "hidden_act": "gelu",
160
- "hidden_dropout": 0.1,
161
- "hidden_size": 256,
162
- "id2label": {
163
- "0": "LABEL_0",
164
- "1": "LABEL_1"
165
- },
166
- "initializer_range": 0.02,
167
- "intermediate_size": 1024,
168
- "is_causal": false,
169
- "is_decoder": false,
170
- "is_encoder_decoder": false,
171
- "label2id": {
172
- "LABEL_0": 0,
173
- "LABEL_1": 1
174
- },
175
- "layer_norm_eps": 1e-05,
176
- "layerdrop": 0.0,
177
- "length_penalty": 1.0,
178
- "mask_feature_length": 10,
179
- "mask_feature_min_masks": 0,
180
- "mask_feature_prob": 0.0,
181
- "mask_time_length": 10,
182
- "mask_time_min_masks": 2,
183
- "mask_time_prob": 0.05,
184
- "max_length": 20,
185
- "max_source_positions": 1024,
186
- "merge_conv_kernel": 31,
187
- "min_length": 0,
188
- "model_type": "wav2vec2-ebranchformer",
189
- "no_repeat_ngram_size": 0,
190
- "num_adapter_layers": 3,
191
- "num_attention_heads": 4,
192
- "num_beam_groups": 1,
193
- "num_beams": 1,
194
- "num_codevector_groups": 2,
195
- "num_codevectors_per_group": 320,
196
- "num_conv_pos_embedding_groups": 16,
197
- "num_conv_pos_embeddings": 128,
198
- "num_feat_extract_layers": 2,
199
- "num_hidden_layers": 12,
200
- "num_mel_bins": 80,
201
- "num_negatives": 100,
202
- "num_return_sequences": 1,
203
- "output_attentions": false,
204
- "output_hidden_size": 256,
205
- "output_hidden_states": false,
206
- "output_scores": false,
207
- "pad_token_id": 3,
208
- "position_embeddings_type": "relative",
209
- "prefix": null,
210
- "problem_type": null,
211
- "proj_codevector_dim": 256,
212
- "pruned_heads": {},
213
- "remove_invalid_values": false,
214
- "repetition_penalty": 1.0,
215
- "return_dict": true,
216
- "return_dict_in_generate": false,
217
- "rotary_embedding_base": 10000,
218
- "second_dim_input_size": 80,
219
- "sep_token_id": null,
220
- "suppress_tokens": null,
221
- "task_specific_params": null,
222
- "tdnn_dilation": [
223
- 1,
224
- 2,
225
- 3,
226
- 1,
227
- 1
228
- ],
229
- "tdnn_dim": [
230
- 512,
231
- 512,
232
- 512,
233
- 512,
234
- 1500
235
- ],
236
- "tdnn_kernel": [
237
- 5,
238
- 3,
239
- 3,
240
- 1,
241
- 1
242
- ],
243
- "temperature": 1.0,
244
- "tf_legacy_loss": false,
245
- "tie_encoder_decoder": false,
246
- "tie_word_embeddings": true,
247
- "tokenizer_class": null,
248
- "top_k": 50,
249
- "top_p": 1.0,
250
- "torch_dtype": null,
251
- "torchscript": false,
252
- "typical_p": 1.0,
253
- "use_bfloat16": false,
254
- "use_fbanks": true,
255
- "use_macaron_ff": true,
256
- "use_weighted_layer_sum": false,
257
- "vocab_size": 5000,
258
- "xvector_output_dim": 512
259
- },
260
- "encoder_ctc_loss_reduction": "mean",
261
- "encoder_expect_2d_input": true,
262
- "encoder_layerdrop": 0.0,
263
- "encoder_pad_token_id": 3,
264
- "encoder_second_dim_input_size": 80,
265
- "encoder_vocab_size": 5000,
266
- "is_encoder_decoder": true,
267
- "lsm_factor": 0.1,
268
- "model_type": "joint_aed_ctc_speech-encoder-decoder",
269
- "pad_token_id": 3,
270
- "shared_lm_head": false,
271
  "tie_word_embeddings": false,
272
- "tokenizer_class": "<class 'transformers.tokenization_utils_fast.PreTrainedTokenizerFast'>",
273
  "torch_dtype": "float32",
274
- "transformers_version": "4.39.3"
 
 
275
  }
 
1
  {
2
+ "_name_or_path": "Lakoc/gpt2_tiny_decoder_6_layers",
3
+ "activation_function": "gelu_new",
4
+ "add_cross_attention": true,
5
  "architectures": [
6
+ "GPT2LMHeadModel"
7
  ],
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 50256,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "initializer_range": 0.02,
13
+ "is_decoder": true,
14
+ "layer_norm_epsilon": 1e-05,
15
+ "model_type": "gpt2",
16
+ "n_embd": 256,
17
+ "n_head": 4,
18
+ "n_inner": 2048,
19
+ "n_layer": 6,
20
+ "n_positions": 1024,
21
+ "output_hidden_size": 256,
22
+ "pos_emb_fixed": true,
23
+ "reorder_and_upcast_attn": false,
24
+ "resid_pdrop": 0.1,
25
+ "scale_attn_by_inverse_layer_idx": false,
26
+ "scale_attn_weights": true,
27
+ "summary_activation": null,
28
+ "summary_first_dropout": 0.1,
29
+ "summary_proj_to_labels": true,
30
+ "summary_type": "cls_index",
31
+ "summary_use_proj": true,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  "tie_word_embeddings": false,
 
33
  "torch_dtype": "float32",
34
+ "transformers_version": "4.39.3",
35
+ "use_cache": true,
36
+ "vocab_size": 5000
37
  }
generation_config.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
- "bos_token_id": 0,
3
- "ctc_margin": 0,
4
- "ctc_weight": 0.3,
5
- "decoder_start_token_id": 0,
6
- "eos_token_id": 1,
7
- "max_length": 512,
8
- "num_beams": 5,
9
- "pad_token_id": 3,
10
  "transformers_version": "4.39.3"
11
  }
 
1
  {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
 
 
 
 
 
5
  "transformers_version": "4.39.3"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:31a3bc1b8cb452a252755a74c4d4bdfe2e65fb4abd5c89f7d4fc2ccff677e317
3
- size 154213032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02a9dcfe5e2e4592050f07597b946047ede14abbfc96110be65d3a6200209b44
3
+ size 48145544