Commit
•
ebd2a6f
1
Parent(s):
5b1cae3
Upload config.json with huggingface_hub
Browse files- config.json +64 -0
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": 128256,
|
29 |
+
"model_type": "llava_next",
|
30 |
+
"projector_hidden_act": "gelu",
|
31 |
+
"text_config": {
|
32 |
+
"_name_or_path": "meta-llama/Meta-Llama-3-8B-Instruct",
|
33 |
+
"architectures": [
|
34 |
+
"LlamaForCausalLM"
|
35 |
+
],
|
36 |
+
"bos_token_id": 128000,
|
37 |
+
"eos_token_id": 128009,
|
38 |
+
"intermediate_size": 14336,
|
39 |
+
"max_position_embeddings": 8192,
|
40 |
+
"model_type": "llama",
|
41 |
+
"num_key_value_heads": 8,
|
42 |
+
"rms_norm_eps": 1e-05,
|
43 |
+
"rope_theta": 500000.0,
|
44 |
+
"torch_dtype": "bfloat16",
|
45 |
+
"vocab_size": 128320
|
46 |
+
},
|
47 |
+
"tie_word_embeddings": false,
|
48 |
+
"torch_dtype": "float16",
|
49 |
+
"transformers_version": "4.42.0.dev0",
|
50 |
+
"use_image_newline_parameter": true,
|
51 |
+
"vision_config": {
|
52 |
+
"hidden_size": 1024,
|
53 |
+
"image_size": 336,
|
54 |
+
"intermediate_size": 4096,
|
55 |
+
"model_type": "clip_vision_model",
|
56 |
+
"num_attention_heads": 16,
|
57 |
+
"num_hidden_layers": 24,
|
58 |
+
"patch_size": 14,
|
59 |
+
"projection_dim": 768,
|
60 |
+
"vocab_size": 32000
|
61 |
+
},
|
62 |
+
"vision_feature_layer": -2,
|
63 |
+
"vision_feature_select_strategy": "default"
|
64 |
+
}
|