Feature Extraction
Transformers
Safetensors
diva
custom_code
Helw150 commited on
Commit
e512cdc
1 Parent(s): 2005049
Files changed (1) hide show
  1. config.json +101 -216
config.json CHANGED
@@ -3,249 +3,134 @@
3
  "auto_map": {
4
  "AutoModelForCausalLM": "modeling_diva.DiVAModel"
5
  },
6
- "return_dict": true,
7
- "output_hidden_states": false,
8
- "output_attentions": false,
9
- "torchscript": false,
10
- "torch_dtype": null,
11
- "use_bfloat16": false,
12
- "tf_legacy_loss": false,
13
- "pruned_heads": {},
14
- "tie_word_embeddings": true,
15
- "chunk_size_feed_forward": 0,
16
- "is_encoder_decoder": false,
17
- "is_decoder": false,
18
- "cross_attention_hidden_size": null,
19
- "add_cross_attention": false,
20
- "tie_encoder_decoder": false,
21
- "max_length": 20,
22
- "min_length": 0,
23
- "do_sample": false,
24
- "early_stopping": false,
25
- "num_beams": 1,
26
- "num_beam_groups": 1,
27
- "diversity_penalty": 0,
28
- "temperature": 1,
29
- "top_k": 50,
30
- "top_p": 1,
31
- "typical_p": 1,
32
- "repetition_penalty": 1,
33
- "length_penalty": 1,
34
- "no_repeat_ngram_size": 0,
35
- "encoder_no_repeat_ngram_size": 0,
36
- "bad_words_ids": null,
37
- "num_return_sequences": 1,
38
- "output_scores": false,
39
- "return_dict_in_generate": false,
40
- "forced_bos_token_id": null,
41
- "forced_eos_token_id": null,
42
- "remove_invalid_values": false,
43
- "exponential_decay_length_penalty": null,
44
- "suppress_tokens": null,
45
- "begin_suppress_tokens": [
46
- 128000,
47
- 128009,
48
- 128002
49
- ],
50
- "architectures": null,
51
- "finetuning_task": null,
52
- "id2label": {
53
- "0": "LABEL_0",
54
- "1": "LABEL_1"
55
- },
56
- "label2id": {
57
- "LABEL_0": 0,
58
- "LABEL_1": 1
59
  },
