hiiamsid commited on
Commit
a2d9073
·
verified ·
1 Parent(s): 62b2304

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +74 -0
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/siddhartha/.cache/huggingface/hub/models--llava-hf--llava-v1.6-mistral-7b-hf/snapshots/2f7f20bda2e7af8e54438fec01ac5214e9ac6f92",
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
+ "bits": 4,
35
+ "group_size": 128,
36
+ "modules_to_not_convert": null,
37
+ "quant_method": "awq",
38
+ "version": "gemm",
39
+ "zero_point": true
40
+ },
41
+ "text_config": {
42
+ "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
43
+ "architectures": [
44
+ "MistralForCausalLM"
45
+ ],
46
+ "intermediate_size": 14336,
47
+ "max_position_embeddings": 32768,
48
+ "model_type": "mistral",
49
+ "num_key_value_heads": 8,
50
+ "rms_norm_eps": 1e-05,
51
+ "rope_theta": 1000000.0,
52
+ "sliding_window": null,
53
+ "torch_dtype": "bfloat16",
54
+ "vocab_size": 32064
55
+ },
56
+ "tie_word_embeddings": false,
57
+ "torch_dtype": "bfloat16",
58
+ "transformers_version": "4.45.2",
59
+ "use_image_newline_parameter": true,
60
+ "vision_config": {
61
+ "hidden_size": 1024,
62
+ "image_size": 336,
63
+ "intermediate_size": 4096,
64
+ "model_type": "clip_vision_model",
65
+ "num_attention_heads": 16,
66
+ "num_hidden_layers": 24,
67
+ "patch_size": 14,
68
+ "projection_dim": 768,
69
+ "vocab_size": 32000
70
+ },
71
+ "vision_feature_layer": -2,
72
+ "vision_feature_select_strategy": "default",
73
+ "vocab_size": 32064
74
+ }