Upload config.json with huggingface_hub
Browse files- config.json +40 -0
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "llava-hf/llava-1.5-7b-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlavaForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"hidden_size": 4096,
|
7 |
+
"ignore_index": -100,
|
8 |
+
"image_token_index": 32000,
|
9 |
+
"model_type": "llava",
|
10 |
+
"pad_token_id": 32001,
|
11 |
+
"projector_hidden_act": "gelu",
|
12 |
+
"text_config": {
|
13 |
+
"_name_or_path": "lmsys/vicuna-7b-v1.5",
|
14 |
+
"architectures": [
|
15 |
+
"LlamaForCausalLM"
|
16 |
+
],
|
17 |
+
"max_position_embeddings": 4096,
|
18 |
+
"model_type": "llama",
|
19 |
+
"rms_norm_eps": 1e-05,
|
20 |
+
"torch_dtype": "float16",
|
21 |
+
"vocab_size": 32064
|
22 |
+
},
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "float16",
|
25 |
+
"transformers_version": "4.37.2",
|
26 |
+
"vision_config": {
|
27 |
+
"hidden_size": 1024,
|
28 |
+
"image_size": 336,
|
29 |
+
"intermediate_size": 4096,
|
30 |
+
"model_type": "clip_vision_model",
|
31 |
+
"num_attention_heads": 16,
|
32 |
+
"num_hidden_layers": 24,
|
33 |
+
"patch_size": 14,
|
34 |
+
"projection_dim": 768,
|
35 |
+
"vocab_size": 32000
|
36 |
+
},
|
37 |
+
"vision_feature_layer": -2,
|
38 |
+
"vision_feature_select_strategy": "default",
|
39 |
+
"vocab_size": 32064
|
40 |
+
}
|