apjanco commited on
Commit
84af8c9
1 Parent(s): 2a08594

Upload Qwen2VLForConditionalGeneration

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "saves/qwen2_vl-7b/full/sft/",
3
  "architectures": [
4
  "Qwen2VLForConditionalGeneration"
5
  ],
@@ -7,16 +7,16 @@
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": [
@@ -29,13 +29,14 @@
29
  },
30
  "rope_theta": 1000000.0,
31
  "sliding_window": 32768,
32
- "tie_word_embeddings": false,
33
  "torch_dtype": "bfloat16",
34
  "transformers_version": "4.46.1",
35
  "use_cache": true,
36
  "use_sliding_window": false,
37
  "video_token_id": 151656,
38
  "vision_config": {
 
39
  "in_chans": 3,
40
  "model_type": "qwen2_vl",
41
  "spatial_patch_size": 14
@@ -43,5 +44,5 @@
43
  "vision_end_token_id": 151653,
44
  "vision_start_token_id": 151652,
45
  "vision_token_id": 151654,
46
- "vocab_size": 152064
47
  }
 
1
  {
2
+ "_name_or_path": "saves/qwen2_vl-2b/full/sft/",
3
  "architectures": [
4
  "Qwen2VLForConditionalGeneration"
5
  ],
 
7
  "bos_token_id": 151643,
8
  "eos_token_id": 151645,
9
  "hidden_act": "silu",
10
+ "hidden_size": 1536,
11
  "image_token_id": 151655,
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 8960,
14
  "max_position_embeddings": 32768,
15
  "max_window_layers": 28,
16
  "model_type": "qwen2_vl",
17
+ "num_attention_heads": 12,
18
  "num_hidden_layers": 28,
19
+ "num_key_value_heads": 2,
20
  "rms_norm_eps": 1e-06,
21
  "rope_scaling": {
22
  "mrope_section": [
 
29
  },
30
  "rope_theta": 1000000.0,
31
  "sliding_window": 32768,
32
+ "tie_word_embeddings": true,
33
  "torch_dtype": "bfloat16",
34
  "transformers_version": "4.46.1",
35
  "use_cache": true,
36
  "use_sliding_window": false,
37
  "video_token_id": 151656,
38
  "vision_config": {
39
+ "hidden_size": 1536,
40
  "in_chans": 3,
41
  "model_type": "qwen2_vl",
42
  "spatial_patch_size": 14
 
44
  "vision_end_token_id": 151653,
45
  "vision_start_token_id": 151652,
46
  "vision_token_id": 151654,
47
+ "vocab_size": 151936
48
  }
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:380803bd52a4c69863eb91f611f24e955798cc968bdf3d129e32e214f4b04abb
3
+ size 1995539928
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feeaa28c11f1f66b58e7afb592dc1c7dfac9010e4fd599c5f1ff2a2928f1d07f
3
+ size 1993062424
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3646d8c6190db8132e8c86cd31b83811b5d3040e3e1dd3762361bb29e38b442
3
+ size 429448016
model.safetensors.index.json CHANGED
The diff for this file is too large to render. See raw diff