wentao-yuan
commited on
Commit
•
82aea11
1
Parent(s):
b0314fc
Upload config.json with huggingface_hub
Browse files- config.json +44 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "meta-llama/llama-2-7b-chat-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
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": "pad",
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 11008,
|
16 |
+
"max_position_embeddings": 4096,
|
17 |
+
"mlp_bias": false,
|
18 |
+
"mm_hidden_size": 1024,
|
19 |
+
"mm_patch_merge_type": "flat",
|
20 |
+
"mm_projector_lr": 2e-05,
|
21 |
+
"mm_projector_type": "linear",
|
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-336",
|
27 |
+
"model_type": "llava_llama",
|
28 |
+
"num_attention_heads": 32,
|
29 |
+
"num_hidden_layers": 32,
|
30 |
+
"num_key_value_heads": 32,
|
31 |
+
"pretraining_tp": 1,
|
32 |
+
"rms_norm_eps": 1e-05,
|
33 |
+
"rope_scaling": null,
|
34 |
+
"rope_theta": 10000.0,
|
35 |
+
"tie_word_embeddings": false,
|
36 |
+
"tokenizer_model_max_length": 2048,
|
37 |
+
"tokenizer_padding_side": "right",
|
38 |
+
"torch_dtype": "float16",
|
39 |
+
"transformers_version": "4.43.1",
|
40 |
+
"tune_mm_mlp_adapter": false,
|
41 |
+
"use_cache": true,
|
42 |
+
"use_mm_proj": true,
|
43 |
+
"vocab_size": 32000
|
44 |
+
}
|