CircleRadon commited on
Commit
6d5c0bb
·
verified ·
1 Parent(s): 3ddbae0
Files changed (2) hide show
  1. config.json +43 -0
  2. region_encoder.bin +3 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Qwen/Qwen2-7B-Instruct",
3
+ "architectures": [
4
+ "Qwen2ForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "eos_token_id": 151645,
9
+ "freeze_mm_mlp_adapter": false,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 3584,
12
+ "image_aspect_ratio": "square",
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 18944,
15
+ "max_position_embeddings": 32768,
16
+ "max_window_layers": 28,
17
+ "mm_hidden_size": 1152,
18
+ "mm_projector_lr": null,
19
+ "mm_projector_type": "stc_connector_v35",
20
+ "mm_region_encoder_type": "pooling",
21
+ "mm_vision_select_feature": "patch",
22
+ "mm_vision_select_layer": -2,
23
+ "mm_vision_tower": "google/siglip-so400m-patch14-384",
24
+ "model_type": "videorefer_qwen2",
25
+ "num_attention_heads": 28,
26
+ "num_frames": 16,
27
+ "num_hidden_layers": 28,
28
+ "num_key_value_heads": 4,
29
+ "rms_norm_eps": 1e-06,
30
+ "rope_theta": 1000000.0,
31
+ "sliding_window": 131072,
32
+ "tie_word_embeddings": false,
33
+ "tokenizer_model_max_length": 2048,
34
+ "tokenizer_padding_side": "right",
35
+ "torch_dtype": "bfloat16",
36
+ "transformers_version": "4.40.0",
37
+ "tune_mm_mlp_adapter": false,
38
+ "tune_region_encoder": true,
39
+ "use_cache": true,
40
+ "use_mm_proj": true,
41
+ "use_sliding_window": false,
42
+ "vocab_size": 151647
43
+ }
region_encoder.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:135413a5f03d42f6baf1282a20463c6559ebe5df89311556afeeca730727de27
3
+ size 33964168