erax commited on
Commit
711d542
·
verified ·
1 Parent(s): 6febb73

Upload .ipynb_checkpoints/config-checkpoint.json with huggingface_hub

Browse files
.ipynb_checkpoints/config-checkpoint.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Llama4ForConditionalGeneration"
4
+ ],
5
+ "boi_token_index": 200080,
6
+ "eoi_token_index": 200081,
7
+ "image_token_index": 200092,
8
+ "model_type": "llama4",
9
+ "quantization_config": {
10
+ "config_groups": {
11
+ "group_0": {
12
+ "input_activations": {
13
+ "actorder": null,
14
+ "block_structure": null,
15
+ "dynamic": true,
16
+ "group_size": null,
17
+ "num_bits": 8,
18
+ "observer": null,
19
+ "observer_kwargs": {},
20
+ "strategy": "token",
21
+ "symmetric": true,
22
+ "type": "float"
23
+ },
24
+ "output_activations": null,
25
+ "targets": [
26
+ "Linear"
27
+ ],
28
+ "weights": {
29
+ "actorder": null,
30
+ "block_structure": null,
31
+ "dynamic": false,
32
+ "group_size": null,
33
+ "num_bits": 8,
34
+ "observer": "minmax",
35
+ "observer_kwargs": {},
36
+ "strategy": "channel",
37
+ "symmetric": true,
38
+ "type": "float"
39
+ }
40
+ }
41
+ },
42
+ "format": "float-quantized",
43
+ "global_compression_ratio": null,
44
+ "ignore": [],
45
+ "kv_cache_scheme": null,
46
+ "quant_method": "compressed-tensors",
47
+ "quantization_status": "compressed"
48
+ },
49
+ "text_config": {
50
+ "attention_bias": false,
51
+ "attention_chunk_size": 8192,
52
+ "attention_dropout": 0.0,
53
+ "attn_scale": 0.1,
54
+ "attn_temperature_tuning": true,
55
+ "bos_token_id": 200000,
56
+ "cache_implementation": "hybrid",
57
+ "eos_token_id": [
58
+ 200001,
59
+ 200007,
60
+ 200008
61
+ ],
62
+ "floor_scale": 8192,
63
+ "for_llm_compressor": false,
64
+ "head_dim": 128,
65
+ "hidden_act": "silu",
66
+ "hidden_size": 5120,
67
+ "initializer_range": 0.02,
68
+ "interleave_moe_layer_step": 1,
69
+ "intermediate_size": 8192,
70
+ "intermediate_size_mlp": 16384,
71
+ "max_position_embeddings": 262144,
72
+ "model_type": "llama4_text",
73
+ "moe_layers": [
74
+ 0,
75
+ 1,
76
+ 2,
77
+ 3,
78
+ 4,
79
+ 5,
80
+ 6,
81
+ 7,
82
+ 8,
83
+ 9,
84
+ 10,
85
+ 11,
86
+ 12,
87
+ 13,
88
+ 14,
89
+ 15,
90
+ 16,
91
+ 17,
92
+ 18,
93
+ 19,
94
+ 20,
95
+ 21,
96
+ 22,
97
+ 23,
98
+ 24,
99
+ 25,
100
+ 26,
101
+ 27,
102
+ 28,
103
+ 29,
104
+ 30,
105
+ 31,
106
+ 32,
107
+ 33,
108
+ 34,
109
+ 35,
110
+ 36,
111
+ 37,
112
+ 38,
113
+ 39,
114
+ 40,
115
+ 41,
116
+ 42,
117
+ 43,
118
+ 44,
119
+ 45,
120
+ 46,
121
+ 47
122
+ ],
123
+ "no_rope_layers": [
124
+ 1,
125
+ 1,
126
+ 1,
127
+ 0,
128
+ 1,
129
+ 1,
130
+ 1,
131
+ 0,
132
+ 1,
133
+ 1,
134
+ 1,
135
+ 0,
136
+ 1,
137
+ 1,
138
+ 1,
139
+ 0,
140
+ 1,
141
+ 1,
142
+ 1,
143
+ 0,
144
+ 1,
145
+ 1,
146
+ 1,
147
+ 0,
148
+ 1,
149
+ 1,
150
+ 1,
151
+ 0,
152
+ 1,
153
+ 1,
154
+ 1,
155
+ 0,
156
+ 1,
157
+ 1,
158
+ 1,
159
+ 0,
160
+ 1,
161
+ 1,
162
+ 1,
163
+ 0,
164
+ 1,
165
+ 1,
166
+ 1,
167
+ 0,
168
+ 1,
169
+ 1,
170
+ 1,
171
+ 0
172
+ ],
173
+ "num_attention_heads": 40,
174
+ "num_experts_per_tok": 1,
175
+ "num_hidden_layers": 48,
176
+ "num_key_value_heads": 8,
177
+ "num_local_experts": 16,
178
+ "output_router_logits": false,
179
+ "pad_token_id": 200018,
180
+ "rms_norm_eps": 1e-05,
181
+ "rope_scaling": {
182
+ "factor": 16.0,
183
+ "high_freq_factor": 1.0,
184
+ "low_freq_factor": 1.0,
185
+ "original_max_position_embeddings": 8192,
186
+ "rope_type": "llama3"
187
+ },
188
+ "rope_theta": 500000.0,
189
+ "router_aux_loss_coef": 0.001,
190
+ "router_jitter_noise": 0.0,
191
+ "torch_dtype": "bfloat16",
192
+ "use_cache": true,
193
+ "use_qk_norm": true,
194
+ "vocab_size": 202048
195
+ },
196
+ "tie_word_embeddings": false,
197
+ "torch_dtype": "bfloat16",
198
+ "transformers_version": "4.52.4",
199
+ "vision_config": {
200
+ "attention_dropout": 0.0,
201
+ "hidden_act": "gelu",
202
+ "hidden_size": 1408,
203
+ "image_size": 336,
204
+ "initializer_range": 0.02,
205
+ "intermediate_size": 5632,
206
+ "model_type": "llama4_vision_model",
207
+ "multi_modal_projector_bias": false,
208
+ "norm_eps": 1e-05,
209
+ "num_attention_heads": 16,
210
+ "num_channels": 3,
211
+ "num_hidden_layers": 34,
212
+ "patch_size": 14,
213
+ "pixel_shuffle_ratio": 0.5,
214
+ "projector_dropout": 0.0,
215
+ "projector_input_dim": 4096,
216
+ "projector_output_dim": 4096,
217
+ "rope_theta": 10000,
218
+ "vision_feature_layer": -1,
219
+ "vision_feature_select_strategy": "default",
220
+ "vision_output_dim": 4096
221
+ }
222
+ }