huseinzol05
commited on
Commit
•
7f9ea6a
1
Parent(s):
03d9749
Upload config
Browse files- config.json +83 -0
config.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "llava-hf/llava-v1.6-34b-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": 64000,
|
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": "NousResearch/Nous-Hermes-2-Yi-34B",
|
47 |
+
"architectures": [
|
48 |
+
"LlamaForCausalLM"
|
49 |
+
],
|
50 |
+
"eos_token_id": 7,
|
51 |
+
"hidden_size": 7168,
|
52 |
+
"intermediate_size": 20480,
|
53 |
+
"max_position_embeddings": 4096,
|
54 |
+
"model_type": "llama",
|
55 |
+
"num_attention_heads": 56,
|
56 |
+
"num_hidden_layers": 60,
|
57 |
+
"num_key_value_heads": 8,
|
58 |
+
"pad_token_id": 0,
|
59 |
+
"rms_norm_eps": 1e-05,
|
60 |
+
"rope_theta": 5000000.0,
|
61 |
+
"torch_dtype": "bfloat16",
|
62 |
+
"use_cache": false,
|
63 |
+
"vocab_size": 64064
|
64 |
+
},
|
65 |
+
"tie_word_embeddings": false,
|
66 |
+
"torch_dtype": "float16",
|
67 |
+
"transformers_version": "4.41.1",
|
68 |
+
"use_image_newline_parameter": true,
|
69 |
+
"vision_config": {
|
70 |
+
"hidden_size": 1024,
|
71 |
+
"image_size": 336,
|
72 |
+
"intermediate_size": 4096,
|
73 |
+
"model_type": "clip_vision_model",
|
74 |
+
"num_attention_heads": 16,
|
75 |
+
"num_hidden_layers": 24,
|
76 |
+
"patch_size": 14,
|
77 |
+
"projection_dim": 768,
|
78 |
+
"vocab_size": 32000
|
79 |
+
},
|
80 |
+
"vision_feature_layer": -2,
|
81 |
+
"vision_feature_select_strategy": "default",
|
82 |
+
"vocab_size": 64064
|
83 |
+
}
|