sdoouyangboya
commited on
Commit
•
5d0a9fc
1
Parent(s):
42320fc
Upload config.json
Browse files- config.json +60 -0
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlavaNextForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"ignore_index": -100,
|
6 |
+
"image_grid_pinpoints": [
|
7 |
+
[
|
8 |
+
336,
|
9 |
+
672
|
10 |
+
],
|
11 |
+
[
|
12 |
+
672,
|
13 |
+
336
|
14 |
+
],
|
15 |
+
[
|
16 |
+
672,
|
17 |
+
672
|
18 |
+
],
|
19 |
+
[
|
20 |
+
1008,
|
21 |
+
336
|
22 |
+
],
|
23 |
+
[
|
24 |
+
336,
|
25 |
+
1008
|
26 |
+
]
|
27 |
+
],
|
28 |
+
"image_token_index": 32000,
|
29 |
+
"model_type": "llava_next",
|
30 |
+
"projector_hidden_act": "gelu",
|
31 |
+
"text_config": {
|
32 |
+
"_name_or_path": "lmsys/vicuna-7b-v1.5",
|
33 |
+
"architectures": [
|
34 |
+
"LlamaForCausalLM"
|
35 |
+
],
|
36 |
+
"max_position_embeddings": 4096,
|
37 |
+
"model_type": "llama",
|
38 |
+
"pad_token_id": 0,
|
39 |
+
"rms_norm_eps": 1e-05,
|
40 |
+
"torch_dtype": "float16",
|
41 |
+
"vocab_size": 32064
|
42 |
+
},
|
43 |
+
"torch_dtype": "float16",
|
44 |
+
"transformers_version": "4.39.0.dev0",
|
45 |
+
"use_image_newline_parameter": true,
|
46 |
+
"vision_config": {
|
47 |
+
"hidden_size": 1024,
|
48 |
+
"image_size": 336,
|
49 |
+
"intermediate_size": 4096,
|
50 |
+
"model_type": "clip_vision_model",
|
51 |
+
"num_attention_heads": 16,
|
52 |
+
"num_hidden_layers": 24,
|
53 |
+
"patch_size": 14,
|
54 |
+
"projection_dim": 768,
|
55 |
+
"vocab_size": 32000
|
56 |
+
},
|
57 |
+
"vision_feature_layer": -2,
|
58 |
+
"vision_feature_select_strategy": "default",
|
59 |
+
"vocab_size": 32064
|
60 |
+
}
|