Chat-UniVi commited on
Commit
0fdc055
·
verified ·
1 Parent(s): 000efb6

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.json +52 -0
  2. mm_projector.bin +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/pengjin/vllm/vicuna-7b-v1.5",
3
+ "aarchitectures": "LlavaLlamaForCausalLM",
4
+ "architectures": [
5
+ "LlamaForCausalLM"
6
+ ],
7
+ "bos_token_id": 1,
8
+ "config": {
9
+ "freeze": false,
10
+ "spatial_cluster_rate0": 64,
11
+ "spatial_cluster_rate1": 32,
12
+ "spatial_cluster_rate2": 16,
13
+ "temporal_cluster_rate": 0.0625,
14
+ "use_cluster": true,
15
+ "vision_tune": false
16
+ },
17
+ "eos_token_id": 2,
18
+ "freeze_mm_mlp_adapter": false,
19
+ "hidden_act": "silu",
20
+ "hidden_size": 4096,
21
+ "image_aspect_ratio": "square",
22
+ "image_grid_pinpoints": null,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 11008,
25
+ "max_position_embeddings": 4096,
26
+ "mm_hidden_size": 1024,
27
+ "mm_use_box_start_end": false,
28
+ "mm_use_im_patch_token": false,
29
+ "mm_use_im_start_end": false,
30
+ "mm_vision_select_feature": "patch",
31
+ "mm_vision_select_layer": -2,
32
+ "mm_vision_tower": "openai/clip-vit-large-patch14-336",
33
+ "model_type": "ChatUniVi",
34
+ "num_attention_heads": 32,
35
+ "num_experts_per_tok": 2,
36
+ "num_hidden_layers": 32,
37
+ "num_key_value_heads": 32,
38
+ "num_local_experts": 8,
39
+ "output_router_logits": false,
40
+ "pad_token_id": 0,
41
+ "pretraining_tp": 1,
42
+ "rms_norm_eps": 1e-05,
43
+ "rope_scaling": null,
44
+ "router_aux_loss_coef": 0.02,
45
+ "tie_word_embeddings": false,
46
+ "torch_dtype": "float16",
47
+ "transformers_version": "4.31.0",
48
+ "tune_mm_mlp_adapter": true,
49
+ "use_cache": true,
50
+ "use_mm_proj": true,
51
+ "vocab_size": 32000
52
+ }
mm_projector.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c51ab2e3a77f1f927fb841d64c71437211ede0dceca791b52d3293113c4c569d
3
+ size 8397883