Image-Text-to-Text
Safetensors
llava_llama
BoyuNLP commited on
Commit
7bea2a9
1 Parent(s): 9758018

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/fs/ess/PAS1576/boyu_gou/train_vlm/ui_llava_fine_tune/checkpoints/base/merged_llava-v1.5-vicuna-7b-16k-pad-no-fusion_converted/",
3
+ "architectures": [
4
+ "LlavaLlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "freeze_mm_mlp_adapter": false,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "image_aspect_ratio": "anyres_ui",
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 11008,
16
+ "max_position_embeddings": 4096,
17
+ "max_sequence_length": 16384,
18
+ "mm_hidden_size": 1024,
19
+ "mm_patch_merge_type": "spatial",
20
+ "mm_projector_lr": 2e-05,
21
+ "mm_projector_type": "mlp2x_gelu",
22
+ "mm_use_im_patch_token": false,
23
+ "mm_use_im_start_end": false,
24
+ "mm_vision_select_feature": "patch",
25
+ "mm_vision_select_layer": -2,
26
+ "mm_vision_tower": "openai/clip-vit-large-patch14",
27
+ "model_type": "llava_llama",
28
+ "num_attention_heads": 32,
29
+ "num_hidden_layers": 32,
30
+ "num_key_value_heads": 32,
31
+ "pad_token_id": 0,
32
+ "pretraining_tp": 1,
33
+ "rms_norm_eps": 1e-05,
34
+ "rope_scaling": {
35
+ "factor": 4.0,
36
+ "type": "linear"
37
+ },
38
+ "rope_theta": 10000.0,
39
+ "tie_word_embeddings": false,
40
+ "tokenizer_model_max_length": 16384,
41
+ "tokenizer_padding_side": "right",
42
+ "torch_dtype": "float16",
43
+ "transformers_version": "4.37.2",
44
+ "tune_mm_mlp_adapter": false,
45
+ "use_cache": true,
46
+ "use_mm_proj": true,
47
+ "vocab_size": 32000
48
+ }