Safetensors
ross_qwen2
wanghaochen commited on
Commit
204091b
·
1 Parent(s): 565ca11

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +64 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Qwen/Qwen2-7B-Instruct",
3
+ "architectures": [
4
+ "RossQwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "decode_image_size": 432,
9
+ "eos_token_id": 151645,
10
+ "freeze_mm_mlp_adapter": false,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 3584,
13
+ "image_aspect_ratio": "pad",
14
+ "image_embed_len": 729,
15
+ "image_mean": [
16
+ 0.5,
17
+ 0.5,
18
+ 0.5
19
+ ],
20
+ "image_std": [
21
+ 0.5,
22
+ 0.5,
23
+ 0.5
24
+ ],
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 18944,
27
+ "max_position_embeddings": 32768,
28
+ "max_window_layers": 28,
29
+ "mm_hidden_size": 1152,
30
+ "mm_inv_hidden_size": 64,
31
+ "mm_inv_projector_lr": null,
32
+ "mm_inv_projector_type": "denoiser_vit3x",
33
+ "mm_patch_merge_type": "flat",
34
+ "mm_pixel_decoder": "./pretrained_vae",
35
+ "mm_projector_lr": null,
36
+ "mm_projector_type": "mlp2x_gelu",
37
+ "mm_use_im_patch_token": false,
38
+ "mm_use_im_start_end": false,
39
+ "mm_vision_select_feature": "patch",
40
+ "mm_vision_select_layer": -2,
41
+ "mm_vision_tower": "google/siglip-so400m-patch14-384",
42
+ "mm_vision_tower_lr": 2e-06,
43
+ "model_type": "ross_qwen2",
44
+ "num_attention_heads": 28,
45
+ "num_hidden_layers": 28,
46
+ "num_key_value_heads": 4,
47
+ "pad_token_id": 151643,
48
+ "rms_norm_eps": 1e-06,
49
+ "rope_theta": 1000000.0,
50
+ "ross_enable": true,
51
+ "sliding_window": null,
52
+ "tie_word_embeddings": false,
53
+ "tokenizer_model_max_length": 4096,
54
+ "tokenizer_padding_side": "right",
55
+ "torch_dtype": "bfloat16",
56
+ "transformers_version": "4.43.1",
57
+ "tune_mm_mlp_adapter": false,
58
+ "unfreeze_mm_vision_tower": false,
59
+ "use_cache": true,
60
+ "use_mm_inv_proj": true,
61
+ "use_mm_proj": true,
62
+ "use_sliding_window": false,
63
+ "vocab_size": 152064
64
+ }