zzy0123 commited on
Commit
c1785c4
·
verified ·
1 Parent(s): 2bcd8c7

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +83 -0
config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlavaNextForConditionalGeneration"
4
+ ],
5
+ "hidden_size": 4096,
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
+ "multimodal_projector_bias": true,
33
+ "projector_hidden_act": "gelu",
34
+ "text_config": {
35
+ "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
36
+ "architectures": [
37
+ "MistralForCausalLM"
38
+ ],
39
+ "attention_dropout": 0.0,
40
+ "head_dim": 128,
41
+ "hidden_act": "silu",
42
+ "hidden_size": 4096,
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 14336,
45
+ "max_position_embeddings": 32768,
46
+ "model_type": "mistral",
47
+ "num_attention_heads": 32,
48
+ "num_hidden_layers": 32,
49
+ "num_key_value_heads": 8,
50
+ "rms_norm_eps": 1e-05,
51
+ "rope_theta": 1000000.0,
52
+ "sliding_window": null,
53
+ "torch_dtype": "float16",
54
+ "use_cache": true,
55
+ "vocab_size": 32064
56
+ },
57
+ "tie_word_embeddings": false,
58
+ "torch_dtype": "float16",
59
+ "transformers_version": "4.51.3",
60
+ "use_cache": true,
61
+ "use_image_newline_parameter": true,
62
+ "vision_config": {
63
+ "attention_dropout": 0.0,
64
+ "hidden_act": "quick_gelu",
65
+ "hidden_size": 1024,
66
+ "image_size": 336,
67
+ "initializer_factor": 1.0,
68
+ "initializer_range": 0.02,
69
+ "intermediate_size": 4096,
70
+ "layer_norm_eps": 1e-05,
71
+ "model_type": "clip_vision_model",
72
+ "num_attention_heads": 16,
73
+ "num_channels": 3,
74
+ "num_hidden_layers": 24,
75
+ "patch_size": 14,
76
+ "projection_dim": 768,
77
+ "torch_dtype": "float16",
78
+ "vocab_size": 32000
79
+ },
80
+ "vision_feature_layer": -2,
81
+ "vision_feature_select_strategy": "default",
82
+ "vocab_size": 32064
83
+ }