fishsure commited on
Commit
65fc044
·
verified ·
1 Parent(s): 3a775a2

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +108 -0
config.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MllamaForConditionalGeneration"
4
+ ],
5
+ "hidden_size": 4096,
6
+ "image_token_index": 128256,
7
+ "model_type": "mllama",
8
+ "text_config": {
9
+ "cross_attention_layers": [
10
+ 3,
11
+ 8,
12
+ 13,
13
+ 18,
14
+ 23,
15
+ 28,
16
+ 33,
17
+ 38
18
+ ],
19
+ "dropout": 0,
20
+ "eos_token_id": [
21
+ 128001,
22
+ 128008,
23
+ 128009
24
+ ],
25
+ "hidden_act": "silu",
26
+ "hidden_size": 4096,
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 14336,
29
+ "max_position_embeddings": 131072,
30
+ "model_type": "mllama_text_model",
31
+ "num_attention_heads": 32,
32
+ "num_hidden_layers": 40,
33
+ "num_key_value_heads": 8,
34
+ "rms_norm_eps": 1e-05,
35
+ "rope_scaling": {
36
+ "factor": 8.0,
37
+ "high_freq_factor": 4.0,
38
+ "low_freq_factor": 1.0,
39
+ "original_max_position_embeddings": 8192,
40
+ "rope_type": "llama3"
41
+ },
42
+ "rope_theta": 500000.0,
43
+ "torch_dtype": "bfloat16",
44
+ "use_cache": true,
45
+ "vocab_size": 128256
46
+ },
47
+ "torch_dtype": "bfloat16",
48
+ "transformers_version": "4.52.0.dev0",
49
+ "use_cache": true,
50
+ "vision_config": {
51
+ "attention_heads": 16,
52
+ "hidden_act": "gelu",
53
+ "hidden_size": 1280,
54
+ "image_size": 560,
55
+ "initializer_range": 0.02,
56
+ "intermediate_layers_indices": [
57
+ 3,
58
+ 7,
59
+ 15,
60
+ 23,
61
+ 30
62
+ ],
63
+ "intermediate_size": 5120,
64
+ "max_num_tiles": 4,
65
+ "model_type": "mllama_vision_model",
66
+ "norm_eps": 1e-05,
67
+ "num_channels": 3,
68
+ "num_global_layers": 8,
69
+ "num_hidden_layers": 32,
70
+ "patch_size": 14,
71
+ "supported_aspect_ratios": [
72
+ [
73
+ 1,
74
+ 1
75
+ ],
76
+ [
77
+ 1,
78
+ 2
79
+ ],
80
+ [
81
+ 1,
82
+ 3
83
+ ],
84
+ [
85
+ 1,
86
+ 4
87
+ ],
88
+ [
89
+ 2,
90
+ 1
91
+ ],
92
+ [
93
+ 2,
94
+ 2
95
+ ],
96
+ [
97
+ 3,
98
+ 1
99
+ ],
100
+ [
101
+ 4,
102
+ 1
103
+ ]
104
+ ],
105
+ "torch_dtype": "bfloat16",
106
+ "vision_output_dim": 7680
107
+ }
108
+ }