KnutJaegersberg
commited on
Upload 7 files
Browse files- LICENSE +21 -0
- README.md +212 -3
- config.json +38 -0
- generation_config.json +9 -0
- model.safetensors.index.json +586 -0
- tokenizer.json +0 -0
- tokenizer_config.json +35 -0
LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2023 DeepSeek
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in all
|
13 |
+
copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21 |
+
SOFTWARE.
|
README.md
CHANGED
@@ -1,3 +1,212 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
---
|
4 |
+
# DeepSeek-R1
|
5 |
+
<!-- markdownlint-disable first-line-h1 -->
|
6 |
+
<!-- markdownlint-disable html -->
|
7 |
+
<!-- markdownlint-disable no-duplicate-header -->
|
8 |
+
|
9 |
+
<div align="center">
|
10 |
+
<img src="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/logo.svg?raw=true" width="60%" alt="DeepSeek-V3" />
|
11 |
+
</div>
|
12 |
+
<hr>
|
13 |
+
<div align="center" style="line-height: 1;">
|
14 |
+
<a href="https://www.deepseek.com/" target="_blank" style="margin: 2px;">
|
15 |
+
<img alt="Homepage" src="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/badge.svg?raw=true" style="display: inline-block; vertical-align: middle;"/>
|
16 |
+
</a>
|
17 |
+
<a href="https://chat.deepseek.com/" target="_blank" style="margin: 2px;">
|
18 |
+
<img alt="Chat" src="https://img.shields.io/badge/🤖%20Chat-DeepSeek%20R1-536af5?color=536af5&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
19 |
+
</a>
|
20 |
+
<a href="https://huggingface.co/deepseek-ai" target="_blank" style="margin: 2px;">
|
21 |
+
<img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-DeepSeek%20AI-ffc107?color=ffc107&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
22 |
+
</a>
|
23 |
+
</div>
|
24 |
+
|
25 |
+
<div align="center" style="line-height: 1;">
|
26 |
+
<a href="https://discord.gg/Tc7c45Zzu5" target="_blank" style="margin: 2px;">
|
27 |
+
<img alt="Discord" src="https://img.shields.io/badge/Discord-DeepSeek%20AI-7289da?logo=discord&logoColor=white&color=7289da" style="display: inline-block; vertical-align: middle;"/>
|
28 |
+
</a>
|
29 |
+
<a href="https://github.com/deepseek-ai/DeepSeek-V2/blob/main/figures/qr.jpeg?raw=true" target="_blank" style="margin: 2px;">
|
30 |
+
<img alt="Wechat" src="https://img.shields.io/badge/WeChat-DeepSeek%20AI-brightgreen?logo=wechat&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
31 |
+
</a>
|
32 |
+
<a href="https://twitter.com/deepseek_ai" target="_blank" style="margin: 2px;">
|
33 |
+
<img alt="Twitter Follow" src="https://img.shields.io/badge/Twitter-deepseek_ai-white?logo=x&logoColor=white" style="display: inline-block; vertical-align: middle;"/>
|
34 |
+
</a>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
<div align="center" style="line-height: 1;">
|
38 |
+
<a href="https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE-CODE" style="margin: 2px;">
|
39 |
+
<img alt="Code License" src="https://img.shields.io/badge/Code_License-MIT-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/>
|
40 |
+
</a>
|
41 |
+
<a href="https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE-MODEL" style="margin: 2px;">
|
42 |
+
<img alt="Model License" src="https://img.shields.io/badge/Model_License-Model_Agreement-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/>
|
43 |
+
</a>
|
44 |
+
</div>
|
45 |
+
|
46 |
+
|
47 |
+
<p align="center">
|
48 |
+
<a href="https://github.com/deepseek-ai/DeepSeek-R1/blob/main/DeepSeek_R1.pdf"><b>Paper Link</b>👁️</a>
|
49 |
+
</p>
|
50 |
+
|
51 |
+
|
52 |
+
## 1. Introduction
|
53 |
+
|
54 |
+
We introduce our first-generation reasoning models, DeepSeek-R1-Zero and DeepSeek-R1.
|
55 |
+
DeepSeek-R1-Zero, a model trained via large-scale reinforcement learning (RL) without supervised fine-tuning (SFT) as a preliminary step, demonstrated remarkable performance on reasoning.
|
56 |
+
With RL, DeepSeek-R1-Zero naturally emerged with numerous powerful and interesting reasoning behaviors.
|
57 |
+
However, DeepSeek-R1-Zero encounters challenges such as endless repetition, poor readability, and language mixing. To address these issues and further enhance reasoning performance,
|
58 |
+
we introduce DeepSeek-R1, which incorporates cold-start data before RL.
|
59 |
+
DeepSeek-R1 achieves performance comparable to OpenAI-o1 across math, code, and reasoning tasks.
|
60 |
+
To support the research community, we have open-sourced DeepSeek-R1-Zero, DeepSeek-R1, and six dense models distilled from DeepSeek-R1 based on Llama and Qwen. DeepSeek-R1-Distill-Qwen-32B outperforms OpenAI-o1-mini across various benchmarks, achieving new state-of-the-art results for dense models.
|
61 |
+
|
62 |
+
<p align="center">
|
63 |
+
<img width="80%" src="figures/benchmark.jpg">
|
64 |
+
</p>
|
65 |
+
|
66 |
+
## 2. Model Summary
|
67 |
+
|
68 |
+
---
|
69 |
+
|
70 |
+
**Post-Training: Large-Scale Reinforcement Learning on the Base Model**
|
71 |
+
|
72 |
+
- We directly apply reinforcement learning (RL) to the base model without relying on supervised fine-tuning (SFT) as a preliminary step. This approach allows the model to explore chain-of-thought (CoT) for solving complex problems, resulting in the development of DeepSeek-R1-Zero. DeepSeek-R1-Zero demonstrates capabilities such as self-verification, reflection, and generating long CoTs, marking a significant milestone for the research community. Notably, it is the first open research to validate that reasoning capabilities of LLMs can be incentivized purely through RL, without the need for SFT. This breakthrough paves the way for future advancements in this area.
|
73 |
+
|
74 |
+
- We introduce our pipeline to develop DeepSeek-R1. The pipeline incorporates two RL stages aimed at discovering improved reasoning patterns and aligning with human preferences, as well as two SFT stages that serve as the seed for the model's reasoning and non-reasoning capabilities.
|
75 |
+
We believe the pipeline will benefit the industry by creating better models.
|
76 |
+
|
77 |
+
---
|
78 |
+
|
79 |
+
**Distillation: Smaller Models Can Be Powerful Too**
|
80 |
+
|
81 |
+
- We demonstrate that the reasoning patterns of larger models can be distilled into smaller models, resulting in better performance compared to the reasoning patterns discovered through RL on small models. The open source DeepSeek-R1, as well as its API, will benefit the research community to distill better smaller models in the future.
|
82 |
+
- Using the reasoning data generated by DeepSeek-R1, we fine-tuned several dense models that are widely used in the research community. The evaluation results demonstrate that the distilled smaller dense models perform exceptionally well on benchmarks. We open-source distilled 1.5B, 7B, 8B, 14B, 32B, and 70B checkpoints based on Qwen2.5 and Llama3 series to the community.
|
83 |
+
|
84 |
+
## 3. Model Downloads
|
85 |
+
|
86 |
+
### DeepSeek-R1 Models
|
87 |
+
|
88 |
+
<div align="center">
|
89 |
+
|
90 |
+
| **Model** | **#Total Params** | **#Activated Params** | **Context Length** | **Download** |
|
91 |
+
| :------------: | :------------: | :------------: | :------------: | :------------: |
|
92 |
+
| DeepSeek-R1-Zero | 671B | 37B | 128K | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Zero) |
|
93 |
+
| DeepSeek-R1 | 671B | 37B | 128K | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1) |
|
94 |
+
|
95 |
+
</div>
|
96 |
+
|
97 |
+
DeepSeek-R1-Zero & DeepSeek-R1 are trained based on DeepSeek-V3-Base.
|
98 |
+
For more details regrading the model architecture, please refer to [DeepSeek-V3](https://github.com/deepseek-ai/DeepSeek-V3) repository.
|
99 |
+
|
100 |
+
### DeepSeek-R1-Distill Models
|
101 |
+
|
102 |
+
<div align="center">
|
103 |
+
|
104 |
+
| **Model** | **Base Model** | **Download** |
|
105 |
+
| :------------: | :------------: | :------------: |
|
106 |
+
| DeepSeek-R1-Distill-Qwen-1.5B | [Qwen2.5-Math-1.5B](https://huggingface.co/Qwen/Qwen2.5-Math-1.5B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B) |
|
107 |
+
| DeepSeek-R1-Distill-Qwen-7B | [Qwen2.5-Math-7B](https://huggingface.co/Qwen/Qwen2.5-Math-7B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-7B) |
|
108 |
+
| DeepSeek-R1-Distill-Llama-8B | [Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-8B) |
|
109 |
+
| DeepSeek-R1-Distill-Qwen-14B | [Qwen2.5-14B](https://huggingface.co/Qwen/Qwen2.5-14B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B) |
|
110 |
+
|DeepSeek-R1-Distill-Qwen-32B | [Qwen2.5-32B](https://huggingface.co/Qwen/Qwen2.5-32B) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-32B) |
|
111 |
+
| DeepSeek-R1-Distill-Llama-70B | [Llama-3.3-70B-Instruct](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct) | [🤗 HuggingFace](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-70B) |
|
112 |
+
|
113 |
+
</div>
|
114 |
+
|
115 |
+
DeepSeek-R1-Distill models are fine-tuned based on open-source models, using samples generated by DeepSeek-R1.
|
116 |
+
We slightly change their configs and tokenizers. Please use our setting to run these models.
|
117 |
+
|
118 |
+
## 4. Evaluation Results
|
119 |
+
|
120 |
+
### DeepSeek-R1-Evaluation
|
121 |
+
For all our models, the maximum generation length is set to 32,768 tokens. For benchmarks requiring sampling, we use a temperature of $0.6$, a top-p value of $0.95$, and generate 64 responses per query to estimate pass@1.
|
122 |
+
<div align="center">
|
123 |
+
|
124 |
+
|
125 |
+
| Category | Benchmark (Metric) | Claude-3.5-Sonnet-1022 | GPT-4o 0513 | DeepSeek V3 | OpenAI o1-mini | OpenAI o1-1217 | DeepSeek R1 |
|
126 |
+
|----------|-------------------|----------------------|------------|--------------|----------------|------------|--------------|
|
127 |
+
| | Architecture | - | - | MoE | - | - | MoE |
|
128 |
+
| | # Activated Params | - | - | 37B | - | - | 37B |
|
129 |
+
| | # Total Params | - | - | 671B | - | - | 671B |
|
130 |
+
| English | MMLU (Pass@1) | 88.3 | 87.2 | 88.5 | 85.2 | **91.8** | 90.8 |
|
131 |
+
| | MMLU-Redux (EM) | 88.9 | 88.0 | 89.1 | 86.7 | - | **92.9** |
|
132 |
+
| | MMLU-Pro (EM) | 78.0 | 72.6 | 75.9 | 80.3 | - | **84.0** |
|
133 |
+
| | DROP (3-shot F1) | 88.3 | 83.7 | 91.6 | 83.9 | 90.2 | **92.2** |
|
134 |
+
| | IF-Eval (Prompt Strict) | **86.5** | 84.3 | 86.1 | 84.8 | - | 83.3 |
|
135 |
+
| | GPQA-Diamond (Pass@1) | 65.0 | 49.9 | 59.1 | 60.0 | **75.7** | 71.5 |
|
136 |
+
| | SimpleQA (Correct) | 28.4 | 38.2 | 24.9 | 7.0 | **47.0** | 30.1 |
|
137 |
+
| | FRAMES (Acc.) | 72.5 | 80.5 | 73.3 | 76.9 | - | **82.5** |
|
138 |
+
| | AlpacaEval2.0 (LC-winrate) | 52.0 | 51.1 | 70.0 | 57.8 | - | **87.6** |
|
139 |
+
| | ArenaHard (GPT-4-1106) | 85.2 | 80.4 | 85.5 | 92.0 | - | **92.3** |
|
140 |
+
| Code | LiveCodeBench (Pass@1-COT) | 33.8 | 34.2 | - | 53.8 | 63.4 | **65.9** |
|
141 |
+
| | Codeforces (Percentile) | 20.3 | 23.6 | 58.7 | 93.4 | **96.6** | 96.3 |
|
142 |
+
| | Codeforces (Rating) | 717 | 759 | 1134 | 1820 | **2061** | 2029 |
|
143 |
+
| | SWE Verified (Resolved) | **50.8** | 38.8 | 42.0 | 41.6 | 48.9 | 49.2 |
|
144 |
+
| | Aider-Polyglot (Acc.) | 45.3 | 16.0 | 49.6 | 32.9 | **61.7** | 53.3 |
|
145 |
+
| Math | AIME 2024 (Pass@1) | 16.0 | 9.3 | 39.2 | 63.6 | 79.2 | **79.8** |
|
146 |
+
| | MATH-500 (Pass@1) | 78.3 | 74.6 | 90.2 | 90.0 | 96.4 | **97.3** |
|
147 |
+
| | CNMO 2024 (Pass@1) | 13.1 | 10.8 | 43.2 | 67.6 | - | **78.8** |
|
148 |
+
| Chinese | CLUEWSC (EM) | 85.4 | 87.9 | 90.9 | 89.9 | - | **92.8** |
|
149 |
+
| | C-Eval (EM) | 76.7 | 76.0 | 86.5 | 68.9 | - | **91.8** |
|
150 |
+
| | C-SimpleQA (Correct) | 55.4 | 58.7 | **68.0** | 40.3 | - | 63.7 |
|
151 |
+
|
152 |
+
</div>
|
153 |
+
|
154 |
+
|
155 |
+
### Distilled Model Evaluation
|
156 |
+
|
157 |
+
|
158 |
+
<div align="center">
|
159 |
+
|
160 |
+
| Model | AIME 2024 pass@1 | AIME 2024 cons@64 | MATH-500 pass@1 | GPQA Diamond pass@1 | LiveCodeBench pass@1 | CodeForces rating |
|
161 |
+
|------------------------------------------|------------------|-------------------|-----------------|----------------------|----------------------|-------------------|
|
162 |
+
| GPT-4o-0513 | 9.3 | 13.4 | 74.6 | 49.9 | 32.9 | 759 |
|
163 |
+
| Claude-3.5-Sonnet-1022 | 16.0 | 26.7 | 78.3 | 65.0 | 38.9 | 717 |
|
164 |
+
| o1-mini | 63.6 | 80.0 | 90.0 | 60.0 | 53.8 | **1820** |
|
165 |
+
| QwQ-32B-Preview | 44.0 | 60.0 | 90.6 | 54.5 | 41.9 | 1316 |
|
166 |
+
| DeepSeek-R1-Distill-Qwen-1.5B | 28.9 | 52.7 | 83.9 | 33.8 | 16.9 | 954 |
|
167 |
+
| DeepSeek-R1-Distill-Qwen-7B | 55.5 | 83.3 | 92.8 | 49.1 | 37.6 | 1189 |
|
168 |
+
| DeepSeek-R1-Distill-Qwen-14B | 69.7 | 80.0 | 93.9 | 59.1 | 53.1 | 1481 |
|
169 |
+
| DeepSeek-R1-Distill-Qwen-32B | **72.6** | 83.3 | 94.3 | 62.1 | 57.2 | 1691 |
|
170 |
+
| DeepSeek-R1-Distill-Llama-8B | 50.4 | 80.0 | 89.1 | 49.0 | 39.6 | 1205 |
|
171 |
+
| DeepSeek-R1-Distill-Llama-70B | 70.0 | **86.7** | **94.5** | **65.2** | **57.5** | 1633 |
|
172 |
+
|
173 |
+
</div>
|
174 |
+
|
175 |
+
|
176 |
+
## 5. Chat Website & API Platform
|
177 |
+
You can chat with DeepSeek-R1 on DeepSeek's official website: [chat.deepseek.com](https://chat.deepseek.com), and switch on the button "DeepThink"
|
178 |
+
|
179 |
+
We also provide OpenAI-Compatible API at DeepSeek Platform: [platform.deepseek.com](https://platform.deepseek.com/)
|
180 |
+
|
181 |
+
## 6. How to Run Locally
|
182 |
+
|
183 |
+
### DeepSeek-R1 Models
|
184 |
+
|
185 |
+
Please visit [DeepSeek-V3](https://github.com/deepseek-ai/DeepSeek-V3) repo for more information about running DeepSeek-R1 locally.
|
186 |
+
|
187 |
+
### DeepSeek-R1-Distill Models
|
188 |
+
|
189 |
+
DeepSeek-R1-Distill models can be utilized in the same manner as Qwen or Llama models.
|
190 |
+
|
191 |
+
For instance, you can easily start a service using [vLLM](https://github.com/vllm-project/vllm):
|
192 |
+
|
193 |
+
```shell
|
194 |
+
vllm serve deepseek-ai/DeepSeek-R1-Distill-Qwen-32B --tensor-parallel-size 2 --max-model-len 32768 --enforce-eager
|
195 |
+
```
|
196 |
+
|
197 |
+
**NOTE: We recommend setting an appropriate temperature (between 0.5 and 0.7) when running these models, otherwise you may encounter issues with endless repetition or incoherent output.**
|
198 |
+
|
199 |
+
## 7. License
|
200 |
+
This code repository and the model weights are licensed under the [MIT License](https://github.com/deepseek-ai/DeepSeek-R1/blob/main/LICENSE).
|
201 |
+
DeepSeek-R1 series support commercial use, allow for any modifications and derivative works, including, but not limited to, distillation for training other LLMs. Please note that:
|
202 |
+
- DeepSeek-R1-Distill-Qwen-1.5B, DeepSeek-R1-Distill-Qwen-7B, DeepSeek-R1-Distill-Qwen-14B and DeepSeek-R1-Distill-Qwen-32B are derived from [Qwen-2.5 series](https://github.com/QwenLM/Qwen2.5), which are originally licensed under [Apache 2.0 License](https://huggingface.co/Qwen/Qwen2.5-1.5B/blob/main/LICENSE), and now finetuned with 800k samples curated with DeepSeek-R1.
|
203 |
+
- DeepSeek-R1-Distill-Llama-8B is derived from Llama3.1-8B-Base and is originally licensed under [llama3.1 license](https://huggingface.co/meta-llama/Llama-3.1-8B/blob/main/LICENSE).
|
204 |
+
- DeepSeek-R1-Distill-Llama-70B is derived from Llama3.3-70B-Instruct and is originally licensed under [llama3.3 license](https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct/blob/main/LICENSE).
|
205 |
+
|
206 |
+
## 8. Citation
|
207 |
+
```
|
208 |
+
|
209 |
+
```
|
210 |
+
|
211 |
+
## 9. Contact
|
212 |
+
If you have any questions, please raise an issue or contact us at [[email protected]]([email protected]).
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Qwen2ForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"bos_token_id": 151643,
|
7 |
+
"eos_token_id": 151643,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 5120,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 13824,
|
12 |
+
"max_position_embeddings": 131072,
|
13 |
+
"max_window_layers": 48,
|
14 |
+
"model_type": "qwen2",
|
15 |
+
"num_attention_heads": 40,
|
16 |
+
"num_hidden_layers": 48,
|
17 |
+
"num_key_value_heads": 8,
|
18 |
+
"rms_norm_eps": 1e-05,
|
19 |
+
"rope_theta": 1000000.0,
|
20 |
+
"sliding_window": 131072,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "bfloat16",
|
23 |
+
"transformers_version": "4.43.1",
|
24 |
+
"use_cache": true,
|
25 |
+
"use_sliding_window": false,
|
26 |
+
"vocab_size": 152064,
|
27 |
+
"quantization_config": {
|
28 |
+
"quant_method": "exl2",
|
29 |
+
"version": "0.2.3",
|
30 |
+
"bits": 8.0,
|
31 |
+
"head_bits": 6,
|
32 |
+
"calibration": {
|
33 |
+
"rows": 115,
|
34 |
+
"length": 2048,
|
35 |
+
"dataset": "(default)"
|
36 |
+
}
|
37 |
+
}
|
38 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 151646,
|
4 |
+
"eos_token_id": 151643,
|
5 |
+
"do_sample": true,
|
6 |
+
"temperature": 0.6,
|
7 |
+
"top_p": 0.95,
|
8 |
+
"transformers_version": "4.39.3"
|
9 |
+
}
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,586 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 29540067328
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"model.embed_tokens.weight": "model-00001-of-000004.safetensors",
|
7 |
+
"model.layers.0.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
8 |
+
"model.layers.0.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
9 |
+
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
10 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
11 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
12 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
13 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
14 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
15 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
16 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
17 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
18 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
19 |
+
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
20 |
+
"model.layers.1.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
21 |
+
"model.layers.1.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
22 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
23 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
24 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
25 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
26 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
27 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
28 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
29 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
30 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
31 |
+
"model.layers.2.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
32 |
+
"model.layers.2.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
33 |
+
"model.layers.2.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
34 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
35 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
36 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
37 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
38 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
39 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
40 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
41 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
42 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
43 |
+
"model.layers.3.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
44 |
+
"model.layers.3.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
45 |
+
"model.layers.3.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
46 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
47 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
48 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
49 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
50 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
51 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
52 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
53 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
54 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
55 |
+
"model.layers.4.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
56 |
+
"model.layers.4.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
57 |
+
"model.layers.4.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
58 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
59 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
60 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
61 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
62 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
63 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
64 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
65 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
66 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
67 |
+
"model.layers.5.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
68 |
+
"model.layers.5.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
69 |
+
"model.layers.5.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
70 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
71 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
72 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
73 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
74 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
75 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
76 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
77 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
78 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
79 |
+
"model.layers.6.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
80 |
+
"model.layers.6.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
81 |
+
"model.layers.6.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
82 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
83 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
84 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
85 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
86 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
87 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
88 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
89 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
90 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
91 |
+
"model.layers.7.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
92 |
+
"model.layers.7.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
93 |
+
"model.layers.7.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
94 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
95 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
96 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
97 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
98 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
99 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
100 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
101 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
102 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
103 |
+
"model.layers.8.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
104 |
+
"model.layers.8.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
105 |
+
"model.layers.8.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
106 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
107 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
108 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
109 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
110 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
111 |
+
"model.layers.8.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
112 |
+
"model.layers.8.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
113 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
114 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
115 |
+
"model.layers.9.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
116 |
+
"model.layers.9.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
117 |
+
"model.layers.9.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
118 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
119 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
120 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
121 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
122 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
123 |
+
"model.layers.9.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
124 |
+
"model.layers.9.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
125 |
+
"model.layers.9.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
126 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
127 |
+
"model.layers.10.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
128 |
+
"model.layers.10.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
129 |
+
"model.layers.10.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
130 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
131 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
132 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
133 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
134 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
135 |
+
"model.layers.10.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
136 |
+
"model.layers.10.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
137 |
+
"model.layers.10.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
138 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
139 |
+
"model.layers.11.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
140 |
+
"model.layers.11.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
141 |
+
"model.layers.11.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
142 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
143 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
144 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
145 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
146 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
147 |
+
"model.layers.11.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
148 |
+
"model.layers.11.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
149 |
+
"model.layers.11.input_layernorm.weight": "model-00001-of-000004.safetensors",
|
150 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00001-of-000004.safetensors",
|
151 |
+
"model.layers.12.self_attn.q_proj.bias": "model-00001-of-000004.safetensors",
|
152 |
+
"model.layers.12.self_attn.k_proj.bias": "model-00001-of-000004.safetensors",
|
153 |
+
"model.layers.12.self_attn.v_proj.bias": "model-00001-of-000004.safetensors",
|
154 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00001-of-000004.safetensors",
|
155 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00001-of-000004.safetensors",
|
156 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00001-of-000004.safetensors",
|
157 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00001-of-000004.safetensors",
|
158 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00001-of-000004.safetensors",
|
159 |
+
"model.layers.12.mlp.up_proj.weight": "model-00001-of-000004.safetensors",
|
160 |
+
"model.layers.12.mlp.down_proj.weight": "model-00001-of-000004.safetensors",
|
161 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
162 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
163 |
+
"model.layers.13.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
164 |
+
"model.layers.13.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
165 |
+
"model.layers.13.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
166 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
167 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
168 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
169 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
170 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
171 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
172 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
173 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
174 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
175 |
+
"model.layers.14.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
176 |
+
"model.layers.14.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
177 |
+
"model.layers.14.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
178 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
179 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
180 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
181 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
182 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
183 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
184 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
185 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
186 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
187 |
+
"model.layers.15.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
188 |
+
"model.layers.15.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
189 |
+
"model.layers.15.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
190 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
191 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
192 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
193 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
194 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
195 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
196 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
197 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
198 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
199 |
+
"model.layers.16.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
200 |
+
"model.layers.16.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
201 |
+
"model.layers.16.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
202 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
203 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
204 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
205 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
206 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
207 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
208 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
209 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
210 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
211 |
+
"model.layers.17.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
212 |
+
"model.layers.17.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
213 |
+
"model.layers.17.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
214 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
215 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
216 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
217 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
218 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
219 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
220 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
221 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
222 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
223 |
+
"model.layers.18.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
224 |
+
"model.layers.18.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
225 |
+
"model.layers.18.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
226 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
227 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
228 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
229 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
230 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
231 |
+
"model.layers.18.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
232 |
+
"model.layers.18.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
233 |
+
"model.layers.18.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
234 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
235 |
+
"model.layers.19.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
236 |
+
"model.layers.19.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
237 |
+
"model.layers.19.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
238 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
239 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
240 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
241 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
242 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
243 |
+
"model.layers.19.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
244 |
+
"model.layers.19.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
245 |
+
"model.layers.19.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
246 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
247 |
+
"model.layers.20.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
248 |
+
"model.layers.20.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
249 |
+
"model.layers.20.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
250 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
251 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
252 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
253 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
254 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
255 |
+
"model.layers.20.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
256 |
+
"model.layers.20.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
257 |
+
"model.layers.20.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
258 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
259 |
+
"model.layers.21.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
260 |
+
"model.layers.21.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
261 |
+
"model.layers.21.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
262 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
263 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
264 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
265 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
266 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
267 |
+
"model.layers.21.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
268 |
+
"model.layers.21.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
269 |
+
"model.layers.21.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
270 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
271 |
+
"model.layers.22.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
272 |
+
"model.layers.22.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
273 |
+
"model.layers.22.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
274 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
275 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
276 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
277 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
278 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
279 |
+
"model.layers.22.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
280 |
+
"model.layers.22.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
281 |
+
"model.layers.22.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
282 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
283 |
+
"model.layers.23.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
284 |
+
"model.layers.23.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
285 |
+
"model.layers.23.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
286 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
287 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
288 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
289 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
290 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
291 |
+
"model.layers.23.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
292 |
+
"model.layers.23.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
293 |
+
"model.layers.23.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
294 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
295 |
+
"model.layers.24.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
296 |
+
"model.layers.24.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
297 |
+
"model.layers.24.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
298 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
299 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
300 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
301 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
302 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
303 |
+
"model.layers.24.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
304 |
+
"model.layers.24.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
305 |
+
"model.layers.24.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
306 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
307 |
+
"model.layers.25.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
308 |
+
"model.layers.25.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
309 |
+
"model.layers.25.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
310 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
311 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
312 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
313 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
314 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
315 |
+
"model.layers.25.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
316 |
+
"model.layers.25.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
317 |
+
"model.layers.25.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
318 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
319 |
+
"model.layers.26.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
320 |
+
"model.layers.26.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
321 |
+
"model.layers.26.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
322 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
323 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
324 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
325 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
326 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
327 |
+
"model.layers.26.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
328 |
+
"model.layers.26.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
329 |
+
"model.layers.26.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
330 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
331 |
+
"model.layers.27.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
332 |
+
"model.layers.27.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
333 |
+
"model.layers.27.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
334 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
335 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
336 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
337 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
338 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
339 |
+
"model.layers.27.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
340 |
+
"model.layers.27.mlp.down_proj.weight": "model-00002-of-000004.safetensors",
|
341 |
+
"model.layers.27.input_layernorm.weight": "model-00002-of-000004.safetensors",
|
342 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00002-of-000004.safetensors",
|
343 |
+
"model.layers.28.self_attn.q_proj.bias": "model-00002-of-000004.safetensors",
|
344 |
+
"model.layers.28.self_attn.k_proj.bias": "model-00002-of-000004.safetensors",
|
345 |
+
"model.layers.28.self_attn.v_proj.bias": "model-00002-of-000004.safetensors",
|
346 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00002-of-000004.safetensors",
|
347 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00002-of-000004.safetensors",
|
348 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00002-of-000004.safetensors",
|
349 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00002-of-000004.safetensors",
|
350 |
+
"model.layers.28.mlp.gate_proj.weight": "model-00002-of-000004.safetensors",
|
351 |
+
"model.layers.28.mlp.up_proj.weight": "model-00002-of-000004.safetensors",
|
352 |
+
"model.layers.28.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
353 |
+
"model.layers.28.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
354 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
355 |
+
"model.layers.29.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
356 |
+
"model.layers.29.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
357 |
+
"model.layers.29.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
358 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
359 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
360 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
361 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
362 |
+
"model.layers.29.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
363 |
+
"model.layers.29.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
364 |
+
"model.layers.29.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
365 |
+
"model.layers.29.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
366 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
367 |
+
"model.layers.30.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
368 |
+
"model.layers.30.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
369 |
+
"model.layers.30.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
370 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
371 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
372 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
373 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
374 |
+
"model.layers.30.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
375 |
+
"model.layers.30.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
376 |
+
"model.layers.30.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
377 |
+
"model.layers.30.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
378 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
379 |
+
"model.layers.31.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
380 |
+
"model.layers.31.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
381 |
+
"model.layers.31.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
382 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
383 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
384 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
385 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
386 |
+
"model.layers.31.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
387 |
+
"model.layers.31.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
388 |
+
"model.layers.31.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
389 |
+
"model.layers.31.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
390 |
+
"model.layers.31.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
391 |
+
"model.layers.32.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
392 |
+
"model.layers.32.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
393 |
+
"model.layers.32.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
394 |
+
"model.layers.32.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
395 |
+
"model.layers.32.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
396 |
+
"model.layers.32.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
397 |
+
"model.layers.32.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
398 |
+
"model.layers.32.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
399 |
+
"model.layers.32.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
400 |
+
"model.layers.32.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
401 |
+
"model.layers.32.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
402 |
+
"model.layers.32.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
403 |
+
"model.layers.33.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
404 |
+
"model.layers.33.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
405 |
+
"model.layers.33.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
406 |
+
"model.layers.33.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
407 |
+
"model.layers.33.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
408 |
+
"model.layers.33.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
409 |
+
"model.layers.33.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
410 |
+
"model.layers.33.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
411 |
+
"model.layers.33.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
412 |
+
"model.layers.33.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
413 |
+
"model.layers.33.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
414 |
+
"model.layers.33.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
415 |
+
"model.layers.34.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
416 |
+
"model.layers.34.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
417 |
+
"model.layers.34.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
418 |
+
"model.layers.34.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
419 |
+
"model.layers.34.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
420 |
+
"model.layers.34.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
421 |
+
"model.layers.34.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
422 |
+
"model.layers.34.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
423 |
+
"model.layers.34.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
424 |
+
"model.layers.34.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
425 |
+
"model.layers.34.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
426 |
+
"model.layers.34.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
427 |
+
"model.layers.35.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
428 |
+
"model.layers.35.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
429 |
+
"model.layers.35.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
430 |
+
"model.layers.35.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
431 |
+
"model.layers.35.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
432 |
+
"model.layers.35.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
433 |
+
"model.layers.35.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
434 |
+
"model.layers.35.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
435 |
+
"model.layers.35.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
436 |
+
"model.layers.35.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
437 |
+
"model.layers.35.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
438 |
+
"model.layers.35.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
439 |
+
"model.layers.36.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
440 |
+
"model.layers.36.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
441 |
+
"model.layers.36.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
442 |
+
"model.layers.36.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
443 |
+
"model.layers.36.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
444 |
+
"model.layers.36.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
445 |
+
"model.layers.36.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
446 |
+
"model.layers.36.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
447 |
+
"model.layers.36.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
448 |
+
"model.layers.36.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
449 |
+
"model.layers.36.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
450 |
+
"model.layers.36.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
451 |
+
"model.layers.37.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
452 |
+
"model.layers.37.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
453 |
+
"model.layers.37.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
454 |
+
"model.layers.37.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
455 |
+
"model.layers.37.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
456 |
+
"model.layers.37.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
457 |
+
"model.layers.37.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
458 |
+
"model.layers.37.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
459 |
+
"model.layers.37.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
460 |
+
"model.layers.37.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
461 |
+
"model.layers.37.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
462 |
+
"model.layers.37.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
463 |
+
"model.layers.38.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
464 |
+
"model.layers.38.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
465 |
+
"model.layers.38.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
466 |
+
"model.layers.38.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
467 |
+
"model.layers.38.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
468 |
+
"model.layers.38.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
469 |
+
"model.layers.38.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
470 |
+
"model.layers.38.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
471 |
+
"model.layers.38.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
472 |
+
"model.layers.38.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
473 |
+
"model.layers.38.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
474 |
+
"model.layers.38.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
475 |
+
"model.layers.39.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
476 |
+
"model.layers.39.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
477 |
+
"model.layers.39.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
478 |
+
"model.layers.39.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
479 |
+
"model.layers.39.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
480 |
+
"model.layers.39.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
481 |
+
"model.layers.39.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
482 |
+
"model.layers.39.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
483 |
+
"model.layers.39.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
484 |
+
"model.layers.39.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
485 |
+
"model.layers.39.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
486 |
+
"model.layers.39.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
487 |
+
"model.layers.40.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
488 |
+
"model.layers.40.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
489 |
+
"model.layers.40.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
490 |
+
"model.layers.40.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
491 |
+
"model.layers.40.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
492 |
+
"model.layers.40.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
493 |
+
"model.layers.40.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
494 |
+
"model.layers.40.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
495 |
+
"model.layers.40.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
496 |
+
"model.layers.40.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
497 |
+
"model.layers.40.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
498 |
+
"model.layers.40.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
499 |
+
"model.layers.41.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
500 |
+
"model.layers.41.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
501 |
+
"model.layers.41.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
502 |
+
"model.layers.41.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
503 |
+
"model.layers.41.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
504 |
+
"model.layers.41.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
505 |
+
"model.layers.41.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
506 |
+
"model.layers.41.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
507 |
+
"model.layers.41.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
508 |
+
"model.layers.41.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
509 |
+
"model.layers.41.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
510 |
+
"model.layers.41.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
511 |
+
"model.layers.42.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
512 |
+
"model.layers.42.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
513 |
+
"model.layers.42.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
514 |
+
"model.layers.42.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
515 |
+
"model.layers.42.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
516 |
+
"model.layers.42.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
517 |
+
"model.layers.42.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
518 |
+
"model.layers.42.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
519 |
+
"model.layers.42.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
520 |
+
"model.layers.42.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
521 |
+
"model.layers.42.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
522 |
+
"model.layers.42.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
523 |
+
"model.layers.43.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
524 |
+
"model.layers.43.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
525 |
+
"model.layers.43.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
526 |
+
"model.layers.43.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
527 |
+
"model.layers.43.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
528 |
+
"model.layers.43.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
529 |
+
"model.layers.43.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
530 |
+
"model.layers.43.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
531 |
+
"model.layers.43.mlp.up_proj.weight": "model-00003-of-000004.safetensors",
|
532 |
+
"model.layers.43.mlp.down_proj.weight": "model-00003-of-000004.safetensors",
|
533 |
+
"model.layers.43.input_layernorm.weight": "model-00003-of-000004.safetensors",
|
534 |
+
"model.layers.43.post_attention_layernorm.weight": "model-00003-of-000004.safetensors",
|
535 |
+
"model.layers.44.self_attn.q_proj.bias": "model-00003-of-000004.safetensors",
|
536 |
+
"model.layers.44.self_attn.k_proj.bias": "model-00003-of-000004.safetensors",
|
537 |
+
"model.layers.44.self_attn.v_proj.bias": "model-00003-of-000004.safetensors",
|
538 |
+
"model.layers.44.self_attn.q_proj.weight": "model-00003-of-000004.safetensors",
|
539 |
+
"model.layers.44.self_attn.k_proj.weight": "model-00003-of-000004.safetensors",
|
540 |
+
"model.layers.44.self_attn.v_proj.weight": "model-00003-of-000004.safetensors",
|
541 |
+
"model.layers.44.self_attn.o_proj.weight": "model-00003-of-000004.safetensors",
|
542 |
+
"model.layers.44.mlp.gate_proj.weight": "model-00003-of-000004.safetensors",
|
543 |
+
"model.layers.44.mlp.up_proj.weight": "model-00004-of-000004.safetensors",
|
544 |
+
"model.layers.44.mlp.down_proj.weight": "model-00004-of-000004.safetensors",
|
545 |
+
"model.layers.44.input_layernorm.weight": "model-00004-of-000004.safetensors",
|
546 |
+
"model.layers.44.post_attention_layernorm.weight": "model-00004-of-000004.safetensors",
|
547 |
+
"model.layers.45.self_attn.q_proj.bias": "model-00004-of-000004.safetensors",
|
548 |
+
"model.layers.45.self_attn.k_proj.bias": "model-00004-of-000004.safetensors",
|
549 |
+
"model.layers.45.self_attn.v_proj.bias": "model-00004-of-000004.safetensors",
|
550 |
+
"model.layers.45.self_attn.q_proj.weight": "model-00004-of-000004.safetensors",
|
551 |
+
"model.layers.45.self_attn.k_proj.weight": "model-00004-of-000004.safetensors",
|
552 |
+
"model.layers.45.self_attn.v_proj.weight": "model-00004-of-000004.safetensors",
|
553 |
+
"model.layers.45.self_attn.o_proj.weight": "model-00004-of-000004.safetensors",
|
554 |
+
"model.layers.45.mlp.gate_proj.weight": "model-00004-of-000004.safetensors",
|
555 |
+
"model.layers.45.mlp.up_proj.weight": "model-00004-of-000004.safetensors",
|
556 |
+
"model.layers.45.mlp.down_proj.weight": "model-00004-of-000004.safetensors",
|
557 |
+
"model.layers.45.input_layernorm.weight": "model-00004-of-000004.safetensors",
|
558 |
+
"model.layers.45.post_attention_layernorm.weight": "model-00004-of-000004.safetensors",
|
559 |
+
"model.layers.46.self_attn.q_proj.bias": "model-00004-of-000004.safetensors",
|
560 |
+
"model.layers.46.self_attn.k_proj.bias": "model-00004-of-000004.safetensors",
|
561 |
+
"model.layers.46.self_attn.v_proj.bias": "model-00004-of-000004.safetensors",
|
562 |
+
"model.layers.46.self_attn.q_proj.weight": "model-00004-of-000004.safetensors",
|
563 |
+
"model.layers.46.self_attn.k_proj.weight": "model-00004-of-000004.safetensors",
|
564 |
+
"model.layers.46.self_attn.v_proj.weight": "model-00004-of-000004.safetensors",
|
565 |
+
"model.layers.46.self_attn.o_proj.weight": "model-00004-of-000004.safetensors",
|
566 |
+
"model.layers.46.mlp.gate_proj.weight": "model-00004-of-000004.safetensors",
|
567 |
+
"model.layers.46.mlp.up_proj.weight": "model-00004-of-000004.safetensors",
|
568 |
+
"model.layers.46.mlp.down_proj.weight": "model-00004-of-000004.safetensors",
|
569 |
+
"model.layers.46.input_layernorm.weight": "model-00004-of-000004.safetensors",
|
570 |
+
"model.layers.46.post_attention_layernorm.weight": "model-00004-of-000004.safetensors",
|
571 |
+
"model.layers.47.self_attn.q_proj.bias": "model-00004-of-000004.safetensors",
|
572 |
+
"model.layers.47.self_attn.k_proj.bias": "model-00004-of-000004.safetensors",
|
573 |
+
"model.layers.47.self_attn.v_proj.bias": "model-00004-of-000004.safetensors",
|
574 |
+
"model.layers.47.self_attn.q_proj.weight": "model-00004-of-000004.safetensors",
|
575 |
+
"model.layers.47.self_attn.k_proj.weight": "model-00004-of-000004.safetensors",
|
576 |
+
"model.layers.47.self_attn.v_proj.weight": "model-00004-of-000004.safetensors",
|
577 |
+
"model.layers.47.self_attn.o_proj.weight": "model-00004-of-000004.safetensors",
|
578 |
+
"model.layers.47.mlp.gate_proj.weight": "model-00004-of-000004.safetensors",
|
579 |
+
"model.layers.47.mlp.up_proj.weight": "model-00004-of-000004.safetensors",
|
580 |
+
"model.layers.47.mlp.down_proj.weight": "model-00004-of-000004.safetensors",
|
581 |
+
"model.layers.47.input_layernorm.weight": "model-00004-of-000004.safetensors",
|
582 |
+
"model.layers.47.post_attention_layernorm.weight": "model-00004-of-000004.safetensors",
|
583 |
+
"model.norm.weight": "model-00004-of-000004.safetensors",
|
584 |
+
"lm_head.weight": "model-00004-of-000004.safetensors"
|
585 |
+
}
|
586 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"bos_token": {
|
5 |
+
"__type": "AddedToken",
|
6 |
+
"content": "<|begin▁of▁sentence|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"clean_up_tokenization_spaces": false,
|
13 |
+
"eos_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "<|end▁of▁sentence|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"legacy": true,
|
22 |
+
"model_max_length": 16384,
|
23 |
+
"pad_token": {
|
24 |
+
"__type": "AddedToken",
|
25 |
+
"content": "<|end▁of▁sentence|>",
|
26 |
+
"lstrip": false,
|
27 |
+
"normalized": true,
|
28 |
+
"rstrip": false,
|
29 |
+
"single_word": false
|
30 |
+
},
|
31 |
+
"sp_model_kwargs": {},
|
32 |
+
"unk_token": null,
|
33 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
34 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|>'}}{% endif %}"
|
35 |
+
}
|