60
- "tokenizer_class": null,
61
- "prefix": null,
62
- "bos_token_id": 128000,
63
- "pad_token_id": 128002,
64
- "eos_token_id": 128009,
65
- "sep_token_id": null,
66
- "decoder_start_token_id": 128000,
67
- "task_specific_params": null,
68
- "problem_type": null,
69
- "_name_or_path": "",
70
- "transformers_version": "4.41.2",
71
  "encoder": {
72
- "vocab_size": 51866,
73
- "num_mel_bins": 128,
74
- "d_model": 1280,
75
- "encoder_layers": 32,
76
- "encoder_attention_heads": 20,
77
- "decoder_layers": 32,
78
- "decoder_attention_heads": 20,
79
- "decoder_ffn_dim": 5120,
80
- "encoder_ffn_dim": 5120,
81
- "dropout": 0,
82
- "attention_dropout": 0,
83
  "activation_dropout": 0,
84
  "activation_function": "gelu",
85
- "init_std": 0.02,
86
- "encoder_layerdrop": 0,
87
- "decoder_layerdrop": 0,
88
- "use_cache": true,
89
- "num_hidden_layers": 32,
90
- "scale_embedding": false,
91
- "max_source_positions": 1500,
92
- "max_target_positions": 448,
93
- "classifier_proj_size": 256,
94
- "use_weighted_layer_sum": false,
95
  "apply_spec_augment": false,
96
- "mask_time_prob": 0.05,
97
- "mask_time_length": 10,
98
- "mask_time_min_masks": 2,
99
- "mask_feature_prob": 0,
100
- "mask_feature_length": 10,
101
- "mask_feature_min_masks": 0,
102
- "median_filter_width": 7,
103
- "return_dict": true,
104
- "output_hidden_states": false,
105
- "output_attentions": false,
106
- "torchscript": false,
107
- "torch_dtype": null,
108
- "use_bfloat16": false,
109
- "tf_legacy_loss": false,
110
- "pruned_heads": {},
111
- "tie_word_embeddings": true,
112
  "chunk_size_feed_forward": 0,
113
- "is_encoder_decoder": true,
114
- "is_decoder": false,
115
  "cross_attention_hidden_size": null,
116
- "add_cross_attention": false,
117
- "tie_encoder_decoder": false,
118
- "max_length": 20,
119
- "min_length": 0,
 
 
 
120
  "do_sample": false,
 
121
  "early_stopping": false,
122
- "num_beams": 1,
123
- "num_beam_groups": 1,
124
- "diversity_penalty": 0,
125
- "temperature": 1,
126
- "top_k": 50,
127
- "top_p": 1,
128
- "typical_p": 1,
129
- "repetition_penalty": 1,
130
- "length_penalty": 1,
131
- "no_repeat_ngram_size": 0,
132
  "encoder_no_repeat_ngram_size": 0,
133
- "bad_words_ids": null,
134
- "num_return_sequences": 1,
135
- "output_scores": false,
136
- "return_dict_in_generate": false,
137
- "forced_bos_token_id": null,
138
- "forced_eos_token_id": null,
139
- "remove_invalid_values": false,
140
  "exponential_decay_length_penalty": null,
141
- "suppress_tokens": null,
142
- "begin_suppress_tokens": [
143
- 220,
144
- 50256
145
- ],
146
- "architectures": null,
147
  "finetuning_task": null,
 
 
148
  "id2label": {
149
  "0": "LABEL_0",
150
  "1": "LABEL_1"
151
  },
 
 
 
152
  "label2id": {
153
  "LABEL_0": 0,
154
  "LABEL_1": 1
155
  },
156
- "tokenizer_class": null,
157
- "prefix": null,
158
- "bos_token_id": 50256,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  "pad_token_id": 50256,
160
- "eos_token_id": 50256,
161
- "sep_token_id": null,
162
- "decoder_start_token_id": 50257,
163
- "task_specific_params": null,
164
  "problem_type": null,
165
- "_name_or_path": "",
166
- "transformers_version": "4.41.2",
167
- "model_type": "whisper"
168
- },
169
- "decoder": {
170
- "vocab_size": 128256,
171
- "max_position_embeddings": 8192,
172
- "hidden_size": 4096,
173
- "intermediate_size": 14336,
174
- "num_hidden_layers": 32,
175
- "num_attention_heads": 32,
176
- "num_key_value_heads": 8,
177
- "hidden_act": "silu",
178
- "initializer_range": 0.02,
179
- "rms_norm_eps": 1e-05,
180
- "pretraining_tp": 1,
181
- "use_cache": true,
182
- "rope_theta": 10000,
183
- "rope_scaling": null,
184
- "attention_bias": false,
185
- "attention_dropout": 0,
186
- "mlp_bias": false,
187
  "return_dict": true,
188
- "output_hidden_states": false,
189
- "output_attentions": false,
190
- "torchscript": false,
191
- "torch_dtype": null,
192
- "use_bfloat16": false,
 
193
  "tf_legacy_loss": false,
194
- "pruned_heads": {},
195
- "tie_word_embeddings": false,
196
- "chunk_size_feed_forward": 0,
197
- "is_encoder_decoder": false,
198
- "is_decoder": false,
199
- "cross_attention_hidden_size": null,
200
- "add_cross_attention": false,
201
  "tie_encoder_decoder": false,
202
- "max_length": 20,
203
- "min_length": 0,
204
- "do_sample": false,
205
- "early_stopping": false,
206
- "num_beams": 1,
207
- "num_beam_groups": 1,
208
- "diversity_penalty": 0,
209
- "temperature": 1,
210
  "top_k": 50,
211
  "top_p": 1,
 
 
 
212
  "typical_p": 1,
213
- "repetition_penalty": 1,
214
- "length_penalty": 1,
215
- "no_repeat_ngram_size": 0,
216
- "encoder_no_repeat_ngram_size": 0,
217
- "bad_words_ids": null,
218
- "num_return_sequences": 1,
219
- "output_scores": false,
220
- "return_dict_in_generate": false,
221
- "forced_bos_token_id": null,
222
- "forced_eos_token_id": null,
223
- "remove_invalid_values": false,
224
- "exponential_decay_length_penalty": null,
225
- "suppress_tokens": null,
226
- "begin_suppress_tokens": null,
227
- "architectures": null,
228
- "finetuning_task": null,
229
- "id2label": {
230
- "0": "LABEL_0",
231
- "1": "LABEL_1"
232
- },
233
- "label2id": {
234
- "LABEL_0": 0,
235
- "LABEL_1": 1
236
- },
237
- "tokenizer_class": null,
238
- "prefix": null,
239
- "bos_token_id": 1,
240
- "pad_token_id": null,
241
- "eos_token_id": 2,
242
- "sep_token_id": null,
243
- "decoder_start_token_id": null,
244
- "task_specific_params": null,
245
- "problem_type": null,
246
- "_name_or_path": "",
247
- "transformers_version": "4.41.2",
248
- "model_type": "llama"
249
  },
250
- "model_type": ""
 
251
  }
 
3
  "auto_map": {
4
  "AutoModelForCausalLM": "modeling_diva.DiVAModel"
5
  },
