juhirats commited on
Commit
aef56b6
·
verified ·
1 Parent(s): 3d61183

Upload LaCo pruned Qwen3-8B: 36→26 layers, 27.8% compression

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3-8B-Base
4
+ tags:
5
+ - pruning
6
+ - layer-pruning
7
+ - laco
8
+ - compressed
9
+ - qwen3
10
+ - llm
11
+ - efficient
12
+ library_name: transformers
13
+ pipeline_tag: text-generation
14
+ language:
15
+ - en
16
+ - zh
17
+ - multilingual
18
+ datasets:
19
+ - wikipedia
20
+ model-index:
21
+ - name: Qwen3-8B-LaCo-Pruned
22
+ results:
23
+ - task:
24
+ type: text-generation
25
+ name: Text Generation
26
+ dataset:
27
+ name: PIQA
28
+ type: piqa
29
+ metrics:
30
+ - type: accuracy_norm
31
+ value: 71.38
32
+ name: Accuracy (Normalized)
33
+ - task:
34
+ type: text-generation
35
+ name: Text Generation
36
+ dataset:
37
+ name: HellaSwag
38
+ type: hellaswag
39
+ metrics:
40
+ - type: accuracy_norm
41
+ value: 61.98
42
+ name: Accuracy (Normalized)
43
+ - task:
44
+ type: text-generation
45
+ name: Text Generation
46
+ dataset:
47
+ name: BoolQ
48
+ type: boolq
49
+ metrics:
50
+ - type: accuracy
51
+ value: 64.95
52
+ name: Accuracy
53
+ - task:
54
+ type: text-generation
55
+ name: Text Generation
56
+ dataset:
57
+ name: WinoGrande
58
+ type: winogrande
59
+ metrics:
60
+ - type: accuracy
61
+ value: 62.83
62
+ name: Accuracy
63
+ - task:
64
+ type: text-generation
65
+ name: Text Generation
66
+ dataset:
67
+ name: ARC-Challenge
68
+ type: arc_challenge
69
+ metrics:
70
+ - type: accuracy_norm
71
+ value: 36.09
72
+ name: Accuracy (Normalized)
73
+ - task:
74
+ type: text-generation
75
+ name: Text Generation
76
+ dataset:
77
+ name: ARC-Easy
78
+ type: arc_easy
79
+ metrics:
80
+ - type: accuracy_norm
81
+ value: 58.04
82
+ name: Accuracy (Normalized)
83
+ - task:
84
+ type: text-generation
85
+ name: Text Generation
86
+ dataset:
87
+ name: MMLU
88
+ type: mmlu
89
+ metrics:
90
+ - type: accuracy
91
+ value: 31.30
92
+ name: Accuracy (5-shot)
93
+ ---
94
+
95
+ # Qwen3-8B-LaCo-Pruned
96
+
97
+ This model is a **layer-pruned** version of [Qwen3-8B-Base](https://huggingface.co/Qwen/Qwen3-8B-Base) using the [LaCo (Layer Collapse)](https://arxiv.org/abs/2402.11187) structured pruning method.
98
+
99
+ ## Model Summary
100
+
101
+ | Attribute | Value |
102
+ |-----------|-------|
103
+ | **Base Model** | [Qwen/Qwen3-8B-Base](https://huggingface.co/Qwen/Qwen3-8B-Base) |
104
+ | **Pruning Method** | LaCo (Layer Collapse) |
105
+ | **Original Layers** | 36 |
106
+ | **Pruned Layers** | 30 |
107
+ | **Layers Removed** | 6 |
108
+ | **Compression** | 16.7% |
109
+ | **Parameters** | ~6.7B (reduced from ~8B) |
110
+
111
+ ## Key Results
112
+
113
+ This model achieves **16.7% compression** while retaining:
114
+ - **~90% of physical reasoning** (PIQA)
115
+ - **~94% of commonsense reasoning** (WinoGrande)
116
+ - **~79% of common sense completion** (HellaSwag)
117
+ - **~41% of factual knowledge** (MMLU)
118
+
119
+ This is a **raw pruned model without post-training**. Fine-tuning can further recover lost capabilities.
120
+
121
+ ---
122
+
123
+ ## Benchmark Results (Pre-Training)
124
+
125
+ **Note:** All benchmarks below are evaluated on the pruned model **without any post-training or fine-tuning**. These results represent the raw performance after pruning only. Post-training is expected to improve these scores, particularly on knowledge-intensive tasks like MMLU.
126
+
127
+ ### Comparison with Original Qwen3-8B-Base
128
+
129
+ | Benchmark | Original | Pruned | Retention |
130
+ |-----------|----------|--------|-----------|
131
+ | **PIQA** (acc_norm) | 79.54% | 71.38% | 89.7% |
132
+ | **WinoGrande** | 67.0% | 62.83% | 93.8% |
133
+ | **ARC-Challenge** (acc_norm) | 42.0% | 36.09% | 85.9% |
134
+ | **ARC-Easy** (acc_norm) | 72.0% | 58.04% | 80.6% |
135
+ | **HellaSwag** (acc_norm) | 78.55% | 61.98% | 78.9% |
136
+ | **BoolQ** | 83.09% | 64.95% | 78.2% |
137
+ | **MMLU** (5-shot) | 76.89% | 31.30% | 40.7% |
138
+
139
+ *Original scores from [Qwen3 Technical Report](https://arxiv.org/abs/2505.09388)*
140
+
141
+ ### Benchmark Interpretation
142
+
143
+ | Capability | Benchmarks | Retention | Status |
144
+ |------------|------------|-----------|--------|
145
+ | Physical Reasoning | PIQA | 89.7% | Excellent |
146
+ | Commonsense Reasoning | WinoGrande | 93.8% | Excellent |
147
+ | Basic Reasoning | ARC-Challenge | 85.9% | Good |
148
+ | Reading Comprehension | BoolQ | 78.2% | Good |
149
+ | Common Sense | HellaSwag | 78.9% | Good |
150
+ | Factual Knowledge | MMLU | 40.7% | Degraded |
151
+
152
+ ---
153
+
154
+ ## The "Knowledge Cliff"
155
+
156
+ Our experiments reveal a critical finding: **factual knowledge collapses catastrophically between 16-22% compression**.
157
+
158
+ | Compression | Layers | MMLU | Status |
159
+ |-------------|--------|------|--------|
160
+ | **16.7%** | **30** | **31.30%** | Partial retention |
161
+ | 22.2% | 28 | 25.89% | Random chance |
162
+ | 27.8% | 26 | 25.12% | Random chance |
163
+
164
+ While reasoning capabilities degrade gradually with compression, factual knowledge encoded in specific layers is lost abruptly when those layers are removed.
165
+
166
+ ---
167
+
168
+ ## Intended Use
169
+
170
+ This model is suitable for:
171
+ - **Research** on model compression and efficiency
172
+ - **Fine-tuning base** for domain-specific applications
173
+ - **Inference optimization** where speed/memory matters
174
+ - **Applications prioritizing reasoning over factual recall**
175
+
176
+ ## Limitations
177
+
178
+ **Important:** This is a raw pruned model without post-training.
179
+
180
+ | Use Case | Recommendation |
181
+ |----------|----------------|
182
+ | Physical/commonsense reasoning | Recommended |
183
+ | Reading comprehension | Recommended |
184
+ | General text understanding | Recommended |
185
+ | Factual question answering | Fine-tune first |
186
+ | Knowledge-intensive tasks | Fine-tune first |
187
+
188
+ ---
189
+
190
+ ## Pruning Details
191
+
192
+ ### LaCo Hyperparameters
193
+
194
+ | Parameter | Value | Description |
195
+ |-----------|-------|-------------|
196
+ | MERGE_LAYERS (C) | 3 | Layers merged per operation |
197
+ | LOWEST_LAY (L) | 4 | Minimum layer index for merging |
198
+ | HIGHEST_LAY (H) | 28 | Maximum layer index for merging |
199
+ | INTERVAL (I) | 2 | Minimum gap between merge points |
200
+ | THRESHOLD (T) | 0.85 | Cosine similarity threshold |
201
+ | MAX_COMPRESSION | 20% | Maximum allowed compression |
202
+
203
+ ### Pruning Statistics
204
+
205
+ | Metric | Value |
206
+ |--------|-------|
207
+ | Successful Merges | 3 |
208
+ | Rejected Merges | 0 |
209
+ | Total Iterations | 4 |
210
+ | Final Compression | 16.7% |
211
+
212
+ ---
213
+
214
+ ## Usage
215
+
216
+ ### Basic Inference
217
+
218
+ ```python
219
+ from transformers import AutoModelForCausalLM, AutoTokenizer
220
+
221
+ model_name = "Mercity/Qwen3-8B-LaCo-Pruned"
222
+
223
+ tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
224
+ model = AutoModelForCausalLM.from_pretrained(
225
+ model_name,
226
+ torch_dtype="auto",
227
+ device_map="auto",
228
+ trust_remote_code=True
229
+ )
230
+
231
+ # Text generation
232
+ prompt = "The process of photosynthesis"
233
+ inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
234
+ outputs = model.generate(**inputs, max_new_tokens=100, do_sample=True, temperature=0.7)
235
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
236
+ ```
237
+
238
+ ### With 4-bit Quantization (Further Compression)
239
+
240
+ ```python
241
+ from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
242
+
243
+ quantization_config = BitsAndBytesConfig(
244
+ load_in_4bit=True,
245
+ bnb_4bit_compute_dtype="float16",
246
+ bnb_4bit_quant_type="nf4",
247
+ )
248
+
249
+ model = AutoModelForCausalLM.from_pretrained(
250
+ "Mercity/Qwen3-8B-LaCo-Pruned",
251
+ quantization_config=quantization_config,
252
+ device_map="auto",
253
+ trust_remote_code=True
254
+ )
255
+ ```
256
+
257
+ ---
258
+
259
+ ## Recovery Recommendations
260
+
261
+ To improve factual knowledge after pruning:
262
+
263
+ ### LoRA Fine-tuning (Recommended)
264
+
265
+ ```python
266
+ from peft import LoraConfig, get_peft_model
267
+
268
+ lora_config = LoraConfig(
269
+ r=32,
270
+ lora_alpha=64,
271
+ target_modules=["q_proj", "k_proj", "v_proj", "o_proj",
272
+ "gate_proj", "up_proj", "down_proj"],
273
+ lora_dropout=0.05,
274
+ )
275
+ model = get_peft_model(model, lora_config)
276
+ # Fine-tune on OpenOrca, Alpaca, or domain-specific data
277
+ ```
278
+
279
+ **Expected recovery:** MMLU could reach 45-55% with fine-tuning.
280
+
281
+ ---
282
+
283
+ ## Technical Specifications
284
+
285
+ | Attribute | Value |
286
+ |-----------|-------|
287
+ | Architecture | Transformer decoder-only |
288
+ | Parameters | ~6.7B |
289
+ | Layers | 30 |
290
+ | Hidden Size | 4096 |
291
+ | Attention Heads (Q) | 32 |
292
+ | Attention Heads (KV) | 8 (GQA) |
293
+ | Intermediate Size | 12288 |
294
+ | Vocabulary Size | 151,669 |
295
+ | Max Context Length | 32,768 tokens |
296
+ | Precision | bfloat16 |
297
+
298
+ ---
299
+
300
+ ## Citation
301
+
302
+ If you use this model, please cite the original LaCo paper and Qwen3:
303
+
304
+ ```bibtex
305
+ @article{yang2024laco,
306
+ title={LaCo: Large Language Model Pruning via Layer Collapse},
307
+ author={Yang, Yifei and Cao, Zouying and Zhao, Hai},
308
+ journal={arXiv preprint arXiv:2402.11187},
309
+ year={2024}
310
+ }
311
+
312
+ @misc{qwen3technicalreport,
313
+ title={Qwen3 Technical Report},
314
+ author={Qwen Team},
315
+ year={2025},
316
+ eprint={2505.09388},
317
+ archivePrefix={arXiv},
318
+ primaryClass={cs.CL},
319
+ url={https://arxiv.org/abs/2505.09388}
320
+ }
321
+ ```
322
+
323
+ ## References
324
+
325
+ - [LaCo Paper](https://arxiv.org/abs/2402.11187)
326
+ - [LaCo Official Implementation](https://github.com/yangyifei729/LaCo)
327
+ - [Qwen3 Technical Report](https://arxiv.org/abs/2505.09388)
328
+ - [Qwen3-8B-Base](https://huggingface.co/Qwen/Qwen3-8B-Base)
329
+
330
+ ## License
331
+
332
+ Apache 2.0 (same as base Qwen3 model)
333
+
334
+ ## Acknowledgments
335
+
336
+ - Qwen Team for the excellent Qwen3-8B-Base model
337
+ - LaCo authors for the pruning methodology
338
+ - Hugging Face for model hosting
README.md ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3-8B-Base
4
+ tags:
5
+ - pruning
6
+ - layer-pruning
7
+ - laco
8
+ - compressed
9
+ - qwen3
10
+ - llm
11
+ - efficient
12
+ library_name: transformers
13
+ pipeline_tag: text-generation
14
+ language:
15
+ - en
16
+ - zh
17
+ - multilingual
18
+ datasets:
19
+ - wikipedia
20
+ model-index:
21
+ - name: Qwen3-8B-LaCo-Pruned
22
+ results:
23
+ - task:
24
+ type: text-generation
25
+ name: Text Generation
26
+ dataset:
27
+ name: PIQA
28
+ type: piqa
29
+ metrics:
30
+ - type: accuracy_norm
31
+ value: 71.38
32
+ name: Accuracy (Normalized)
33
+ - task:
34
+ type: text-generation
35
+ name: Text Generation
36
+ dataset:
37
+ name: HellaSwag
38
+ type: hellaswag
39
+ metrics:
40
+ - type: accuracy_norm
41
+ value: 61.98
42
+ name: Accuracy (Normalized)
43
+ - task:
44
+ type: text-generation
45
+ name: Text Generation
46
+ dataset:
47
+ name: BoolQ
48
+ type: boolq
49
+ metrics:
50
+ - type: accuracy
51
+ value: 64.95
52
+ name: Accuracy
53
+ - task:
54
+ type: text-generation
55
+ name: Text Generation
56
+ dataset:
57
+ name: WinoGrande
58
+ type: winogrande
59
+ metrics:
60
+ - type: accuracy
61
+ value: 62.83
62
+ name: Accuracy
63
+ - task:
64
+ type: text-generation
65
+ name: Text Generation
66
+ dataset:
67
+ name: ARC-Challenge
68
+ type: arc_challenge
69
+ metrics:
70
+ - type: accuracy_norm
71
+ value: 36.09
72
+ name: Accuracy (Normalized)
73
+ - task:
74
+ type: text-generation
75
+ name: Text Generation
76
+ dataset:
77
+ name: ARC-Easy
78
+ type: arc_easy
79
+ metrics:
80
+ - type: accuracy_norm
81
+ value: 58.04
82
+ name: Accuracy (Normalized)
83
+ - task:
84
+ type: text-generation
85
+ name: Text Generation
86
+ dataset:
87
+ name: MMLU
88
+ type: mmlu
89
+ metrics:
90
+ - type: accuracy
91
+ value: 31.30
92
+ name: Accuracy (5-shot)
93
+ ---
94
+
95
+ # Qwen3-8B-LaCo-Pruned
96
+
97
+ This model is a **layer-pruned** version of [Qwen3-8B-Base](https://huggingface.co/Qwen/Qwen3-8B-Base) using the [LaCo (Layer Collapse)](https://arxiv.org/abs/2402.11187) structured pruning method.
98
+
99
+ ## Model Summary
100
+
101
+ | Attribute | Value |
102
+ |-----------|-------|
103
+ | **Base Model** | [Qwen/Qwen3-8B-Base](https://huggingface.co/Qwen/Qwen3-8B-Base) |
104
+ | **Pruning Method** | LaCo (Layer Collapse) |
105
+ | **Original Layers** | 36 |
106
+ | **Pruned Layers** | 30 |
107
+ | **Layers Removed** | 6 |
108
+ | **Compression** | 16.7% |
109
+ | **Parameters** | ~6.7B (reduced from ~8B) |
110
+
111
+ ## Key Results
112
+
113
+ This model achieves **16.7% compression** while retaining:
114
+ - **~90% of physical reasoning** (PIQA)
115
+ - **~94% of commonsense reasoning** (WinoGrande)
116
+ - **~79% of common sense completion** (HellaSwag)
117
+ - **~41% of factual knowledge** (MMLU)
118
+
119
+ This is a **raw pruned model without post-training**. Fine-tuning can further recover lost capabilities.
120
+
121
+ ---
122
+
123
+ ## Benchmark Results (Pre-Training)
124
+
125
+ **Note:** All benchmarks below are evaluated on the pruned model **without any post-training or fine-tuning**. These results represent the raw performance after pruning only. Post-training is expected to improve these scores, particularly on knowledge-intensive tasks like MMLU.
126
+
127
+ ### Comparison with Original Qwen3-8B-Base
128
+
129
+ | Benchmark | Original | Pruned | Retention |
130
+ |-----------|----------|--------|-----------|
131
+ | **PIQA** (acc_norm) | 79.54% | 71.38% | 89.7% |
132
+ | **WinoGrande** | 67.0% | 62.83% | 93.8% |
133
+ | **ARC-Challenge** (acc_norm) | 42.0% | 36.09% | 85.9% |
134
+ | **ARC-Easy** (acc_norm) | 72.0% | 58.04% | 80.6% |
135
+ | **HellaSwag** (acc_norm) | 78.55% | 61.98% | 78.9% |
136
+ | **BoolQ** | 83.09% | 64.95% | 78.2% |
137
+ | **MMLU** (5-shot) | 76.89% | 31.30% | 40.7% |
138
+
139
+ *Original scores from [Qwen3 Technical Report](https://arxiv.org/abs/2505.09388)*
140
+
141
+ ### Benchmark Interpretation
142
+
143
+ | Capability | Benchmarks | Retention | Status |
144
+ |------------|------------|-----------|--------|
145
+ | Physical Reasoning | PIQA | 89.7% | Excellent |
146
+ | Commonsense Reasoning | WinoGrande | 93.8% | Excellent |
147
+ | Basic Reasoning | ARC-Challenge | 85.9% | Good |
148
+ | Reading Comprehension | BoolQ | 78.2% | Good |
149
+ | Common Sense | HellaSwag | 78.9% | Good |
150
+ | Factual Knowledge | MMLU | 40.7% | Degraded |
151
+
152
+ ---
153
+
154
+ ## The "Knowledge Cliff"
155
+
156
+ Our experiments reveal a critical finding: **factual knowledge collapses catastrophically between 16-22% compression**.
157
+
158
+ | Compression | Layers | MMLU | Status |
159
+ |-------------|--------|------|--------|
160
+ | **16.7%** | **30** | **31.30%** | Partial retention |
161
+ | 22.2% | 28 | 25.89% | Random chance |
162
+ | 27.8% | 26 | 25.12% | Random chance |
163
+
164
+ While reasoning capabilities degrade gradually with compression, factual knowledge encoded in specific layers is lost abruptly when those layers are removed.
165
+
166
+ ---
167
+
168
+ ## Intended Use
169
+
170
+ This model is suitable for:
171
+ - **Research** on model compression and efficiency
172
+ - **Fine-tuning base** for domain-specific applications
173
+ - **Inference optimization** where speed/memory matters
174
+ - **Applications prioritizing reasoning over factual recall**
175
+
176
+ ## Limitations
177
+
178
+ **Important:** This is a raw pruned model without post-training.
179
+
180
+ | Use Case | Recommendation |
181
+ |----------|----------------|
182
+ | Physical/commonsense reasoning | Recommended |
183
+ | Reading comprehension | Recommended |
184
+ | General text understanding | Recommended |
185
+ | Factual question answering | Fine-tune first |
186
+ | Knowledge-intensive tasks | Fine-tune first |
187
+
188
+ ---
189
+
190
+ ## Pruning Details
191
+
192
+ ### LaCo Hyperparameters
193
+
194
+ | Parameter | Value | Description |
195
+ |-----------|-------|-------------|
196
+ | MERGE_LAYERS (C) | 3 | Layers merged per operation |
197
+ | LOWEST_LAY (L) | 4 | Minimum layer index for merging |
198
+ | HIGHEST_LAY (H) | 28 | Maximum layer index for merging |
199
+ | INTERVAL (I) | 2 | Minimum gap between merge points |
200
+ | THRESHOLD (T) | 0.85 | Cosine similarity threshold |
201
+ | MAX_COMPRESSION | 20% | Maximum allowed compression |
202
+
203
+ ### Pruning Statistics
204
+
205
+ | Metric | Value |
206
+ |--------|-------|
207
+ | Successful Merges | 3 |
208
+ | Rejected Merges | 0 |
209
+ | Total Iterations | 4 |
210
+ | Final Compression | 16.7% |
211
+
212
+ ---
213
+
214
+ ## Usage
215
+
216
+ ### Basic Inference
217
+
218
+ ```python
219
+ from transformers import AutoModelForCausalLM, AutoTokenizer
220
+
221
+ model_name = "Mercity/Qwen3-8B-LaCo-Pruned"
222
+
223
+ tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
224
+ model = AutoModelForCausalLM.from_pretrained(
225
+ model_name,
226
+ torch_dtype="auto",
227
+ device_map="auto",
228
+ trust_remote_code=True
229
+ )
230
+
231
+ # Text generation
232
+ prompt = "The process of photosynthesis"
233
+ inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
234
+ outputs = model.generate(**inputs, max_new_tokens=100, do_sample=True, temperature=0.7)
235
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
236
+ ```
237
+
238
+ ### With 4-bit Quantization (Further Compression)
239
+
240
+ ```python
241
+ from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
242
+
243
+ quantization_config = BitsAndBytesConfig(
244
+ load_in_4bit=True,
245
+ bnb_4bit_compute_dtype="float16",
246
+ bnb_4bit_quant_type="nf4",
247
+ )
248
+
249
+ model = AutoModelForCausalLM.from_pretrained(
250
+ "Mercity/Qwen3-8B-LaCo-Pruned",
251
+ quantization_config=quantization_config,
252
+ device_map="auto",
253
+ trust_remote_code=True
254
+ )
255
+ ```
256
+
257
+ ---
258
+
259
+ ## Recovery Recommendations
260
+
261
+ To improve factual knowledge after pruning:
262
+
263
+ ### LoRA Fine-tuning (Recommended)
264
+
265
+ ```python
266
+ from peft import LoraConfig, get_peft_model
267
+
268
+ lora_config = LoraConfig(
269
+ r=32,
270
+ lora_alpha=64,
271
+ target_modules=["q_proj", "k_proj", "v_proj", "o_proj",
272
+ "gate_proj", "up_proj", "down_proj"],
273
+ lora_dropout=0.05,
274
+ )
275
+ model = get_peft_model(model, lora_config)
276
+ # Fine-tune on OpenOrca, Alpaca, or domain-specific data
277
+ ```
278
+
279
+ **Expected recovery:** MMLU could reach 45-55% with fine-tuning.
280
+
281
+ ---
282
+
283
+ ## Technical Specifications
284
+
285
+ | Attribute | Value |
286
+ |-----------|-------|
287
+ | Architecture | Transformer decoder-only |
288
+ | Parameters | ~6.7B |
289
+ | Layers | 30 |
290
+ | Hidden Size | 4096 |
291
+ | Attention Heads (Q) | 32 |
292
+ | Attention Heads (KV) | 8 (GQA) |
293
+ | Intermediate Size | 12288 |
294
+ | Vocabulary Size | 151,669 |
295
+ | Max Context Length | 32,768 tokens |
296
+ | Precision | bfloat16 |
297
+
298
+ ---
299
+
300
+ ## Citation
301
+
302
+ If you use this model, please cite the original LaCo paper and Qwen3:
303
+
304
+ ```bibtex
305
+ @article{yang2024laco,
306
+ title={LaCo: Large Language Model Pruning via Layer Collapse},
307
+ author={Yang, Yifei and Cao, Zouying and Zhao, Hai},
308
+ journal={arXiv preprint arXiv:2402.11187},
309
+ year={2024}
310
+ }
311
+
312
+ @misc{qwen3technicalreport,
313
+ title={Qwen3 Technical Report},
314
+ author={Qwen Team},
315
+ year={2025},
316
+ eprint={2505.09388},
317
+ archivePrefix={arXiv},
318
+ primaryClass={cs.CL},
319
+ url={https://arxiv.org/abs/2505.09388}
320
+ }
321
+ ```
322
+
323
+ ## References
324
+
325
+ - [LaCo Paper](https://arxiv.org/abs/2402.11187)
326
+ - [LaCo Official Implementation](https://github.com/yangyifei729/LaCo)
327
+ - [Qwen3 Technical Report](https://arxiv.org/abs/2505.09388)
328
+ - [Qwen3-8B-Base](https://huggingface.co/Qwen/Qwen3-8B-Base)
329
+
330
+ ## License
331
+
332
+ Apache 2.0 (same as base Qwen3 model)
333
+
334
+ ## Acknowledgments
335
+
336
+ - Qwen Team for the excellent Qwen3-8B-Base model
337
+ - LaCo authors for the pruning methodology
338
+ - Hugging Face for model hosting
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": 151643,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 12288,
15
+ "layer_types": [
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention"
46
+ ],
47
+ "max_position_embeddings": 32768,
48
+ "max_window_layers": 36,
49
+ "model_type": "qwen3",
50
+ "num_attention_heads": 32,
51
+ "num_hidden_layers": 30,
52
+ "num_key_value_heads": 8,
53
+ "rms_norm_eps": 1e-06,
54
+ "rope_scaling": null,
55
+ "rope_theta": 1000000,
56
+ "sliding_window": null,
57
+ "tie_word_embeddings": false,
58
+ "transformers_version": "4.57.3",
59
+ "use_cache": true,
60
+ "use_sliding_window": false,
61
+ "vocab_size": 151936
62
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "eos_token_id": 151643,
4
+ "max_new_tokens": 2048,
5
+ "transformers_version": "4.57.3"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5105302eaf8939b5464646eea20a834302c4faa1e5bcf77c1e46899457fe0578
3
+ size 4902257696
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79e2c9c63f1eb6aa92a3182c528c8d77ed826b76085ba2d82a7433d89d178540
3
+ size 4915960368
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92a4de2267df035692427ad427b6c4078da7e24b48a9ed0061c3d84d99d4f086
3
+ size 4247933952
model.safetensors.index.json ADDED
@@ -0,0 +1,341 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_parameters": 7033056768,
4
+ "total_size": 14066113536
5
+ },
6
+ "weight_map": {
7
+ "lm_head.weight": "model-00003-of-00003.safetensors",
8
+ "model.embed_tokens.weight": "model-00001-of-00003.safetensors",
9
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00003.safetensors",
10
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
11
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
12
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
13
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
14
+ "model.layers.0.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
15
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
16
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
17
+ "model.layers.0.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
18
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
19
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
20
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00003.safetensors",
21
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
22
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
23
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
24
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
25
+ "model.layers.1.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
26
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
27
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
28
+ "model.layers.1.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
29
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
30
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
31
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00003.safetensors",
32
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
33
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
34
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
35
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
36
+ "model.layers.10.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
37
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
38
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
39
+ "model.layers.10.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
40
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
41
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
42
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00003.safetensors",
43
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
44
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
45
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
46
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
47
+ "model.layers.11.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
48
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
49
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
50
+ "model.layers.11.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
51
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
52
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
53
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00003.safetensors",
54
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
55
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
56
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
57
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
58
+ "model.layers.12.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
59
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
60
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
61
+ "model.layers.12.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
62
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
63
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
64
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00003.safetensors",
65
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
66
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
67
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
68
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
69
+ "model.layers.13.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
70
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
71
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
72
+ "model.layers.13.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
73
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
74
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
75
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00003.safetensors",
76
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
77
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
78
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
79
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
80
+ "model.layers.14.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
81
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
82
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
83
+ "model.layers.14.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
84
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
85
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
86
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00003.safetensors",
87
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
88
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
89
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
90
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
91
+ "model.layers.15.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
92
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
93
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
94
+ "model.layers.15.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
95
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
96
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
97
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00003.safetensors",
98
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
99
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
100
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
101
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
102
+ "model.layers.16.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
103
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
104
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
105
+ "model.layers.16.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
106
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
107
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
108
+ "model.layers.17.input_layernorm.weight": "model-00002-of-00003.safetensors",
109
+ "model.layers.17.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
110
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
111
+ "model.layers.17.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
112
+ "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
113
+ "model.layers.17.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
114
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
115
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
116
+ "model.layers.17.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
117
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
118
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
119
+ "model.layers.18.input_layernorm.weight": "model-00002-of-00003.safetensors",
120
+ "model.layers.18.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
121
+ "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
122
+ "model.layers.18.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
123
+ "model.layers.18.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
124
+ "model.layers.18.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
125
+ "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
126
+ "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
127
+ "model.layers.18.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
128
+ "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
129
+ "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
130
+ "model.layers.19.input_layernorm.weight": "model-00002-of-00003.safetensors",
131
+ "model.layers.19.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
132
+ "model.layers.19.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
133
+ "model.layers.19.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
134
+ "model.layers.19.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
135
+ "model.layers.19.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
136
+ "model.layers.19.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
137
+ "model.layers.19.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
138
+ "model.layers.19.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
139
+ "model.layers.19.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
140
+ "model.layers.19.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
141
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00003.safetensors",
142
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
143
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
144
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
145
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
146
+ "model.layers.2.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
147
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
148
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
149
+ "model.layers.2.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
150
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
151
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
152
+ "model.layers.20.input_layernorm.weight": "model-00002-of-00003.safetensors",
153
+ "model.layers.20.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
154
+ "model.layers.20.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
155
+ "model.layers.20.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
156
+ "model.layers.20.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
157
+ "model.layers.20.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
158
+ "model.layers.20.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
159
+ "model.layers.20.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
160
+ "model.layers.20.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
161
+ "model.layers.20.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
162
+ "model.layers.20.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
163
+ "model.layers.21.input_layernorm.weight": "model-00002-of-00003.safetensors",
164
+ "model.layers.21.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
165
+ "model.layers.21.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
166
+ "model.layers.21.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
167
+ "model.layers.21.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
168
+ "model.layers.21.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
169
+ "model.layers.21.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
170
+ "model.layers.21.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
171
+ "model.layers.21.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
172
+ "model.layers.21.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
173
+ "model.layers.21.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
174
+ "model.layers.22.input_layernorm.weight": "model-00003-of-00003.safetensors",
175
+ "model.layers.22.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
176
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
177
+ "model.layers.22.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
178
+ "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
179
+ "model.layers.22.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
180
+ "model.layers.22.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
181
+ "model.layers.22.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
182
+ "model.layers.22.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
183
+ "model.layers.22.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
184
+ "model.layers.22.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
185
+ "model.layers.23.input_layernorm.weight": "model-00003-of-00003.safetensors",
186
+ "model.layers.23.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
187
+ "model.layers.23.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
188
+ "model.layers.23.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
189
+ "model.layers.23.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
190
+ "model.layers.23.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
191
+ "model.layers.23.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
192
+ "model.layers.23.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
193
+ "model.layers.23.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
194
+ "model.layers.23.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
195
+ "model.layers.23.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
196
+ "model.layers.24.input_layernorm.weight": "model-00003-of-00003.safetensors",
197
+ "model.layers.24.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
198
+ "model.layers.24.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
199
+ "model.layers.24.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
200
+ "model.layers.24.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
201
+ "model.layers.24.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
202
+ "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
203
+ "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
204
+ "model.layers.24.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
205
+ "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
206
+ "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
207
+ "model.layers.25.input_layernorm.weight": "model-00003-of-00003.safetensors",
208
+ "model.layers.25.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
209
+ "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
210
+ "model.layers.25.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
211
+ "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
212
+ "model.layers.25.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
213
+ "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
214
+ "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
215
+ "model.layers.25.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
216
+ "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
217
+ "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
218
+ "model.layers.26.input_layernorm.weight": "model-00003-of-00003.safetensors",
219
+ "model.layers.26.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
220
+ "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
221
+ "model.layers.26.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
222
+ "model.layers.26.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
223
+ "model.layers.26.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
224
+ "model.layers.26.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
225
+ "model.layers.26.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
226
+ "model.layers.26.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
227
+ "model.layers.26.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
228
+ "model.layers.26.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
229
+ "model.layers.27.input_layernorm.weight": "model-00003-of-00003.safetensors",
230
+ "model.layers.27.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
231
+ "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
232
+ "model.layers.27.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
233
+ "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
234
+ "model.layers.27.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
235
+ "model.layers.27.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
236
+ "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
237
+ "model.layers.27.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
238
+ "model.layers.27.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
239
+ "model.layers.27.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
240
+ "model.layers.28.input_layernorm.weight": "model-00003-of-00003.safetensors",
241
+ "model.layers.28.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
242
+ "model.layers.28.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
243
+ "model.layers.28.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
244
+ "model.layers.28.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
245
+ "model.layers.28.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
246
+ "model.layers.28.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
247
+ "model.layers.28.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
248
+ "model.layers.28.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
249
+ "model.layers.28.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
250
+ "model.layers.28.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
251
+ "model.layers.29.input_layernorm.weight": "model-00003-of-00003.safetensors",
252
+ "model.layers.29.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
253
+ "model.layers.29.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
254
+ "model.layers.29.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
255
+ "model.layers.29.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
256
+ "model.layers.29.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
257
+ "model.layers.29.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
258
+ "model.layers.29.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
259
+ "model.layers.29.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
260
+ "model.layers.29.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
261
+ "model.layers.29.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
262
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00003.safetensors",
263
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
264
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
265
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
266
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
267
+ "model.layers.3.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
268
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
269
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
270
+ "model.layers.3.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
271
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
272
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
273
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
274
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
275
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
276
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
277
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
278
+ "model.layers.4.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
279
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
280
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
281
+ "model.layers.4.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
282
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
283
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
284
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00003.safetensors",
285
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
286
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
287
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
288
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
289
+ "model.layers.5.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
290
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
291
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
292
+ "model.layers.5.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
293
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
294
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
295
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00003.safetensors",
296
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
297
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
298
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
299
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
300
+ "model.layers.6.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
301
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
302
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
303
+ "model.layers.6.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
304
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
305
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
306
+ "model.layers.7.input_layernorm.weight": "model-00001-of-00003.safetensors",
307
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
308
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
309
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
310
+ "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
311
+ "model.layers.7.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
312
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
313
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
314
+ "model.layers.7.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
315
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
316
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
317
+ "model.layers.8.input_layernorm.weight": "model-00001-of-00003.safetensors",
318
+ "model.layers.8.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
319
+ "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
320
+ "model.layers.8.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
321
+ "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
322
+ "model.layers.8.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
323
+ "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
324
+ "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
325
+ "model.layers.8.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
326
+ "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
327
+ "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
328
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00003.safetensors",
329
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
330
+ "model.layers.9.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
331
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
332
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
333
+ "model.layers.9.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
334
+ "model.layers.9.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
335
+ "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
336
+ "model.layers.9.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
337
+ "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
338
+ "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
339
+ "model.norm.weight": "model-00003-of-00003.safetensors"
340
+ }
341
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:352a863cd2761388ccc58f1432467ba6a1037bf12df9069889b142fa246471f6
3
+ size 11422752
tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|endoftext|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 131072,
235
+ "pad_token": "<|endoftext|>",
236
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff