new5558 commited on
Commit
c37fa5c
·
verified ·
1 Parent(s): f11cfd1

(Trained with Unsloth)

Browse files
Files changed (1) hide show
  1. config.json +8 -7
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "unsloth/qwen2-vl-7b-instruct-unsloth-bnb-4bit",
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
  "pad_token_id": 151654,
21
  "rms_norm_eps": 1e-06,
22
  "rope_scaling": {
@@ -30,7 +30,7 @@
30
  },
31
  "rope_theta": 1000000.0,
32
  "sliding_window": 32768,
33
- "tie_word_embeddings": false,
34
  "torch_dtype": "float16",
35
  "transformers_version": "4.48.3",
36
  "unsloth_fixed": true,
@@ -39,6 +39,7 @@
39
  "use_sliding_window": false,
40
  "video_token_id": 151656,
41
  "vision_config": {
 
42
  "in_chans": 3,
43
  "model_type": "qwen2_vl",
44
  "spatial_patch_size": 14,
@@ -47,5 +48,5 @@
47
  "vision_end_token_id": 151653,
48
  "vision_start_token_id": 151652,
49
  "vision_token_id": 151654,
50
- "vocab_size": 152064
51
  }
 
1
  {
2
+ "_name_or_path": "unsloth/qwen2-vl-2b-instruct-unsloth-bnb-4bit",
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
  "pad_token_id": 151654,
21
  "rms_norm_eps": 1e-06,
22
  "rope_scaling": {
 
30
  },
31
  "rope_theta": 1000000.0,
32
  "sliding_window": 32768,
33
+ "tie_word_embeddings": true,
34
  "torch_dtype": "float16",
35
  "transformers_version": "4.48.3",
36
  "unsloth_fixed": true,
 
39
  "use_sliding_window": false,
40
  "video_token_id": 151656,
41
  "vision_config": {
42
+ "hidden_size": 1536,
43
  "in_chans": 3,
44
  "model_type": "qwen2_vl",
45
  "spatial_patch_size": 14,
 
48
  "vision_end_token_id": 151653,
49
  "vision_start_token_id": 151652,
50
  "vision_token_id": 151654,
51
+ "vocab_size": 151936
52
  }