HelloJiang
commited on
Commit
•
fef4f75
1
Parent(s):
443bfcf
Upload config.json with huggingface_hub
Browse files- config.json +41 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/Llama-2-7b-chat-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"freeze_mm_mlp_adapter": false,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"image_aspect_ratio": "pad",
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 11008,
|
14 |
+
"max_position_embeddings": 4096,
|
15 |
+
"mm_hidden_size": 1536,
|
16 |
+
"mm_projector_lr": 2e-05,
|
17 |
+
"mm_projector_type": "linear",
|
18 |
+
"mm_use_im_patch_token": false,
|
19 |
+
"mm_use_im_start_end": false,
|
20 |
+
"mm_vision_select_feature": "patch",
|
21 |
+
"mm_vision_select_layer": -2,
|
22 |
+
"mm_vision_tower": "HelloJiang/LAION-CLIP-ConvNeXt-Large-512",
|
23 |
+
"model_type": "llava",
|
24 |
+
"num_attention_heads": 32,
|
25 |
+
"num_hidden_layers": 32,
|
26 |
+
"num_key_value_heads": 32,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"pretraining_tp": 1,
|
29 |
+
"rms_norm_eps": 1e-05,
|
30 |
+
"rope_scaling": null,
|
31 |
+
"rope_theta": 10000.0,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"tokenizer_model_max_length": 2048,
|
34 |
+
"tokenizer_padding_side": "right",
|
35 |
+
"torch_dtype": "float16",
|
36 |
+
"transformers_version": "4.33.2",
|
37 |
+
"tune_mm_mlp_adapter": false,
|
38 |
+
"use_cache": true,
|
39 |
+
"use_mm_proj": true,
|
40 |
+
"vocab_size": 32000
|
41 |
+
}
|