kcz358 commited on
Commit
74afabb
1 Parent(s): 057dfd2

Upload config

Browse files
Files changed (1) hide show
  1. config.json +87 -0
config.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "llama3-llava-next-8b",
3
+ "architectures": [
4
+ "LlavaLlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128001,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "ignore_index": -100,
13
+ "image_aspect_ratio": "anyres",
14
+ "image_crop_resolution": 224,
15
+ "image_grid_pinpoints": [
16
+ [
17
+ 336,
18
+ 672
19
+ ],
20
+ [
21
+ 672,
22
+ 336
23
+ ],
24
+ [
25
+ 672,
26
+ 672
27
+ ],
28
+ [
29
+ 1008,
30
+ 336
31
+ ],
32
+ [
33
+ 336,
34
+ 1008
35
+ ]
36
+ ],
37
+ "image_split_resolution": 224,
38
+ "image_token_index": 128256,
39
+ "initializer_range": 0.02,
40
+ "intermediate_size": 14336,
41
+ "max_position_embeddings": 8192,
42
+ "mm_hidden_size": 1024,
43
+ "mm_patch_merge_type": "spatial_unpad",
44
+ "mm_projector_lr": null,
45
+ "mm_projector_type": "mlp2x_gelu",
46
+ "mm_resampler_type": null,
47
+ "mm_tunable_parts": "mm_vision_tower,mm_mlp_adapter,mm_language_model",
48
+ "mm_use_im_patch_token": false,
49
+ "mm_use_im_start_end": false,
50
+ "mm_vision_select_feature": "patch",
51
+ "mm_vision_select_layer": -2,
52
+ "mm_vision_tower": "openai/clip-vit-large-patch14-336",
53
+ "mm_vision_tower_lr": 2e-06,
54
+ "model_type": "llava",
55
+ "num_attention_heads": 32,
56
+ "num_hidden_layers": 32,
57
+ "num_key_value_heads": 8,
58
+ "pretraining_tp": 1,
59
+ "projector_hidden_act": "gelu",
60
+ "rms_norm_eps": 1e-05,
61
+ "rope_scaling": null,
62
+ "rope_theta": 500000.0,
63
+ "text_config": {
64
+ "model_type": "llama"
65
+ },
66
+ "tie_word_embeddings": false,
67
+ "tokenizer_model_max_length": 8192,
68
+ "tokenizer_padding_side": "right",
69
+ "torch_dtype": "bfloat16",
70
+ "transformers_version": "4.39.3",
71
+ "use_cache": true,
72
+ "use_mm_proj": true,
73
+ "vision_config": {
74
+ "hidden_size": 1024,
75
+ "image_size": 336,
76
+ "intermediate_size": 4096,
77
+ "model_type": "clip_vision_model",
78
+ "num_attention_heads": 16,
79
+ "num_hidden_layers": 24,
80
+ "patch_size": 14,
81
+ "projection_dim": 768,
82
+ "vocab_size": 32000
83
+ },
84
+ "vision_feature_layer": -2,
85
+ "vision_feature_select_strategy": "default",
86
+ "vision_tower_pretrained": null
87
+ }