hyan commited on
Commit
045f89a
·
verified ·
1 Parent(s): 615f84c

Upload Qwen2VLForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +93 -0
  2. generation_config.json +14 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2VLForConditionalGeneration"
4
+ ],
5
+ "dtype": "bfloat16",
6
+ "image_token_id": 151655,
7
+ "model_type": "qwen2_vl",
8
+ "text_config": {
9
+ "attention_dropout": 0.0,
10
+ "bos_token_id": 151643,
11
+ "dtype": "bfloat16",
12
+ "eos_token_id": 151645,
13
+ "hidden_act": "silu",
14
+ "hidden_size": 3584,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 18944,
17
+ "layer_types": [
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention"
46
+ ],
47
+ "max_position_embeddings": 32768,
48
+ "max_window_layers": 28,
49
+ "model_type": "qwen2_vl_text",
50
+ "num_attention_heads": 28,
51
+ "num_hidden_layers": 28,
52
+ "num_key_value_heads": 4,
53
+ "pad_token_id": null,
54
+ "rms_norm_eps": 1e-06,
55
+ "rope_parameters": {
56
+ "mrope_section": [
57
+ 16,
58
+ 24,
59
+ 24
60
+ ],
61
+ "rope_theta": 1000000.0,
62
+ "rope_type": "default",
63
+ "type": "mrope"
64
+ },
65
+ "sliding_window": null,
66
+ "use_cache": true,
67
+ "use_sliding_window": false,
68
+ "vocab_size": 152064
69
+ },
70
+ "tie_word_embeddings": false,
71
+ "transformers_version": "5.1.0",
72
+ "video_token_id": 151656,
73
+ "vision_config": {
74
+ "depth": 32,
75
+ "dtype": "bfloat16",
76
+ "embed_dim": 1280,
77
+ "hidden_act": "quick_gelu",
78
+ "hidden_size": 3584,
79
+ "in_channels": 3,
80
+ "in_chans": 3,
81
+ "initializer_range": 0.02,
82
+ "mlp_ratio": 4,
83
+ "model_type": "qwen2_vl",
84
+ "num_heads": 16,
85
+ "patch_size": 14,
86
+ "spatial_merge_size": 2,
87
+ "spatial_patch_size": 14,
88
+ "temporal_patch_size": 2
89
+ },
90
+ "vision_end_token_id": 151653,
91
+ "vision_start_token_id": 151652,
92
+ "vision_token_id": 151654
93
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "repetition_penalty": 1.0,
10
+ "temperature": 0.01,
11
+ "top_k": 1,
12
+ "top_p": 0.001,
13
+ "transformers_version": "5.1.0"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ddf9cc2773aad36e646c05932b20dd5267a7bdd35ab7e670c2aedaf87378fc6
3
+ size 16582832248