Zhiqiang007
commited on
Commit
•
9143655
1
Parent(s):
bf50765
Upload config.json with huggingface_hub
Browse files- config.json +49 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "liuhaotian/llava-v1.5-13b",
|
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 |
+
"freeze_mm_vision_resampler": false,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"hidden_size": 5120,
|
14 |
+
"image_aspect_ratio": "pad",
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 13824,
|
17 |
+
"max_length": 4096,
|
18 |
+
"max_position_embeddings": 4096,
|
19 |
+
"mm_hidden_size": 1024,
|
20 |
+
"mm_patch_merge_type": "flat",
|
21 |
+
"mm_projector_lr": 3e-05,
|
22 |
+
"mm_projector_type": "mlp2x_gelu",
|
23 |
+
"mm_resampler_type": null,
|
24 |
+
"mm_use_im_patch_token": false,
|
25 |
+
"mm_use_im_start_end": false,
|
26 |
+
"mm_vision_select_feature": "patch",
|
27 |
+
"mm_vision_select_layer": -2,
|
28 |
+
"mm_vision_tower": "openai/clip-vit-large-patch14-336",
|
29 |
+
"model_type": "llava_llama",
|
30 |
+
"num_attention_heads": 40,
|
31 |
+
"num_hidden_layers": 40,
|
32 |
+
"num_key_value_heads": 40,
|
33 |
+
"pad_token_id": 0,
|
34 |
+
"pretraining_tp": 1,
|
35 |
+
"rms_norm_eps": 1e-05,
|
36 |
+
"rope_scaling": null,
|
37 |
+
"rope_theta": 10000.0,
|
38 |
+
"tie_word_embeddings": false,
|
39 |
+
"tokenizer_model_max_length": 2048,
|
40 |
+
"tokenizer_padding_side": "right",
|
41 |
+
"torch_dtype": "bfloat16",
|
42 |
+
"transformers_version": "4.37.2",
|
43 |
+
"tune_mm_mlp_adapter": false,
|
44 |
+
"tune_mm_vision_resampler": false,
|
45 |
+
"unfreeze_mm_vision_tower": false,
|
46 |
+
"use_cache": true,
|
47 |
+
"use_mm_proj": true,
|
48 |
+
"vocab_size": 32000
|
49 |
+
}
|