Upload config.json with huggingface_hub
Browse files- config.json +39 -0
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/comp_robot/liushilong/data/LLAVA/vicuna-7b-v0",
|
3 |
+
"architectures": [
|
4 |
+
"LlavaLlamaForCausalLM"
|
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": "square",
|
12 |
+
"image_grid_pinpoints": null,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 11008,
|
15 |
+
"max_position_embeddings": 2048,
|
16 |
+
"mm_hidden_size": 1024,
|
17 |
+
"mm_projector_lr": null,
|
18 |
+
"mm_projector_type": "linear",
|
19 |
+
"mm_use_im_patch_token": false,
|
20 |
+
"mm_use_im_start_end": false,
|
21 |
+
"mm_vision_select_feature": "patch",
|
22 |
+
"mm_vision_select_layer": -2,
|
23 |
+
"mm_vision_tower": "openai/clip-vit-large-patch14",
|
24 |
+
"model_type": "llava",
|
25 |
+
"num_attention_heads": 32,
|
26 |
+
"num_hidden_layers": 32,
|
27 |
+
"num_key_value_heads": 32,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"pretraining_tp": 1,
|
30 |
+
"rms_norm_eps": 1e-06,
|
31 |
+
"rope_scaling": null,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"torch_dtype": "bfloat16",
|
34 |
+
"transformers_version": "4.31.0",
|
35 |
+
"tune_mm_mlp_adapter": false,
|
36 |
+
"use_cache": true,
|
37 |
+
"use_mm_proj": true,
|
38 |
+
"vocab_size": 32001
|
39 |
+
}
|