Upload config.json to qwen2-vl folder
Browse files- qwen2-vl/config.json +46 -0
qwen2-vl/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/root/autodl-tmp/qwen2-vl",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2VLSimplifiedModel"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151645,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 3584,
|
11 |
+
"image_token_id": 151655,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 18944,
|
14 |
+
"max_position_embeddings": 32768,
|
15 |
+
"max_window_layers": 28,
|
16 |
+
"model_type": "qwen2_vl",
|
17 |
+
"num_attention_heads": 28,
|
18 |
+
"num_hidden_layers": 28,
|
19 |
+
"num_key_value_heads": 4,
|
20 |
+
"rms_norm_eps": 1e-06,
|
21 |
+
"rope_scaling": {
|
22 |
+
"mrope_section": [
|
23 |
+
16,
|
24 |
+
24,
|
25 |
+
24
|
26 |
+
],
|
27 |
+
"type": "mrope"
|
28 |
+
},
|
29 |
+
"rope_theta": 1000000.0,
|
30 |
+
"sliding_window": 32768,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"torch_dtype": "bfloat16",
|
33 |
+
"transformers_version": "4.45.0.dev0",
|
34 |
+
"use_cache": true,
|
35 |
+
"use_sliding_window": false,
|
36 |
+
"video_token_id": 151656,
|
37 |
+
"vision_config": {
|
38 |
+
"in_chans": 3,
|
39 |
+
"model_type": "qwen2_vl",
|
40 |
+
"spatial_patch_size": 14
|
41 |
+
},
|
42 |
+
"vision_end_token_id": 151653,
|
43 |
+
"vision_start_token_id": 151652,
|
44 |
+
"vision_token_id": 151654,
|
45 |
+
"vocab_size": 152064
|
46 |
+
}
|