horheynm commited on
Commit
891e9b1
·
verified ·
1 Parent(s): 89a002b

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 32768,
15
+ "model_type": "mistral",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 8,
19
+ "quantization_config": {
20
+ "config_groups": {
21
+ "group_0": {
22
+ "input_activations": null,
23
+ "output_activations": null,
24
+ "targets": [
25
+ "Linear"
26
+ ],
27
+ "weights": {
28
+ "actorder": null,
29
+ "block_structure": null,
30
+ "dynamic": false,
31
+ "group_size": 128,
32
+ "num_bits": 4,
33
+ "observer": "minmax",
34
+ "observer_kwargs": {},
35
+ "strategy": "group",
36
+ "symmetric": true,
37
+ "type": "int"
38
+ }
39
+ }
40
+ },
41
+ "format": "pack-quantized",
42
+ "global_compression_ratio": 2.074153682854382,
43
+ "ignore": [
44
+ "lm_head"
45
+ ],
46
+ "kv_cache_scheme": null,
47
+ "quant_method": "compressed-tensors",
48
+ "quantization_status": "compressed",
49
+ "sparsity_config": {
50
+ "format": "dense",
51
+ "global_sparsity": 0.15754637109977196,
52
+ "ignore": [
53
+ "model.layers.0.self_attn.v_proj",
54
+ "model.layers.0.self_attn.o_proj",
55
+ "model.layers.0.mlp.gate_proj",
56
+ "model.layers.0.mlp.up_proj",
57
+ "model.layers.0.mlp.down_proj",
58
+ "model.layers.1.self_attn.q_proj",
59
+ "model.layers.1.self_attn.k_proj",
60
+ "model.layers.1.self_attn.v_proj",
61
+ "model.layers.1.self_attn.o_proj",
62
+ "model.layers.1.mlp.gate_proj",
63
+ "model.layers.1.mlp.up_proj",
64
+ "model.layers.1.mlp.down_proj",
65
+ "model.layers.2.self_attn.q_proj",
66
+ "model.layers.2.self_attn.k_proj",
67
+ "model.layers.2.self_attn.v_proj",
68
+ "model.layers.2.self_attn.o_proj",
69
+ "model.layers.2.mlp.gate_proj",
70
+ "model.layers.2.mlp.up_proj",
71
+ "model.layers.2.mlp.down_proj",
72
+ "model.layers.3.self_attn.q_proj",
73
+ "model.layers.3.self_attn.k_proj",
74
+ "model.layers.3.self_attn.v_proj",
75
+ "model.layers.3.self_attn.o_proj",
76
+ "model.layers.3.mlp.gate_proj",
77
+ "model.layers.3.mlp.up_proj",
78
+ "model.layers.3.mlp.down_proj",
79
+ "model.layers.4.self_attn.q_proj",
80
+ "model.layers.4.self_attn.k_proj",
81
+ "model.layers.4.self_attn.v_proj",
82
+ "model.layers.4.self_attn.o_proj",
83
+ "model.layers.4.mlp.gate_proj",
84
+ "model.layers.4.mlp.up_proj",
85
+ "model.layers.4.mlp.down_proj",
86
+ "model.layers.5.self_attn.q_proj",
87
+ "model.layers.5.self_attn.k_proj",
88
+ "model.layers.5.self_attn.v_proj",
89
+ "model.layers.5.self_attn.o_proj",
90
+ "model.layers.5.mlp.gate_proj",
91
+ "model.layers.5.mlp.up_proj",
92
+ "model.layers.5.mlp.down_proj",
93
+ "model.layers.6.self_attn.q_proj",
94
+ "model.layers.6.self_attn.k_proj",
95
+ "model.layers.6.self_attn.v_proj",
96
+ "model.layers.6.self_attn.o_proj",
97
+ "model.layers.6.mlp.gate_proj",
98
+ "model.layers.6.mlp.up_proj",
99
+ "model.layers.6.mlp.down_proj",
100
+ "model.layers.7.self_attn.q_proj",
101
+ "model.layers.7.self_attn.k_proj",
102
+ "model.layers.7.self_attn.v_proj",
103
+ "model.layers.7.self_attn.o_proj",
104
+ "model.layers.7.mlp.gate_proj",
105
+ "model.layers.7.mlp.up_proj",
106
+ "model.layers.7.mlp.down_proj",
107
+ "model.layers.8.self_attn.q_proj",
108
+ "model.layers.8.self_attn.k_proj",
109
+ "model.layers.8.self_attn.v_proj",
110
+ "model.layers.8.self_attn.o_proj",
111
+ "model.layers.8.mlp.gate_proj",
112
+ "model.layers.8.mlp.up_proj",
113
+ "model.layers.8.mlp.down_proj",
114
+ "model.layers.9.self_attn.q_proj",
115
+ "model.layers.9.self_attn.k_proj",
116
+ "model.layers.9.self_attn.v_proj",
117
+ "model.layers.9.self_attn.o_proj",
118
+ "model.layers.9.mlp.gate_proj",
119
+ "model.layers.9.mlp.up_proj",
120
+ "model.layers.9.mlp.down_proj",
121
+ "model.layers.10.self_attn.q_proj",
122
+ "model.layers.10.self_attn.k_proj",
123
+ "model.layers.10.self_attn.v_proj",
124
+ "model.layers.10.self_attn.o_proj",
125
+ "model.layers.10.mlp.gate_proj",
126
+ "model.layers.10.mlp.up_proj",
127
+ "model.layers.10.mlp.down_proj",
128
+ "model.layers.11.self_attn.q_proj",
129
+ "model.layers.11.self_attn.k_proj",
130
+ "model.layers.11.self_attn.v_proj",
131
+ "model.layers.11.self_attn.o_proj",
132
+ "model.layers.11.mlp.gate_proj",
133
+ "model.layers.11.mlp.up_proj",
134
+ "model.layers.11.mlp.down_proj",
135
+ "model.layers.12.self_attn.q_proj",
136
+ "model.layers.12.self_attn.k_proj",
137
+ "model.layers.12.self_attn.v_proj",
138
+ "model.layers.12.self_attn.o_proj",
139
+ "model.layers.12.mlp.gate_proj",
140
+ "model.layers.12.mlp.up_proj",
141
+ "model.layers.12.mlp.down_proj",
142
+ "model.layers.13.self_attn.q_proj",
143
+ "model.layers.13.self_attn.k_proj",
144
+ "model.layers.13.self_attn.v_proj",
145
+ "model.layers.13.self_attn.o_proj",
146
+ "model.layers.13.mlp.gate_proj",
147
+ "model.layers.13.mlp.up_proj",
148
+ "model.layers.13.mlp.down_proj",
149
+ "model.layers.14.self_attn.q_proj",
150
+ "model.layers.14.self_attn.k_proj",
151
+ "model.layers.14.self_attn.v_proj",
152
+ "model.layers.14.self_attn.o_proj",
153
+ "model.layers.14.mlp.gate_proj",
154
+ "model.layers.14.mlp.up_proj",
155
+ "model.layers.14.mlp.down_proj",
156
+ "model.layers.15.self_attn.q_proj",
157
+ "model.layers.15.self_attn.k_proj",
158
+ "model.layers.15.self_attn.v_proj",
159
+ "model.layers.15.self_attn.o_proj",
160
+ "model.layers.15.mlp.gate_proj",
161
+ "model.layers.15.mlp.up_proj",
162
+ "model.layers.15.mlp.down_proj",
163
+ "model.layers.16.self_attn.q_proj",
164
+ "model.layers.16.self_attn.k_proj",
165
+ "model.layers.16.self_attn.v_proj",
166
+ "model.layers.16.self_attn.o_proj",
167
+ "model.layers.16.mlp.gate_proj",
168
+ "model.layers.16.mlp.up_proj",
169
+ "model.layers.16.mlp.down_proj",
170
+ "model.layers.17.self_attn.q_proj",
171
+ "model.layers.17.self_attn.k_proj",
172
+ "model.layers.17.self_attn.v_proj",
173
+ "model.layers.17.self_attn.o_proj",
174
+ "model.layers.17.mlp.gate_proj",
175
+ "model.layers.17.mlp.up_proj",
176
+ "model.layers.17.mlp.down_proj",
177
+ "model.layers.18.self_attn.q_proj",
178
+ "model.layers.18.self_attn.k_proj",
179
+ "model.layers.18.self_attn.v_proj",
180
+ "model.layers.18.self_attn.o_proj",
181
+ "model.layers.18.mlp.gate_proj",
182
+ "model.layers.18.mlp.up_proj",
183
+ "model.layers.18.mlp.down_proj",
184
+ "model.layers.19.self_attn.q_proj",
185
+ "model.layers.19.self_attn.k_proj",
186
+ "model.layers.19.self_attn.v_proj",
187
+ "model.layers.19.self_attn.o_proj",
188
+ "model.layers.19.mlp.gate_proj",
189
+ "model.layers.19.mlp.up_proj",
190
+ "model.layers.19.mlp.down_proj",
191
+ "model.layers.20.self_attn.q_proj",
192
+ "model.layers.20.self_attn.k_proj",
193
+ "model.layers.20.self_attn.v_proj",
194
+ "model.layers.20.self_attn.o_proj",
195
+ "model.layers.20.mlp.gate_proj",
196
+ "model.layers.20.mlp.up_proj",
197
+ "model.layers.20.mlp.down_proj",
198
+ "model.layers.21.self_attn.q_proj",
199
+ "model.layers.21.self_attn.k_proj",
200
+ "model.layers.21.self_attn.v_proj",
201
+ "model.layers.21.self_attn.o_proj",
202
+ "model.layers.21.mlp.gate_proj",
203
+ "model.layers.21.mlp.up_proj",
204
+ "model.layers.21.mlp.down_proj",
205
+ "model.layers.22.self_attn.q_proj",
206
+ "model.layers.22.self_attn.k_proj",
207
+ "model.layers.22.self_attn.v_proj",
208
+ "model.layers.22.self_attn.o_proj",
209
+ "model.layers.22.mlp.gate_proj",
210
+ "model.layers.22.mlp.up_proj",
211
+ "model.layers.22.mlp.down_proj",
212
+ "model.layers.23.self_attn.q_proj",
213
+ "model.layers.23.self_attn.k_proj",
214
+ "model.layers.23.self_attn.v_proj",
215
+ "model.layers.23.self_attn.o_proj",
216
+ "model.layers.23.mlp.gate_proj",
217
+ "model.layers.23.mlp.up_proj",
218
+ "model.layers.23.mlp.down_proj",
219
+ "model.layers.24.self_attn.q_proj",
220
+ "model.layers.24.self_attn.k_proj",
221
+ "model.layers.24.self_attn.v_proj",
222
+ "model.layers.24.self_attn.o_proj",
223
+ "model.layers.24.mlp.gate_proj",
224
+ "model.layers.24.mlp.up_proj",
225
+ "model.layers.24.mlp.down_proj",
226
+ "model.layers.25.self_attn.q_proj",
227
+ "model.layers.25.self_attn.k_proj",
228
+ "model.layers.25.self_attn.v_proj",
229
+ "model.layers.25.self_attn.o_proj",
230
+ "model.layers.25.mlp.gate_proj",
231
+ "model.layers.25.mlp.up_proj",
232
+ "model.layers.25.mlp.down_proj",
233
+ "model.layers.26.self_attn.q_proj",
234
+ "model.layers.26.self_attn.k_proj",
235
+ "model.layers.26.self_attn.v_proj",
236
+ "model.layers.26.self_attn.o_proj",
237
+ "model.layers.26.mlp.gate_proj",
238
+ "model.layers.26.mlp.up_proj",
239
+ "model.layers.26.mlp.down_proj",
240
+ "model.layers.27.self_attn.q_proj",
241
+ "model.layers.27.self_attn.k_proj",
242
+ "model.layers.27.self_attn.v_proj",
243
+ "model.layers.27.self_attn.o_proj",
244
+ "model.layers.27.mlp.gate_proj",
245
+ "model.layers.27.mlp.up_proj",
246
+ "model.layers.27.mlp.down_proj",
247
+ "model.layers.28.self_attn.q_proj",
248
+ "model.layers.28.self_attn.k_proj",
249
+ "model.layers.28.self_attn.v_proj",
250
+ "model.layers.28.self_attn.o_proj",
251
+ "model.layers.28.mlp.gate_proj",
252
+ "model.layers.28.mlp.up_proj",
253
+ "model.layers.28.mlp.down_proj",
254
+ "model.layers.29.self_attn.q_proj",
255
+ "model.layers.29.self_attn.k_proj",
256
+ "model.layers.29.self_attn.v_proj",
257
+ "model.layers.29.self_attn.o_proj",
258
+ "model.layers.29.mlp.gate_proj",
259
+ "model.layers.29.mlp.up_proj",
260
+ "model.layers.29.mlp.down_proj",
261
+ "model.layers.30.self_attn.q_proj",
262
+ "model.layers.30.self_attn.k_proj",
263
+ "model.layers.30.self_attn.v_proj",
264
+ "model.layers.30.self_attn.o_proj",
265
+ "model.layers.30.mlp.gate_proj",
266
+ "model.layers.30.mlp.up_proj",
267
+ "model.layers.30.mlp.down_proj",
268
+ "model.layers.31.self_attn.q_proj",
269
+ "model.layers.31.self_attn.k_proj",
270
+ "model.layers.31.self_attn.v_proj",
271
+ "model.layers.31.self_attn.o_proj",
272
+ "model.layers.31.mlp.gate_proj",
273
+ "model.layers.31.mlp.up_proj",
274
+ "model.layers.31.mlp.down_proj",
275
+ "lm_head"
276
+ ],
277
+ "registry_requires_subclass": false,
278
+ "sparsity_structure": "unstructured",
279
+ "targets": [
280
+ "model.layers.0.self_attn.q_proj",
281
+ "model.layers.0.self_attn.k_proj"
282
+ ]
283
+ }
284
+ },
285
+ "rms_norm_eps": 1e-05,
286
+ "rope_theta": 1000000.0,
287
+ "sliding_window": null,
288
+ "tie_word_embeddings": false,
289
+ "torch_dtype": "bfloat16",
290
+ "transformers_version": "4.48.0",
291
+ "use_cache": true,
292
+ "vocab_size": 32768
293
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.48.0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01ab1446afafdc0b7746850d54893860cac24e3915d73b837a653cba8cc614e4
3
+ size 4136204176
recipe.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ DEFAULT_stage:
2
+ DEFAULT_modifiers:
3
+ GPTQModifier:
4
+ scheme: W4A16
5
+ targets: Linear
6
+ ignore: [lm_head]
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff