CCRss commited on
Commit
657ce94
·
verified ·
1 Parent(s): e833951

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +297 -0
config.json ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "_name_or_path": "/data/nvme5n1p1/vladimir_workspace/audio_internvl/models/InternVL2-1B_copy",
4
+ "architectures": [
5
+ "InternVLChatModel"
6
+ ],
7
+ "audio_config": {
8
+ "_attn_implementation_autoset": false,
9
+ "_name_or_path": "openai/whisper-large-v3",
10
+ "activation_dropout": 0.0,
11
+ "activation_function": "gelu",
12
+ "add_cross_attention": false,
13
+ "apply_spec_augment": false,
14
+ "architectures": [
15
+ "WhisperForConditionalGeneration"
16
+ ],
17
+ "attention_dropout": 0.0,
18
+ "bad_words_ids": null,
19
+ "begin_suppress_tokens": [
20
+ 220,
21
+ 50257
22
+ ],
23
+ "bos_token_id": 50257,
24
+ "chunk_size_feed_forward": 0,
25
+ "classifier_proj_size": 256,
26
+ "cross_attention_hidden_size": null,
27
+ "d_model": 1280,
28
+ "decoder_attention_heads": 20,
29
+ "decoder_ffn_dim": 5120,
30
+ "decoder_layerdrop": 0.0,
31
+ "decoder_layers": 32,
32
+ "decoder_start_token_id": 50258,
33
+ "diversity_penalty": 0.0,
34
+ "do_sample": false,
35
+ "dropout": 0.0,
36
+ "early_stopping": false,
37
+ "encoder_attention_heads": 20,
38
+ "encoder_ffn_dim": 5120,
39
+ "encoder_layerdrop": 0.0,
40
+ "encoder_layers": 32,
41
+ "encoder_no_repeat_ngram_size": 0,
42
+ "eos_token_id": 50257,
43
+ "exponential_decay_length_penalty": null,
44
+ "finetuning_task": null,
45
+ "forced_bos_token_id": null,
46
+ "forced_eos_token_id": null,
47
+ "id2label": {
48
+ "0": "LABEL_0",
49
+ "1": "LABEL_1"
50
+ },
51
+ "init_std": 0.02,
52
+ "is_decoder": false,
53
+ "is_encoder_decoder": true,
54
+ "label2id": {
55
+ "LABEL_0": 0,
56
+ "LABEL_1": 1
57
+ },
58
+ "length_penalty": 1.0,
59
+ "mask_feature_length": 10,
60
+ "mask_feature_min_masks": 0,
61
+ "mask_feature_prob": 0.0,
62
+ "mask_time_length": 10,
63
+ "mask_time_min_masks": 2,
64
+ "mask_time_prob": 0.05,
65
+ "max_length": 448,
66
+ "max_source_positions": 1500,
67
+ "max_target_positions": 448,
68
+ "median_filter_width": 7,
69
+ "min_length": 0,
70
+ "model_type": "whisper",
71
+ "no_repeat_ngram_size": 0,
72
+ "num_beam_groups": 1,
73
+ "num_beams": 1,
74
+ "num_hidden_layers": 32,
75
+ "num_mel_bins": 128,
76
+ "num_return_sequences": 1,
77
+ "output_attentions": false,
78
+ "output_hidden_states": false,
79
+ "output_scores": false,
80
+ "pad_token_id": 50256,
81
+ "prefix": null,
82
+ "problem_type": null,
83
+ "pruned_heads": {},
84
+ "remove_invalid_values": false,
85
+ "repetition_penalty": 1.0,
86
+ "return_dict": true,
87
+ "return_dict_in_generate": false,
88
+ "scale_embedding": false,
89
+ "sep_token_id": null,
90
+ "suppress_tokens": null,
91
+ "task_specific_params": null,
92
+ "temperature": 1.0,
93
+ "tf_legacy_loss": false,
94
+ "tie_encoder_decoder": false,
95
+ "tie_word_embeddings": true,
96
+ "tokenizer_class": null,
97
+ "top_k": 50,
98
+ "top_p": 1.0,
99
+ "torch_dtype": "float16",
100
+ "torchscript": false,
101
+ "transformers_version": "4.46.3",
102
+ "typical_p": 1.0,
103
+ "use_bfloat16": false,
104
+ "use_cache": true,
105
+ "use_weighted_layer_sum": false,
106
+ "vocab_size": 51866
107
+ },
108
+ "auto_map": {
109
+ "AutoConfig": "configuration_internvl_chat.InternVLChatConfig",
110
+ "AutoModel": "modeling_internvl_chat.InternVLChatModel",
111
+ "AutoModelForCausalLM": "modeling_internvl_chat.InternVLChatModel"
112
+ },
113
+ "downsample_ratio": 0.5,
114
+ "dynamic_image_size": true,
115
+ "force_image_size": 448,
116
+ "llm_config": {
117
+ "_attn_implementation_autoset": true,
118
+ "_name_or_path": "Qwen/Qwen2-0.5B-Instruct",
119
+ "add_cross_attention": false,
120
+ "architectures": [
121
+ "Qwen2ForCausalLM"
122
+ ],
123
+ "attention_dropout": 0.0,
124
+ "bad_words_ids": null,
125
+ "begin_suppress_tokens": null,
126
+ "bos_token_id": 151643,
127
+ "chunk_size_feed_forward": 0,
128
+ "cross_attention_hidden_size": null,
129
+ "decoder_start_token_id": null,
130
+ "diversity_penalty": 0.0,
131
+ "do_sample": false,
132
+ "early_stopping": false,
133
+ "encoder_no_repeat_ngram_size": 0,
134
+ "eos_token_id": 151645,
135
+ "exponential_decay_length_penalty": null,
136
+ "finetuning_task": null,
137
+ "forced_bos_token_id": null,
138
+ "forced_eos_token_id": null,
139
+ "hidden_act": "silu",
140
+ "hidden_size": 896,
141
+ "id2label": {
142
+ "0": "LABEL_0",
143
+ "1": "LABEL_1"
144
+ },
145
+ "initializer_range": 0.02,
146
+ "intermediate_size": 4864,
147
+ "is_decoder": false,
148
+ "is_encoder_decoder": false,
149
+ "label2id": {
150
+ "LABEL_0": 0,
151
+ "LABEL_1": 1
152
+ },
153
+ "length_penalty": 1.0,
154
+ "max_length": 20,
155
+ "max_position_embeddings": 32768,
156
+ "max_window_layers": 24,
157
+ "min_length": 0,
158
+ "model_type": "qwen2",
159
+ "no_repeat_ngram_size": 0,
160
+ "num_attention_heads": 14,
161
+ "num_beam_groups": 1,
162
+ "num_beams": 1,
163
+ "num_hidden_layers": 24,
164
+ "num_key_value_heads": 2,
165
+ "num_return_sequences": 1,
166
+ "output_attentions": false,
167
+ "output_hidden_states": false,
168
+ "output_scores": false,
169
+ "pad_token_id": null,
170
+ "prefix": null,
171
+ "problem_type": null,
172
+ "pruned_heads": {},
173
+ "remove_invalid_values": false,
174
+ "repetition_penalty": 1.0,
175
+ "return_dict": true,
176
+ "return_dict_in_generate": false,
177
+ "rms_norm_eps": 1e-06,
178
+ "rope_scaling": null,
179
+ "rope_theta": 1000000.0,
180
+ "sep_token_id": null,
181
+ "sliding_window": null,
182
+ "suppress_tokens": null,
183
+ "task_specific_params": null,
184
+ "temperature": 1.0,
185
+ "tf_legacy_loss": false,
186
+ "tie_encoder_decoder": false,
187
+ "tie_word_embeddings": false,
188
+ "tokenizer_class": null,
189
+ "top_k": 50,
190
+ "top_p": 1.0,
191
+ "torch_dtype": "bfloat16",
192
+ "torchscript": false,
193
+ "transformers_version": "4.46.3",
194
+ "typical_p": 1.0,
195
+ "use_bfloat16": true,
196
+ "use_cache": true,
197
+ "use_sliding_window": false,
198
+ "vocab_size": 151658
199
+ },
200
+ "max_dynamic_patch": 12,
201
+ "min_dynamic_patch": 1,
202
+ "model_type": "internvl_chat",
203
+ "ps_version": "v2",
204
+ "select_layer": -1,
205
+ "template": "Hermes-2",
206
+ "torch_dtype": "bfloat16",
207
+ "transformers_version": null,
208
+ "use_backbone_lora": 0,
209
+ "use_llm_lora": 0,
210
+ "use_thumbnail": true,
211
+ "vision_config": {
212
+ "_attn_implementation_autoset": true,
213
+ "_name_or_path": "",
214
+ "add_cross_attention": false,
215
+ "architectures": [
216
+ "InternVisionModel"
217
+ ],
218
+ "attention_dropout": 0.0,
219
+ "bad_words_ids": null,
220
+ "begin_suppress_tokens": null,
221
+ "bos_token_id": null,
222
+ "chunk_size_feed_forward": 0,
223
+ "cross_attention_hidden_size": null,
224
+ "decoder_start_token_id": null,
225
+ "diversity_penalty": 0.0,
226
+ "do_sample": false,
227
+ "drop_path_rate": 0.0,
228
+ "dropout": 0.0,
229
+ "early_stopping": false,
230
+ "encoder_no_repeat_ngram_size": 0,
231
+ "eos_token_id": null,
232
+ "exponential_decay_length_penalty": null,
233
+ "finetuning_task": null,
234
+ "forced_bos_token_id": null,
235
+ "forced_eos_token_id": null,
236
+ "hidden_act": "gelu",
237
+ "hidden_size": 1024,
238
+ "id2label": {
239
+ "0": "LABEL_0",
240
+ "1": "LABEL_1"
241
+ },
242
+ "image_size": 448,
243
+ "initializer_factor": 1.0,
244
+ "initializer_range": 0.02,
245
+ "intermediate_size": 4096,
246
+ "is_decoder": false,
247
+ "is_encoder_decoder": false,
248
+ "label2id": {
249
+ "LABEL_0": 0,
250
+ "LABEL_1": 1
251
+ },
252
+ "layer_norm_eps": 1e-06,
253
+ "length_penalty": 1.0,
254
+ "max_length": 20,
255
+ "min_length": 0,
256
+ "model_type": "intern_vit_6b",
257
+ "no_repeat_ngram_size": 0,
258
+ "norm_type": "layer_norm",
259
+ "num_attention_heads": 16,
260
+ "num_beam_groups": 1,
261
+ "num_beams": 1,
262
+ "num_channels": 3,
263
+ "num_hidden_layers": 24,
264
+ "num_return_sequences": 1,
265
+ "output_attentions": false,
266
+ "output_hidden_states": false,
267
+ "output_scores": false,
268
+ "pad_token_id": null,
269
+ "patch_size": 14,
270
+ "prefix": null,
271
+ "problem_type": null,
272
+ "pruned_heads": {},
273
+ "qk_normalization": false,
274
+ "qkv_bias": true,
275
+ "remove_invalid_values": false,
276
+ "repetition_penalty": 1.0,
277
+ "return_dict": true,
278
+ "return_dict_in_generate": false,
279
+ "sep_token_id": null,
280
+ "suppress_tokens": null,
281
+ "task_specific_params": null,
282
+ "temperature": 1.0,
283
+ "tf_legacy_loss": false,
284
+ "tie_encoder_decoder": false,
285
+ "tie_word_embeddings": true,
286
+ "tokenizer_class": null,
287
+ "top_k": 50,
288
+ "top_p": 1.0,
289
+ "torch_dtype": "bfloat16",
290
+ "torchscript": false,
291
+ "transformers_version": "4.46.3",
292
+ "typical_p": 1.0,
293
+ "use_bfloat16": true,
294
+ "use_flash_attn": false
295
+ },
296
+ "vocab_size": 151658
297
+ }