6
+ "vocab_size": 128256,
7
+ "decoder": {
8
+ "architectures": [
9
+ "LlamaForCausalLM"
10
+ ],
11
+ "attention_bias": false,
12
+ "attention_dropout": 0,
13
+ "bos_token_id": 128000,
14
+ "eos_token_id": 128001,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 4096,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 14336,
19
+ "max_position_embeddings": 8192,
20
+ "model_type": "llama",
21
+ "num_attention_heads": 32,
22
+ "num_hidden_layers": 32,
23
+ "num_key_value_heads": 8,
24
+ "pretraining_tp": 1,
25
+ "rms_norm_eps": 1e-05,
26
+ "rope_scaling": null,
27
+ "rope_theta": 500000,
28
+ "tie_word_embeddings": false,
29
+ "torch_dtype": "bfloat16",
30
+ "transformers_version": "4.40.0.dev0",
31
+ "use_cache": true,
32
+ "vocab_size": 128256
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  },
 
 
 
 
 
 
 
 
 
 
 
34
  "encoder": {
35
+ "_name_or_path": "openai/whisper-large-v3",
 
 
 
 
 
 
 
 
 
 
36
  "activation_dropout": 0,
37
  "activation_function": "gelu",
38
+ "add_cross_attention": false,
 
 
 
 
 
 
 
 
 
39
  "apply_spec_augment": false,
40
+ "architectures": [
41
+ "WhisperForConditionalGeneration"
42
+ ],
43
+ "attention_dropout": 0,
44
+ "bad_words_ids": null,
45
+ "begin_suppress_tokens": [
46
+ 220,
47
+ 50257
48
+ ],
49
+ "bos_token_id": 50257,
 
 
 
 
 
 
50
  "chunk_size_feed_forward": 0,
51
+ "classifier_proj_size": 256,
 
52
  "cross_attention_hidden_size": null,
53
+ "d_model": 1280,
54
+ "decoder_attention_heads": 20,
55
+ "decoder_ffn_dim": 5120,
56
+ "decoder_layerdrop": 0,
57
+ "decoder_layers": 32,
58
+ "decoder_start_token_id": 50258,
59
+ "diversity_penalty": 0,
60
  "do_sample": false,
61
+ "dropout": 0,
62
  "early_stopping": false,
63
+ "encoder_attention_heads": 20,
64
+ "encoder_ffn_dim": 5120,
65
+ "encoder_layerdrop": 0,
66
+ "encoder_layers": 32,
 
 
 
 
 
 
67
  "encoder_no_repeat_ngram_size": 0,
68
+ "eos_token_id": 50257,
 
 
 
 
 
 
69
  "exponential_decay_length_penalty": null,
 
 
 
 
 
 
70
  "finetuning_task": null,
71
+ "forced_bos_token_id": null,
72
+ "forced_eos_token_id": null,
73
  "id2label": {
74
  "0": "LABEL_0",
75
  "1": "LABEL_1"
76
  },
77
+ "init_std": 0.02,
78
+ "is_decoder": false,
79
+ "is_encoder_decoder": true,
80
  "label2id": {
81
  "LABEL_0": 0,
82
  "LABEL_1": 1
83
  },
84
+ "length_penalty": 1,
85
+ "mask_feature_length": 10,
86
+ "mask_feature_min_masks": 0,
87
+ "mask_feature_prob": 0,
88
+ "mask_time_length": 10,
89
+ "mask_time_min_masks": 2,
90
+ "mask_time_prob": 0.05,
91
+ "max_length": 448,
92
+ "max_source_positions": 1500,
93
+ "max_target_positions": 448,
94
+ "median_filter_width": 7,
95
+ "min_length": 0,
96
+ "model_type": "whisper",
97
+ "no_repeat_ngram_size": 0,
98
+ "num_beam_groups": 1,
99
+ "num_beams": 1,
100
+ "num_hidden_layers": 32,
101
+ "num_mel_bins": 128,
102
+ "num_return_sequences": 1,
103
+ "output_attentions": false,
104
+ "output_hidden_states": false,
105
+ "output_scores": false,
106
  "pad_token_id": 50256,
107
+ "prefix": null,
 
 
 
108
  "problem_type": null,
109
+ "pruned_heads": {},
110
+ "remove_invalid_values": false,
111
+ "repetition_penalty": 1,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  "return_dict": true,
113
+ "return_dict_in_generate": false,
114
+ "scale_embedding": false,
115
+ "sep_token_id": null,
116
+ "suppress_tokens": null,
117
+ "task_specific_params": null,
118
+ "temperature": 1,
119
  "tf_legacy_loss": false,
 
 
 
 
 
 
 
120
  "tie_encoder_decoder": false,
121
+ "tie_word_embeddings": true,
122
+ "tokenizer_class": null,
 
 
 
 
 
 
123
  "top_k": 50,
124
  "top_p": 1,
125
+ "torch_dtype": "float16",
126
+ "torchscript": false,
127
+ "transformers_version": "4.38.2",
128
  "typical_p": 1,
129
+ "use_bfloat16": false,
130
+ "use_cache": true,
131
+ "use_weighted_layer_sum": false,
132
+ "vocab_size": 51866
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  },
134
+ "time_dialation": 4,
135
+ "transformers_version": "4.38.2"
136
  }