nicocambrian
commited on
Upload config
Browse files- config.json +81 -0
config.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "llava-hf/llava-v1.6-vicuna-13b-hf",
|
3 |
+
"architectures": [
|
4 |
+
"LlavaNextForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"ignore_index": -100,
|
7 |
+
"image_grid_pinpoints": [
|
8 |
+
[
|
9 |
+
336,
|
10 |
+
672
|
11 |
+
],
|
12 |
+
[
|
13 |
+
672,
|
14 |
+
336
|
15 |
+
],
|
16 |
+
[
|
17 |
+
672,
|
18 |
+
672
|
19 |
+
],
|
20 |
+
[
|
21 |
+
1008,
|
22 |
+
336
|
23 |
+
],
|
24 |
+
[
|
25 |
+
336,
|
26 |
+
1008
|
27 |
+
]
|
28 |
+
],
|
29 |
+
"image_token_index": 32000,
|
30 |
+
"model_type": "llava_next",
|
31 |
+
"projector_hidden_act": "gelu",
|
32 |
+
"quantization_config": {
|
33 |
+
"backend": "autoawq",
|
34 |
+
"bits": 4,
|
35 |
+
"do_fuse": false,
|
36 |
+
"exllama_config": null,
|
37 |
+
"fuse_max_seq_len": null,
|
38 |
+
"group_size": 128,
|
39 |
+
"modules_to_fuse": null,
|
40 |
+
"modules_to_not_convert": null,
|
41 |
+
"quant_method": "awq",
|
42 |
+
"version": "gemm",
|
43 |
+
"zero_point": true
|
44 |
+
},
|
45 |
+
"text_config": {
|
46 |
+
"_name_or_path": "lmsys/vicuna-13b-v1.5",
|
47 |
+
"architectures": [
|
48 |
+
"LlamaForCausalLM"
|
49 |
+
],
|
50 |
+
"hidden_size": 5120,
|
51 |
+
"intermediate_size": 13824,
|
52 |
+
"max_length": 4096,
|
53 |
+
"max_position_embeddings": 4096,
|
54 |
+
"model_type": "llama",
|
55 |
+
"num_attention_heads": 40,
|
56 |
+
"num_hidden_layers": 40,
|
57 |
+
"num_key_value_heads": 40,
|
58 |
+
"pad_token_id": 0,
|
59 |
+
"rms_norm_eps": 1e-05,
|
60 |
+
"torch_dtype": "float16",
|
61 |
+
"vocab_size": 32064
|
62 |
+
},
|
63 |
+
"tie_word_embeddings": false,
|
64 |
+
"torch_dtype": "float16",
|
65 |
+
"transformers_version": "4.41.1",
|
66 |
+
"use_image_newline_parameter": true,
|
67 |
+
"vision_config": {
|
68 |
+
"hidden_size": 1024,
|
69 |
+
"image_size": 336,
|
70 |
+
"intermediate_size": 4096,
|
71 |
+
"model_type": "clip_vision_model",
|
72 |
+
"num_attention_heads": 16,
|
73 |
+
"num_hidden_layers": 24,
|
74 |
+
"patch_size": 14,
|
75 |
+
"projection_dim": 768,
|
76 |
+
"vocab_size": 32000
|
77 |
+
},
|
78 |
+
"vision_feature_layer": -2,
|
79 |
+
"vision_feature_select_strategy": "default",
|
80 |
+
"vocab_size": 32064
|
81 |
+
}
|