Narrator5000
commited on
Commit
•
e3e85bc
1
Parent(s):
0c1116b
Create config.json
Browse files- config.json +82 -0
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "llava-hf/llava-v1.6-mistral-7b-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_seq_length": 576,
|
30 |
+
"image_token_index": 32000,
|
31 |
+
"model_type": "llava_next",
|
32 |
+
"projector_hidden_act": "gelu",
|
33 |
+
"quantization_config": {
|
34 |
+
"_load_in_4bit": true,
|
35 |
+
"_load_in_8bit": false,
|
36 |
+
"bnb_4bit_compute_dtype": "bfloat16",
|
37 |
+
"bnb_4bit_quant_storage": "uint8",
|
38 |
+
"bnb_4bit_quant_type": "nf4",
|
39 |
+
"bnb_4bit_use_double_quant": true,
|
40 |
+
"inference_mode": false,
|
41 |
+
"llm_int8_enable_fp32_cpu_offload": false,
|
42 |
+
"llm_int8_has_fp16_weight": false,
|
43 |
+
"llm_int8_skip_modules": null,
|
44 |
+
"llm_int8_threshold": 6.0,
|
45 |
+
"load_in_4bit": true,
|
46 |
+
"load_in_8bit": false,
|
47 |
+
"quant_method": "bitsandbytes"
|
48 |
+
},
|
49 |
+
"text_config": {
|
50 |
+
"_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
|
51 |
+
"architectures": [
|
52 |
+
"MistralForCausalLM"
|
53 |
+
],
|
54 |
+
"intermediate_size": 14336,
|
55 |
+
"max_position_embeddings": 32768,
|
56 |
+
"model_type": "mistral",
|
57 |
+
"num_key_value_heads": 8,
|
58 |
+
"rms_norm_eps": 1e-05,
|
59 |
+
"rope_theta": 1000000.0,
|
60 |
+
"sliding_window": null,
|
61 |
+
"torch_dtype": "bfloat16",
|
62 |
+
"vocab_size": 32064
|
63 |
+
},
|
64 |
+
"tie_word_embeddings": false,
|
65 |
+
"torch_dtype": "float16",
|
66 |
+
"transformers_version": "4.45.1",
|
67 |
+
"use_image_newline_parameter": true,
|
68 |
+
"vision_config": {
|
69 |
+
"hidden_size": 1024,
|
70 |
+
"image_size": 336,
|
71 |
+
"intermediate_size": 4096,
|
72 |
+
"model_type": "clip_vision_model",
|
73 |
+
"num_attention_heads": 16,
|
74 |
+
"num_hidden_layers": 24,
|
75 |
+
"patch_size": 14,
|
76 |
+
"projection_dim": 768,
|
77 |
+
"vocab_size": 32000
|
78 |
+
},
|
79 |
+
"vision_feature_layer": -2,
|
80 |
+
"vision_feature_select_strategy": "default",
|
81 |
+
"vocab_size": 32064
|
82 |
+
}
|