dicksonhk commited on
Commit
e1a7f1d
·
verified ·
1 Parent(s): 210f734

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +294 -0
config.json ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "Qwen2_5_VLForConditionalGeneration"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bad_words_ids": null,
8
+ "begin_suppress_tokens": null,
9
+ "bos_token_id": 151643,
10
+ "chunk_size_feed_forward": 0,
11
+ "cross_attention_hidden_size": null,
12
+ "decoder_start_token_id": null,
13
+ "diversity_penalty": 0.0,
14
+ "do_sample": false,
15
+ "early_stopping": false,
16
+ "encoder_no_repeat_ngram_size": 0,
17
+ "eos_token_id": 151645,
18
+ "exponential_decay_length_penalty": null,
19
+ "finetuning_task": null,
20
+ "forced_bos_token_id": null,
21
+ "forced_eos_token_id": null,
22
+ "hidden_act": "silu",
23
+ "hidden_size": 2048,
24
+ "id2label": {
25
+ "0": "LABEL_0",
26
+ "1": "LABEL_1"
27
+ },
28
+ "image_token_id": 151655,
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 11008,
31
+ "is_decoder": false,
32
+ "is_encoder_decoder": false,
33
+ "label2id": {
34
+ "LABEL_0": 0,
35
+ "LABEL_1": 1
36
+ },
37
+ "length_penalty": 1.0,
38
+ "max_length": 20,
39
+ "max_position_embeddings": 128000,
40
+ "max_window_layers": 70,
41
+ "min_length": 0,
42
+ "model_type": "qwen2_5_vl",
43
+ "no_repeat_ngram_size": 0,
44
+ "num_attention_heads": 16,
45
+ "num_beam_groups": 1,
46
+ "num_beams": 1,
47
+ "num_hidden_layers": 36,
48
+ "num_key_value_heads": 2,
49
+ "num_return_sequences": 1,
50
+ "output_attentions": false,
51
+ "output_hidden_states": false,
52
+ "output_scores": false,
53
+ "pad_token_id": null,
54
+ "prefix": null,
55
+ "problem_type": null,
56
+ "pruned_heads": {},
57
+ "quantization_config": {
58
+ "bits": 4,
59
+ "group_size": 128,
60
+ "modules_to_not_convert": [
61
+ "visual"
62
+ ],
63
+ "quant_method": "awq",
64
+ "version": "gemm",
65
+ "zero_point": true
66
+ },
67
+ "remove_invalid_values": false,
68
+ "repetition_penalty": 1.0,
69
+ "return_dict": true,
70
+ "return_dict_in_generate": false,
71
+ "rms_norm_eps": 1e-06,
72
+ "rope_scaling": {
73
+ "mrope_section": [
74
+ 16,
75
+ 24,
76
+ 24
77
+ ],
78
+ "rope_type": "default",
79
+ "type": "default"
80
+ },
81
+ "rope_theta": 1000000.0,
82
+ "sep_token_id": null,
83
+ "sliding_window": 32768,
84
+ "suppress_tokens": null,
85
+ "task_specific_params": null,
86
+ "temperature": 1.0,
87
+ "text_config": {
88
+ "vocab_size": 151936,
89
+ "max_position_embeddings": 128000,
90
+ "hidden_size": 2048,
91
+ "intermediate_size": 11008,
92
+ "num_hidden_layers": 36,
93
+ "num_attention_heads": 16,
94
+ "use_sliding_window": false,
95
+ "sliding_window": 32768,
96
+ "max_window_layers": 70,
97
+ "num_key_value_heads": 2,
98
+ "hidden_act": "silu",
99
+ "initializer_range": 0.02,
100
+ "rms_norm_eps": 1e-06,
101
+ "use_cache": true,
102
+ "rope_theta": 1000000.0,
103
+ "attention_dropout": 0.0,
104
+ "rope_scaling": {
105
+ "mrope_section": [
106
+ 16,
107
+ 24,
108
+ 24
109
+ ],
110
+ "rope_type": "default",
111
+ "type": "default"
112
+ },
113
+ "image_token_id": null,
114
+ "video_token_id": null,
115
+ "return_dict": true,
116
+ "output_hidden_states": false,
117
+ "output_attentions": false,
118
+ "torchscript": false,
119
+ "torch_dtype": "bfloat16",
120
+ "use_bfloat16": false,
121
+ "tf_legacy_loss": false,
122
+ "pruned_heads": {},
123
+ "tie_word_embeddings": true,
124
+ "chunk_size_feed_forward": 0,
125
+ "is_encoder_decoder": false,
126
+ "is_decoder": false,
127
+ "cross_attention_hidden_size": null,
128
+ "add_cross_attention": false,
129
+ "tie_encoder_decoder": false,
130
+ "max_length": 20,
131
+ "min_length": 0,
132
+ "do_sample": false,
133
+ "early_stopping": false,
134
+ "num_beams": 1,
135
+ "num_beam_groups": 1,
136
+ "diversity_penalty": 0.0,
137
+ "temperature": 1.0,
138
+ "top_k": 50,
139
+ "top_p": 1.0,
140
+ "typical_p": 1.0,
141
+ "repetition_penalty": 1.0,
142
+ "length_penalty": 1.0,
143
+ "no_repeat_ngram_size": 0,
144
+ "encoder_no_repeat_ngram_size": 0,
145
+ "bad_words_ids": null,
146
+ "num_return_sequences": 1,
147
+ "output_scores": false,
148
+ "return_dict_in_generate": false,
149
+ "forced_bos_token_id": null,
150
+ "forced_eos_token_id": null,
151
+ "remove_invalid_values": false,
152
+ "exponential_decay_length_penalty": null,
153
+ "suppress_tokens": null,
154
+ "begin_suppress_tokens": null,
155
+ "architectures": [
156
+ "Qwen2_5_VLForConditionalGeneration"
157
+ ],
158
+ "finetuning_task": null,
159
+ "id2label": {
160
+ "0": "LABEL_0",
161
+ "1": "LABEL_1"
162
+ },
163
+ "label2id": {
164
+ "LABEL_0": 0,
165
+ "LABEL_1": 1
166
+ },
167
+ "tokenizer_class": null,
168
+ "prefix": null,
169
+ "bos_token_id": 151643,
170
+ "pad_token_id": null,
171
+ "eos_token_id": 151645,
172
+ "sep_token_id": null,
173
+ "decoder_start_token_id": null,
174
+ "task_specific_params": null,
175
+ "problem_type": null,
176
+ "_name_or_path": "Qwen/Qwen2.5-VL-3B-Instruct",
177
+ "model_type": "qwen2_5_vl_text",
178
+ "quantization_config": {
179
+ "bits": 4,
180
+ "group_size": 128,
181
+ "modules_to_not_convert": [
182
+ "visual"
183
+ ],
184
+ "quant_method": "awq",
185
+ "version": "gemm",
186
+ "zero_point": true
187
+ },
188
+ "vision_end_token_id": 151653,
189
+ "vision_start_token_id": 151652,
190
+ "vision_token_id": 151654
191
+ },
192
+ "tf_legacy_loss": false,
193
+ "tie_encoder_decoder": false,
194
+ "tie_word_embeddings": true,
195
+ "tokenizer_class": null,
196
+ "top_k": 50,
197
+ "top_p": 1.0,
198
+ "torch_dtype": "bfloat16",
199
+ "torchscript": false,
200
+ "transformers_version": "4.52.4",
201
+ "typical_p": 1.0,
202
+ "use_bfloat16": false,
203
+ "use_cache": true,
204
+ "use_sliding_window": false,
205
+ "video_token_id": 151656,
206
+ "vision_config": {
207
+ "return_dict": true,
208
+ "output_hidden_states": false,
209
+ "output_attentions": false,
210
+ "torchscript": false,
211
+ "torch_dtype": "bfloat16",
212
+ "use_bfloat16": false,
213
+ "tf_legacy_loss": false,
214
+ "pruned_heads": {},
215
+ "tie_word_embeddings": true,
216
+ "chunk_size_feed_forward": 0,
217
+ "is_encoder_decoder": false,
218
+ "is_decoder": false,
219
+ "cross_attention_hidden_size": null,
220
+ "add_cross_attention": false,
221
+ "tie_encoder_decoder": false,
222
+ "max_length": 20,
223
+ "min_length": 0,
224
+ "do_sample": false,
225
+ "early_stopping": false,
226
+ "num_beams": 1,
227
+ "num_beam_groups": 1,
228
+ "diversity_penalty": 0.0,
229
+ "temperature": 1.0,
230
+ "top_k": 50,
231
+ "top_p": 1.0,
232
+ "typical_p": 1.0,
233
+ "repetition_penalty": 1.0,
234
+ "length_penalty": 1.0,
235
+ "no_repeat_ngram_size": 0,
236
+ "encoder_no_repeat_ngram_size": 0,
237
+ "bad_words_ids": null,
238
+ "num_return_sequences": 1,
239
+ "output_scores": false,
240
+ "return_dict_in_generate": false,
241
+ "forced_bos_token_id": null,
242
+ "forced_eos_token_id": null,
243
+ "remove_invalid_values": false,
244
+ "exponential_decay_length_penalty": null,
245
+ "suppress_tokens": null,
246
+ "begin_suppress_tokens": null,
247
+ "architectures": null,
248
+ "finetuning_task": null,
249
+ "id2label": {
250
+ "0": "LABEL_0",
251
+ "1": "LABEL_1"
252
+ },
253
+ "label2id": {
254
+ "LABEL_0": 0,
255
+ "LABEL_1": 1
256
+ },
257
+ "tokenizer_class": null,
258
+ "prefix": null,
259
+ "bos_token_id": null,
260
+ "pad_token_id": null,
261
+ "eos_token_id": null,
262
+ "sep_token_id": null,
263
+ "decoder_start_token_id": null,
264
+ "task_specific_params": null,
265
+ "problem_type": null,
266
+ "_name_or_path": "",
267
+ "in_chans": 3,
268
+ "model_type": "qwen2_5_vl",
269
+ "spatial_patch_size": 14,
270
+ "depth": 32,
271
+ "hidden_size": 1280,
272
+ "hidden_act": "silu",
273
+ "intermediate_size": 3420,
274
+ "num_heads": 16,
275
+ "in_channels": 3,
276
+ "patch_size": 14,
277
+ "spatial_merge_size": 2,
278
+ "temporal_patch_size": 2,
279
+ "tokens_per_second": 2,
280
+ "window_size": 112,
281
+ "fullatt_block_indexes": [
282
+ 7,
283
+ 15,
284
+ 23,
285
+ 31
286
+ ],
287
+ "out_hidden_size": 2048,
288
+ "initializer_range": 0.02
289
+ },
290
+ "vision_end_token_id": 151653,
291
+ "vision_start_token_id": 151652,
292
+ "vision_token_id": 151654,
293
+ "vocab_size": 151936
294
+ }