Chat-UniVi commited on
Commit
39a29d7
1 Parent(s): 0b2cc2a

Upload config.json

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