张瀚灵
commited on
Commit
•
dcf346a
1
Parent(s):
6db392d
init commit
Browse files- added_tokens.json +40 -0
- config.json +320 -0
- configuration_asvd_phi.py +189 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- model-00001-of-00002.safetensors +3 -0
- model-00002-of-00002.safetensors +3 -0
- model.safetensors.index.json +673 -0
- modeling_asvd_phi.py +60 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer_config.json +325 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"\t\t": 50294,
|
3 |
+
"\t\t\t": 50293,
|
4 |
+
"\t\t\t\t": 50292,
|
5 |
+
"\t\t\t\t\t": 50291,
|
6 |
+
"\t\t\t\t\t\t": 50290,
|
7 |
+
"\t\t\t\t\t\t\t": 50289,
|
8 |
+
"\t\t\t\t\t\t\t\t": 50288,
|
9 |
+
"\t\t\t\t\t\t\t\t\t": 50287,
|
10 |
+
" ": 50286,
|
11 |
+
" ": 50285,
|
12 |
+
" ": 50284,
|
13 |
+
" ": 50283,
|
14 |
+
" ": 50282,
|
15 |
+
" ": 50281,
|
16 |
+
" ": 50280,
|
17 |
+
" ": 50279,
|
18 |
+
" ": 50278,
|
19 |
+
" ": 50277,
|
20 |
+
" ": 50276,
|
21 |
+
" ": 50275,
|
22 |
+
" ": 50274,
|
23 |
+
" ": 50273,
|
24 |
+
" ": 50272,
|
25 |
+
" ": 50271,
|
26 |
+
" ": 50270,
|
27 |
+
" ": 50269,
|
28 |
+
" ": 50268,
|
29 |
+
" ": 50267,
|
30 |
+
" ": 50266,
|
31 |
+
" ": 50265,
|
32 |
+
" ": 50264,
|
33 |
+
" ": 50263,
|
34 |
+
" ": 50262,
|
35 |
+
" ": 50261,
|
36 |
+
" ": 50260,
|
37 |
+
" ": 50259,
|
38 |
+
" ": 50258,
|
39 |
+
" ": 50257
|
40 |
+
}
|
config.json
ADDED
@@ -0,0 +1,320 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "phi2-wikitext2-0.1-param-ratio-0.95-top10_delta0.1",
|
3 |
+
"architectures": [
|
4 |
+
"ASVDPhiForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"auto_map": {
|
8 |
+
"AutoConfig": "configuration_asvd_phi.ASVDPhiConfig",
|
9 |
+
"AutoModelForCausalLM": "modeling_asvd_phi.ASVDPhiForCausalLM"
|
10 |
+
},
|
11 |
+
"bos_token_id": 50256,
|
12 |
+
"embd_pdrop": 0.0,
|
13 |
+
"eos_token_id": 50256,
|
14 |
+
"hidden_act": "gelu_new",
|
15 |
+
"hidden_size": 2560,
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 10240,
|
18 |
+
"layer_norm_eps": 1e-05,
|
19 |
+
"max_position_embeddings": 2048,
|
20 |
+
"model_type": "phi",
|
21 |
+
"num_attention_heads": 32,
|
22 |
+
"num_hidden_layers": 32,
|
23 |
+
"num_key_value_heads": 32,
|
24 |
+
"partial_rotary_factor": 0.4,
|
25 |
+
"qk_layernorm": false,
|
26 |
+
"resid_pdrop": 0.1,
|
27 |
+
"rope_scaling": null,
|
28 |
+
"rope_theta": 10000.0,
|
29 |
+
"tie_word_embeddings": false,
|
30 |
+
"torch_dtype": "bfloat16",
|
31 |
+
"transformers_version": "4.44.2",
|
32 |
+
"truncation_ranks": {
|
33 |
+
"model.layers.0.mlp.fc1": [
|
34 |
+
1475,
|
35 |
+
163
|
36 |
+
],
|
37 |
+
"model.layers.0.mlp.fc2": [
|
38 |
+
1290,
|
39 |
+
143
|
40 |
+
],
|
41 |
+
"model.layers.0.self_attn.dense": [
|
42 |
+
922,
|
43 |
+
102
|
44 |
+
],
|
45 |
+
"model.layers.0.self_attn.k_proj": [
|
46 |
+
922,
|
47 |
+
102
|
48 |
+
],
|
49 |
+
"model.layers.0.self_attn.q_proj": [
|
50 |
+
807,
|
51 |
+
89
|
52 |
+
],
|
53 |
+
"model.layers.1.mlp.fc1": [
|
54 |
+
1475,
|
55 |
+
163
|
56 |
+
],
|
57 |
+
"model.layers.1.self_attn.dense": [
|
58 |
+
807,
|
59 |
+
89
|
60 |
+
],
|
61 |
+
"model.layers.1.self_attn.k_proj": [
|
62 |
+
692,
|
63 |
+
76
|
64 |
+
],
|
65 |
+
"model.layers.1.self_attn.v_proj": [
|
66 |
+
576,
|
67 |
+
64
|
68 |
+
],
|
69 |
+
"model.layers.10.self_attn.q_proj": [
|
70 |
+
692,
|
71 |
+
76
|
72 |
+
],
|
73 |
+
"model.layers.11.self_attn.dense": [
|
74 |
+
461,
|
75 |
+
51
|
76 |
+
],
|
77 |
+
"model.layers.11.self_attn.v_proj": [
|
78 |
+
692,
|
79 |
+
76
|
80 |
+
],
|
81 |
+
"model.layers.12.self_attn.dense": [
|
82 |
+
1037,
|
83 |
+
115
|
84 |
+
],
|
85 |
+
"model.layers.12.self_attn.q_proj": [
|
86 |
+
807,
|
87 |
+
89
|
88 |
+
],
|
89 |
+
"model.layers.12.self_attn.v_proj": [
|
90 |
+
922,
|
91 |
+
102
|
92 |
+
],
|
93 |
+
"model.layers.13.self_attn.dense": [
|
94 |
+
807,
|
95 |
+
89
|
96 |
+
],
|
97 |
+
"model.layers.13.self_attn.q_proj": [
|
98 |
+
576,
|
99 |
+
64
|
100 |
+
],
|
101 |
+
"model.layers.14.self_attn.dense": [
|
102 |
+
1037,
|
103 |
+
115
|
104 |
+
],
|
105 |
+
"model.layers.14.self_attn.q_proj": [
|
106 |
+
807,
|
107 |
+
89
|
108 |
+
],
|
109 |
+
"model.layers.15.self_attn.dense": [
|
110 |
+
1037,
|
111 |
+
115
|
112 |
+
],
|
113 |
+
"model.layers.15.self_attn.q_proj": [
|
114 |
+
807,
|
115 |
+
89
|
116 |
+
],
|
117 |
+
"model.layers.16.self_attn.dense": [
|
118 |
+
922,
|
119 |
+
102
|
120 |
+
],
|
121 |
+
"model.layers.16.self_attn.k_proj": [
|
122 |
+
922,
|
123 |
+
102
|
124 |
+
],
|
125 |
+
"model.layers.17.self_attn.dense": [
|
126 |
+
1037,
|
127 |
+
115
|
128 |
+
],
|
129 |
+
"model.layers.17.self_attn.q_proj": [
|
130 |
+
807,
|
131 |
+
89
|
132 |
+
],
|
133 |
+
"model.layers.18.self_attn.dense": [
|
134 |
+
922,
|
135 |
+
102
|
136 |
+
],
|
137 |
+
"model.layers.19.self_attn.k_proj": [
|
138 |
+
922,
|
139 |
+
102
|
140 |
+
],
|
141 |
+
"model.layers.19.self_attn.v_proj": [
|
142 |
+
922,
|
143 |
+
102
|
144 |
+
],
|
145 |
+
"model.layers.2.mlp.fc1": [
|
146 |
+
1475,
|
147 |
+
163
|
148 |
+
],
|
149 |
+
"model.layers.2.self_attn.dense": [
|
150 |
+
807,
|
151 |
+
89
|
152 |
+
],
|
153 |
+
"model.layers.2.self_attn.k_proj": [
|
154 |
+
1037,
|
155 |
+
115
|
156 |
+
],
|
157 |
+
"model.layers.2.self_attn.q_proj": [
|
158 |
+
461,
|
159 |
+
51
|
160 |
+
],
|
161 |
+
"model.layers.20.self_attn.dense": [
|
162 |
+
807,
|
163 |
+
89
|
164 |
+
],
|
165 |
+
"model.layers.20.self_attn.q_proj": [
|
166 |
+
1037,
|
167 |
+
115
|
168 |
+
],
|
169 |
+
"model.layers.21.self_attn.dense": [
|
170 |
+
692,
|
171 |
+
76
|
172 |
+
],
|
173 |
+
"model.layers.21.self_attn.q_proj": [
|
174 |
+
1037,
|
175 |
+
115
|
176 |
+
],
|
177 |
+
"model.layers.22.self_attn.dense": [
|
178 |
+
1037,
|
179 |
+
115
|
180 |
+
],
|
181 |
+
"model.layers.22.self_attn.q_proj": [
|
182 |
+
807,
|
183 |
+
89
|
184 |
+
],
|
185 |
+
"model.layers.23.self_attn.dense": [
|
186 |
+
922,
|
187 |
+
102
|
188 |
+
],
|
189 |
+
"model.layers.23.self_attn.q_proj": [
|
190 |
+
922,
|
191 |
+
102
|
192 |
+
],
|
193 |
+
"model.layers.23.self_attn.v_proj": [
|
194 |
+
692,
|
195 |
+
76
|
196 |
+
],
|
197 |
+
"model.layers.24.self_attn.dense": [
|
198 |
+
461,
|
199 |
+
51
|
200 |
+
],
|
201 |
+
"model.layers.24.self_attn.q_proj": [
|
202 |
+
922,
|
203 |
+
102
|
204 |
+
],
|
205 |
+
"model.layers.25.self_attn.k_proj": [
|
206 |
+
576,
|
207 |
+
64
|
208 |
+
],
|
209 |
+
"model.layers.26.self_attn.k_proj": [
|
210 |
+
922,
|
211 |
+
102
|
212 |
+
],
|
213 |
+
"model.layers.26.self_attn.q_proj": [
|
214 |
+
1037,
|
215 |
+
115
|
216 |
+
],
|
217 |
+
"model.layers.27.self_attn.dense": [
|
218 |
+
692,
|
219 |
+
76
|
220 |
+
],
|
221 |
+
"model.layers.27.self_attn.k_proj": [
|
222 |
+
807,
|
223 |
+
89
|
224 |
+
],
|
225 |
+
"model.layers.28.self_attn.dense": [
|
226 |
+
576,
|
227 |
+
64
|
228 |
+
],
|
229 |
+
"model.layers.28.self_attn.q_proj": [
|
230 |
+
922,
|
231 |
+
102
|
232 |
+
],
|
233 |
+
"model.layers.29.self_attn.q_proj": [
|
234 |
+
922,
|
235 |
+
102
|
236 |
+
],
|
237 |
+
"model.layers.29.self_attn.v_proj": [
|
238 |
+
807,
|
239 |
+
89
|
240 |
+
],
|
241 |
+
"model.layers.3.self_attn.dense": [
|
242 |
+
922,
|
243 |
+
102
|
244 |
+
],
|
245 |
+
"model.layers.3.self_attn.k_proj": [
|
246 |
+
1037,
|
247 |
+
115
|
248 |
+
],
|
249 |
+
"model.layers.30.self_attn.dense": [
|
250 |
+
922,
|
251 |
+
102
|
252 |
+
],
|
253 |
+
"model.layers.30.self_attn.q_proj": [
|
254 |
+
807,
|
255 |
+
89
|
256 |
+
],
|
257 |
+
"model.layers.31.self_attn.dense": [
|
258 |
+
1037,
|
259 |
+
115
|
260 |
+
],
|
261 |
+
"model.layers.31.self_attn.q_proj": [
|
262 |
+
1037,
|
263 |
+
115
|
264 |
+
],
|
265 |
+
"model.layers.4.self_attn.dense": [
|
266 |
+
807,
|
267 |
+
89
|
268 |
+
],
|
269 |
+
"model.layers.4.self_attn.k_proj": [
|
270 |
+
1037,
|
271 |
+
115
|
272 |
+
],
|
273 |
+
"model.layers.4.self_attn.q_proj": [
|
274 |
+
692,
|
275 |
+
76
|
276 |
+
],
|
277 |
+
"model.layers.5.self_attn.k_proj": [
|
278 |
+
1037,
|
279 |
+
115
|
280 |
+
],
|
281 |
+
"model.layers.5.self_attn.q_proj": [
|
282 |
+
807,
|
283 |
+
89
|
284 |
+
],
|
285 |
+
"model.layers.6.self_attn.dense": [
|
286 |
+
807,
|
287 |
+
89
|
288 |
+
],
|
289 |
+
"model.layers.6.self_attn.q_proj": [
|
290 |
+
922,
|
291 |
+
102
|
292 |
+
],
|
293 |
+
"model.layers.7.self_attn.q_proj": [
|
294 |
+
692,
|
295 |
+
76
|
296 |
+
],
|
297 |
+
"model.layers.8.self_attn.dense": [
|
298 |
+
1037,
|
299 |
+
115
|
300 |
+
],
|
301 |
+
"model.layers.8.self_attn.k_proj": [
|
302 |
+
692,
|
303 |
+
76
|
304 |
+
],
|
305 |
+
"model.layers.8.self_attn.q_proj": [
|
306 |
+
1037,
|
307 |
+
115
|
308 |
+
],
|
309 |
+
"model.layers.9.self_attn.dense": [
|
310 |
+
692,
|
311 |
+
76
|
312 |
+
],
|
313 |
+
"model.layers.9.self_attn.q_proj": [
|
314 |
+
576,
|
315 |
+
64
|
316 |
+
]
|
317 |
+
},
|
318 |
+
"use_cache": true,
|
319 |
+
"vocab_size": 51200
|
320 |
+
}
|
configuration_asvd_phi.py
ADDED
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# coding=utf-8
|
2 |
+
# Copyright 2023 Microsoft and the HuggingFace Inc. team. All rights reserved.
|
3 |
+
#
|
4 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
+
# you may not use this file except in compliance with the License.
|
6 |
+
# You may obtain a copy of the License at
|
7 |
+
#
|
8 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9 |
+
#
|
10 |
+
# Unless required by applicable law or agreed to in writing, software
|
11 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
+
# See the License for the specific language governing permissions and
|
14 |
+
# limitations under the License.
|
15 |
+
|
16 |
+
"""Phi model configuration"""
|
17 |
+
|
18 |
+
from transformers.configuration_utils import PretrainedConfig
|
19 |
+
from transformers.utils import logging
|
20 |
+
|
21 |
+
|
22 |
+
logger = logging.get_logger(__name__)
|
23 |
+
|
24 |
+
|
25 |
+
class ASVDPhiConfig(PretrainedConfig):
|
26 |
+
r"""
|
27 |
+
This is the configuration class to store the configuration of a [`PhiModel`]. It is used to instantiate an Phi
|
28 |
+
model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
|
29 |
+
defaults will yield a similar configuration to that of the Phi
|
30 |
+
[microsoft/phi-1](https://huggingface.co/microsoft/phi-1).
|
31 |
+
|
32 |
+
Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
|
33 |
+
documentation from [`PretrainedConfig`] for more information.
|
34 |
+
|
35 |
+
Args:
|
36 |
+
vocab_size (`int`, *optional*, defaults to 51200):
|
37 |
+
Vocabulary size of the Phi model. Defines the number of different tokens that can be represented by the
|
38 |
+
`inputs_ids` passed when calling [`PhiModel`].
|
39 |
+
hidden_size (`int`, *optional*, defaults to 2048):
|
40 |
+
Dimension of the hidden representations.
|
41 |
+
intermediate_size (`int`, *optional*, defaults to 8192):
|
42 |
+
Dimension of the MLP representations.
|
43 |
+
num_hidden_layers (`int`, *optional*, defaults to 24):
|
44 |
+
Number of hidden layers in the Transformer decoder.
|
45 |
+
num_attention_heads (`int`, *optional*, defaults to 32):
|
46 |
+
Number of attention heads for each attention layer in the Transformer decoder.
|
47 |
+
num_key_value_heads (`int`, *optional*):
|
48 |
+
This is the number of key_value heads that should be used to implement Grouped Query Attention. If
|
49 |
+
`num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
|
50 |
+
`num_key_value_heads=1` the model will use Multi Query Attention (MQA) otherwise GQA is used. When
|
51 |
+
converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
|
52 |
+
by meanpooling all the original heads within that group. For more details checkout [this
|
53 |
+
paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to
|
54 |
+
`num_attention_heads`.
|
55 |
+
resid_pdrop (`float`, *optional*, defaults to 0.0):
|
56 |
+
Dropout probability for mlp outputs.
|
57 |
+
embd_pdrop (`int`, *optional*, defaults to 0.0):
|
58 |
+
The dropout ratio for the embeddings.
|
59 |
+
attention_dropout (`float`, *optional*, defaults to 0.0):
|
60 |
+
The dropout ratio after computing the attention scores.
|
61 |
+
hidden_act (`str` or `function`, *optional*, defaults to `"gelu_new"`):
|
62 |
+
The non-linear activation function (function or string) in the decoder.
|
63 |
+
max_position_embeddings (`int`, *optional*, defaults to 2048):
|
64 |
+
The maximum sequence length that this model might ever be used with. Phi-1 and Phi-1.5 supports up to 2048
|
65 |
+
tokens.
|
66 |
+
initializer_range (`float`, *optional*, defaults to 0.02):
|
67 |
+
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
|
68 |
+
layer_norm_eps (`float`, *optional*, defaults to 1e-05):
|
69 |
+
The epsilon used by the rms normalization layers.
|
70 |
+
use_cache (`bool`, *optional*, defaults to `True`):
|
71 |
+
Whether or not the model should return the last key/values attentions (not used by all models). Only
|
72 |
+
relevant if `config.is_decoder=True`. Whether to tie weight embeddings or not.
|
73 |
+
tie_word_embeddings (`bool`, *optional*, defaults to `False`):
|
74 |
+
Whether to tie weight embeddings
|
75 |
+
rope_theta (`float`, *optional*, defaults to 10000.0):
|
76 |
+
The base period of the RoPE embeddings.
|
77 |
+
rope_scaling (`Dict`, *optional*):
|
78 |
+
Dictionary containing the scaling configuration for the RoPE embeddings. Currently supports two scaling
|
79 |
+
strategies: linear and dynamic. Their scaling factor must be an float greater than 1. The expected format
|
80 |
+
is `{"type": strategy name, "factor": scaling factor}`. When using this flag, don't update
|
81 |
+
`max_position_embeddings` to the expected new maximum. See the following thread for more information on how
|
82 |
+
these scaling strategies behave:
|
83 |
+
https://www.reddit.com/r/LocalPersimmon/comments/14mrgpr/dynamically_scaled_rope_further_increases/. This
|
84 |
+
is an experimental feature, subject to breaking API changes in future versions.
|
85 |
+
partial_rotary_factor (`float`, *optional*, defaults to 0.5):
|
86 |
+
Percentage of the query and keys which will have rotary embedding.
|
87 |
+
qk_layernorm (`bool`, *optional*, defaults to `False`):
|
88 |
+
Whether or not to normalize the Queries and Keys after projecting the hidden states.
|
89 |
+
bos_token_id (`int`, *optional*, defaults to 1):
|
90 |
+
Denotes beginning of sequences token id.
|
91 |
+
eos_token_id (`int`, *optional*, defaults to 2):
|
92 |
+
Denotes end of sequences token id.
|
93 |
+
|
94 |
+
Example:
|
95 |
+
|
96 |
+
```python
|
97 |
+
>>> from transformers import PhiModel, PhiConfig
|
98 |
+
|
99 |
+
>>> # Initializing a Phi-1 style configuration
|
100 |
+
>>> configuration = PhiConfig.from_pretrained("microsoft/phi-1")
|
101 |
+
|
102 |
+
>>> # Initializing a model from the configuration
|
103 |
+
>>> model = PhiModel(configuration)
|
104 |
+
|
105 |
+
>>> # Accessing the model configuration
|
106 |
+
>>> configuration = model.config
|
107 |
+
```"""
|
108 |
+
|
109 |
+
model_type = "phi"
|
110 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
111 |
+
|
112 |
+
def __init__(
|
113 |
+
self,
|
114 |
+
vocab_size=51200,
|
115 |
+
hidden_size=2048,
|
116 |
+
intermediate_size=8192,
|
117 |
+
num_hidden_layers=24,
|
118 |
+
num_attention_heads=32,
|
119 |
+
num_key_value_heads=None,
|
120 |
+
resid_pdrop=0.0,
|
121 |
+
embd_pdrop=0.0,
|
122 |
+
attention_dropout=0.0,
|
123 |
+
hidden_act="gelu_new",
|
124 |
+
max_position_embeddings=2048,
|
125 |
+
initializer_range=0.02,
|
126 |
+
layer_norm_eps=1e-5,
|
127 |
+
use_cache=True,
|
128 |
+
tie_word_embeddings=False,
|
129 |
+
rope_theta=10000.0,
|
130 |
+
rope_scaling=None,
|
131 |
+
partial_rotary_factor=0.5,
|
132 |
+
qk_layernorm=False,
|
133 |
+
bos_token_id=1,
|
134 |
+
eos_token_id=2,
|
135 |
+
truncation_ranks=None,
|
136 |
+
**kwargs,
|
137 |
+
):
|
138 |
+
self.vocab_size = vocab_size
|
139 |
+
self.hidden_size = hidden_size
|
140 |
+
self.intermediate_size = intermediate_size
|
141 |
+
self.num_hidden_layers = num_hidden_layers
|
142 |
+
self.num_attention_heads = num_attention_heads
|
143 |
+
|
144 |
+
if num_key_value_heads is None:
|
145 |
+
num_key_value_heads = num_attention_heads
|
146 |
+
|
147 |
+
self.num_key_value_heads = num_key_value_heads
|
148 |
+
self.resid_pdrop = resid_pdrop
|
149 |
+
self.embd_pdrop = embd_pdrop
|
150 |
+
self.attention_dropout = attention_dropout
|
151 |
+
self.hidden_act = hidden_act
|
152 |
+
self.max_position_embeddings = max_position_embeddings
|
153 |
+
self.initializer_range = initializer_range
|
154 |
+
self.layer_norm_eps = layer_norm_eps
|
155 |
+
self.use_cache = use_cache
|
156 |
+
self.rope_theta = rope_theta
|
157 |
+
self.rope_scaling = rope_scaling
|
158 |
+
self.partial_rotary_factor = partial_rotary_factor
|
159 |
+
self.qk_layernorm = qk_layernorm
|
160 |
+
# self._rope_scaling_validation()
|
161 |
+
|
162 |
+
super().__init__(
|
163 |
+
bos_token_id=bos_token_id,
|
164 |
+
eos_token_id=eos_token_id,
|
165 |
+
tie_word_embeddings=tie_word_embeddings,
|
166 |
+
**kwargs,
|
167 |
+
)
|
168 |
+
# for avsd
|
169 |
+
self.truncation_ranks = truncation_ranks
|
170 |
+
|
171 |
+
def _rope_scaling_validation(self):
|
172 |
+
"""
|
173 |
+
Validate the `rope_scaling` configuration.
|
174 |
+
"""
|
175 |
+
if self.rope_scaling is None:
|
176 |
+
return
|
177 |
+
|
178 |
+
if not isinstance(self.rope_scaling, dict) or len(self.rope_scaling) != 2:
|
179 |
+
raise ValueError(
|
180 |
+
"`rope_scaling` must be a dictionary with two fields, `type` and `factor`, " f"got {self.rope_scaling}"
|
181 |
+
)
|
182 |
+
rope_scaling_type = self.rope_scaling.get("type", None)
|
183 |
+
rope_scaling_factor = self.rope_scaling.get("factor", None)
|
184 |
+
if rope_scaling_type is None or rope_scaling_type not in ["linear", "dynamic"]:
|
185 |
+
raise ValueError(
|
186 |
+
f"`rope_scaling`'s type field must be one of ['linear', 'dynamic'], got {rope_scaling_type}"
|
187 |
+
)
|
188 |
+
if rope_scaling_factor is None or not isinstance(rope_scaling_factor, float) or rope_scaling_factor <= 1.0:
|
189 |
+
raise ValueError(f"`rope_scaling`'s factor field must be a float > 1, got {rope_scaling_factor}")
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.44.2"
|
6 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model-00001-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89c0da8fad2cd434f0bbad31194586b21404ad318821aaf1ed57b9e5c5cb1286
|
3 |
+
size 4960273792
|
model-00002-of-00002.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d6bc96085e1e0e886bb1200d27891824238f14874fe34d5b4d6b97984c3490e
|
3 |
+
size 314701632
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,673 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 5274895360
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"lm_head.bias": "model-00002-of-00002.safetensors",
|
7 |
+
"lm_head.weight": "model-00002-of-00002.safetensors",
|
8 |
+
"model.embed_tokens.weight": "model-00001-of-00002.safetensors",
|
9 |
+
"model.final_layernorm.bias": "model-00002-of-00002.safetensors",
|
10 |
+
"model.final_layernorm.weight": "model-00002-of-00002.safetensors",
|
11 |
+
"model.layers.0.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
12 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
13 |
+
"model.layers.0.mlp.fc1.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
14 |
+
"model.layers.0.mlp.fc1.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
15 |
+
"model.layers.0.mlp.fc1.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
16 |
+
"model.layers.0.mlp.fc1.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
17 |
+
"model.layers.0.mlp.fc1.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
18 |
+
"model.layers.0.mlp.fc2.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
19 |
+
"model.layers.0.mlp.fc2.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
20 |
+
"model.layers.0.mlp.fc2.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
21 |
+
"model.layers.0.mlp.fc2.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
22 |
+
"model.layers.0.mlp.fc2.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
23 |
+
"model.layers.0.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
24 |
+
"model.layers.0.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
25 |
+
"model.layers.0.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
26 |
+
"model.layers.0.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
27 |
+
"model.layers.0.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
28 |
+
"model.layers.0.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
29 |
+
"model.layers.0.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
30 |
+
"model.layers.0.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
31 |
+
"model.layers.0.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
32 |
+
"model.layers.0.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
33 |
+
"model.layers.0.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
34 |
+
"model.layers.0.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
35 |
+
"model.layers.0.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
36 |
+
"model.layers.0.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
37 |
+
"model.layers.0.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
38 |
+
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
39 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
40 |
+
"model.layers.1.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
41 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
42 |
+
"model.layers.1.mlp.fc1.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
43 |
+
"model.layers.1.mlp.fc1.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
44 |
+
"model.layers.1.mlp.fc1.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
45 |
+
"model.layers.1.mlp.fc1.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
46 |
+
"model.layers.1.mlp.fc1.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
47 |
+
"model.layers.1.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
48 |
+
"model.layers.1.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
49 |
+
"model.layers.1.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
50 |
+
"model.layers.1.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
51 |
+
"model.layers.1.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
52 |
+
"model.layers.1.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
53 |
+
"model.layers.1.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
54 |
+
"model.layers.1.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
55 |
+
"model.layers.1.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
56 |
+
"model.layers.1.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
57 |
+
"model.layers.1.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
58 |
+
"model.layers.1.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
59 |
+
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-00002.safetensors",
|
60 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
61 |
+
"model.layers.1.self_attn.v_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
62 |
+
"model.layers.1.self_attn.v_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
63 |
+
"model.layers.1.self_attn.v_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
64 |
+
"model.layers.1.self_attn.v_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
65 |
+
"model.layers.1.self_attn.v_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
66 |
+
"model.layers.10.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
67 |
+
"model.layers.10.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
68 |
+
"model.layers.10.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
69 |
+
"model.layers.10.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
70 |
+
"model.layers.10.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
71 |
+
"model.layers.10.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
72 |
+
"model.layers.10.self_attn.dense.bias": "model-00001-of-00002.safetensors",
|
73 |
+
"model.layers.10.self_attn.dense.weight": "model-00001-of-00002.safetensors",
|
74 |
+
"model.layers.10.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
75 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
76 |
+
"model.layers.10.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
77 |
+
"model.layers.10.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
78 |
+
"model.layers.10.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
79 |
+
"model.layers.10.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
80 |
+
"model.layers.10.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
81 |
+
"model.layers.10.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
82 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
83 |
+
"model.layers.11.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
84 |
+
"model.layers.11.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
85 |
+
"model.layers.11.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
86 |
+
"model.layers.11.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
87 |
+
"model.layers.11.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
88 |
+
"model.layers.11.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
89 |
+
"model.layers.11.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
90 |
+
"model.layers.11.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
91 |
+
"model.layers.11.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
92 |
+
"model.layers.11.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
93 |
+
"model.layers.11.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
94 |
+
"model.layers.11.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
95 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
96 |
+
"model.layers.11.self_attn.q_proj.bias": "model-00001-of-00002.safetensors",
|
97 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
98 |
+
"model.layers.11.self_attn.v_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
99 |
+
"model.layers.11.self_attn.v_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
100 |
+
"model.layers.11.self_attn.v_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
101 |
+
"model.layers.11.self_attn.v_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
102 |
+
"model.layers.11.self_attn.v_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
103 |
+
"model.layers.12.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
104 |
+
"model.layers.12.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
105 |
+
"model.layers.12.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
106 |
+
"model.layers.12.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
107 |
+
"model.layers.12.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
108 |
+
"model.layers.12.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
109 |
+
"model.layers.12.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
110 |
+
"model.layers.12.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
111 |
+
"model.layers.12.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
112 |
+
"model.layers.12.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
113 |
+
"model.layers.12.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
114 |
+
"model.layers.12.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
115 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
116 |
+
"model.layers.12.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
117 |
+
"model.layers.12.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
118 |
+
"model.layers.12.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
119 |
+
"model.layers.12.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
120 |
+
"model.layers.12.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
121 |
+
"model.layers.12.self_attn.v_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
122 |
+
"model.layers.12.self_attn.v_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
123 |
+
"model.layers.12.self_attn.v_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
124 |
+
"model.layers.12.self_attn.v_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
125 |
+
"model.layers.12.self_attn.v_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
126 |
+
"model.layers.13.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
127 |
+
"model.layers.13.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
128 |
+
"model.layers.13.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
129 |
+
"model.layers.13.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
130 |
+
"model.layers.13.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
131 |
+
"model.layers.13.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
132 |
+
"model.layers.13.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
133 |
+
"model.layers.13.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
134 |
+
"model.layers.13.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
135 |
+
"model.layers.13.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
136 |
+
"model.layers.13.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
137 |
+
"model.layers.13.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
138 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
139 |
+
"model.layers.13.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
140 |
+
"model.layers.13.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
141 |
+
"model.layers.13.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
142 |
+
"model.layers.13.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
143 |
+
"model.layers.13.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
144 |
+
"model.layers.13.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
145 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
146 |
+
"model.layers.14.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
147 |
+
"model.layers.14.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
148 |
+
"model.layers.14.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
149 |
+
"model.layers.14.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
150 |
+
"model.layers.14.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
151 |
+
"model.layers.14.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
152 |
+
"model.layers.14.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
153 |
+
"model.layers.14.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
154 |
+
"model.layers.14.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
155 |
+
"model.layers.14.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
156 |
+
"model.layers.14.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
157 |
+
"model.layers.14.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
158 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
159 |
+
"model.layers.14.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
160 |
+
"model.layers.14.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
161 |
+
"model.layers.14.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
162 |
+
"model.layers.14.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
163 |
+
"model.layers.14.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
164 |
+
"model.layers.14.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
165 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
166 |
+
"model.layers.15.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
167 |
+
"model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
168 |
+
"model.layers.15.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
169 |
+
"model.layers.15.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
170 |
+
"model.layers.15.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
171 |
+
"model.layers.15.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
172 |
+
"model.layers.15.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
173 |
+
"model.layers.15.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
174 |
+
"model.layers.15.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
175 |
+
"model.layers.15.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
176 |
+
"model.layers.15.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
177 |
+
"model.layers.15.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
178 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
179 |
+
"model.layers.15.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
180 |
+
"model.layers.15.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
181 |
+
"model.layers.15.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
182 |
+
"model.layers.15.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
183 |
+
"model.layers.15.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
184 |
+
"model.layers.15.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
185 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
186 |
+
"model.layers.16.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
187 |
+
"model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
188 |
+
"model.layers.16.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
189 |
+
"model.layers.16.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
190 |
+
"model.layers.16.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
191 |
+
"model.layers.16.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
192 |
+
"model.layers.16.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
193 |
+
"model.layers.16.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
194 |
+
"model.layers.16.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
195 |
+
"model.layers.16.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
196 |
+
"model.layers.16.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
197 |
+
"model.layers.16.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
198 |
+
"model.layers.16.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
199 |
+
"model.layers.16.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
200 |
+
"model.layers.16.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
201 |
+
"model.layers.16.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
202 |
+
"model.layers.16.self_attn.q_proj.bias": "model-00001-of-00002.safetensors",
|
203 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
204 |
+
"model.layers.16.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
205 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
206 |
+
"model.layers.17.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
207 |
+
"model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
208 |
+
"model.layers.17.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
209 |
+
"model.layers.17.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
210 |
+
"model.layers.17.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
211 |
+
"model.layers.17.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
212 |
+
"model.layers.17.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
213 |
+
"model.layers.17.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
214 |
+
"model.layers.17.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
215 |
+
"model.layers.17.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
216 |
+
"model.layers.17.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
217 |
+
"model.layers.17.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
218 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
219 |
+
"model.layers.17.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
220 |
+
"model.layers.17.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
221 |
+
"model.layers.17.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
222 |
+
"model.layers.17.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
223 |
+
"model.layers.17.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
224 |
+
"model.layers.17.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
225 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
226 |
+
"model.layers.18.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
227 |
+
"model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
228 |
+
"model.layers.18.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
229 |
+
"model.layers.18.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
230 |
+
"model.layers.18.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
231 |
+
"model.layers.18.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
232 |
+
"model.layers.18.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
233 |
+
"model.layers.18.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
234 |
+
"model.layers.18.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
235 |
+
"model.layers.18.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
236 |
+
"model.layers.18.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
237 |
+
"model.layers.18.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
238 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
239 |
+
"model.layers.18.self_attn.q_proj.bias": "model-00001-of-00002.safetensors",
|
240 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
241 |
+
"model.layers.18.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
242 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
243 |
+
"model.layers.19.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
244 |
+
"model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
245 |
+
"model.layers.19.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
246 |
+
"model.layers.19.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
247 |
+
"model.layers.19.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
248 |
+
"model.layers.19.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
249 |
+
"model.layers.19.self_attn.dense.bias": "model-00001-of-00002.safetensors",
|
250 |
+
"model.layers.19.self_attn.dense.weight": "model-00001-of-00002.safetensors",
|
251 |
+
"model.layers.19.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
252 |
+
"model.layers.19.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
253 |
+
"model.layers.19.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
254 |
+
"model.layers.19.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
255 |
+
"model.layers.19.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
256 |
+
"model.layers.19.self_attn.q_proj.bias": "model-00001-of-00002.safetensors",
|
257 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
258 |
+
"model.layers.19.self_attn.v_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
259 |
+
"model.layers.19.self_attn.v_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
260 |
+
"model.layers.19.self_attn.v_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
261 |
+
"model.layers.19.self_attn.v_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
262 |
+
"model.layers.19.self_attn.v_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
263 |
+
"model.layers.2.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
264 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
265 |
+
"model.layers.2.mlp.fc1.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
266 |
+
"model.layers.2.mlp.fc1.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
267 |
+
"model.layers.2.mlp.fc1.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
268 |
+
"model.layers.2.mlp.fc1.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
269 |
+
"model.layers.2.mlp.fc1.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
270 |
+
"model.layers.2.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
271 |
+
"model.layers.2.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
272 |
+
"model.layers.2.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
273 |
+
"model.layers.2.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
274 |
+
"model.layers.2.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
275 |
+
"model.layers.2.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
276 |
+
"model.layers.2.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
277 |
+
"model.layers.2.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
278 |
+
"model.layers.2.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
279 |
+
"model.layers.2.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
280 |
+
"model.layers.2.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
281 |
+
"model.layers.2.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
282 |
+
"model.layers.2.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
283 |
+
"model.layers.2.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
284 |
+
"model.layers.2.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
285 |
+
"model.layers.2.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
286 |
+
"model.layers.2.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
287 |
+
"model.layers.2.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
288 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
289 |
+
"model.layers.20.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
290 |
+
"model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
291 |
+
"model.layers.20.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
292 |
+
"model.layers.20.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
293 |
+
"model.layers.20.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
294 |
+
"model.layers.20.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
295 |
+
"model.layers.20.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
296 |
+
"model.layers.20.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
297 |
+
"model.layers.20.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
298 |
+
"model.layers.20.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
299 |
+
"model.layers.20.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
300 |
+
"model.layers.20.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
301 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
302 |
+
"model.layers.20.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
303 |
+
"model.layers.20.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
304 |
+
"model.layers.20.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
305 |
+
"model.layers.20.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
306 |
+
"model.layers.20.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
307 |
+
"model.layers.20.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
308 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
309 |
+
"model.layers.21.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
310 |
+
"model.layers.21.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
311 |
+
"model.layers.21.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
312 |
+
"model.layers.21.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
313 |
+
"model.layers.21.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
314 |
+
"model.layers.21.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
315 |
+
"model.layers.21.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
316 |
+
"model.layers.21.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
317 |
+
"model.layers.21.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
318 |
+
"model.layers.21.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
319 |
+
"model.layers.21.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
320 |
+
"model.layers.21.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
321 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
322 |
+
"model.layers.21.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
323 |
+
"model.layers.21.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
324 |
+
"model.layers.21.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
325 |
+
"model.layers.21.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
326 |
+
"model.layers.21.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
327 |
+
"model.layers.21.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
328 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
329 |
+
"model.layers.22.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
330 |
+
"model.layers.22.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
331 |
+
"model.layers.22.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
332 |
+
"model.layers.22.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
333 |
+
"model.layers.22.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
334 |
+
"model.layers.22.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
335 |
+
"model.layers.22.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
336 |
+
"model.layers.22.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
337 |
+
"model.layers.22.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
338 |
+
"model.layers.22.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
339 |
+
"model.layers.22.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
340 |
+
"model.layers.22.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
341 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
342 |
+
"model.layers.22.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
343 |
+
"model.layers.22.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
344 |
+
"model.layers.22.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
345 |
+
"model.layers.22.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
346 |
+
"model.layers.22.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
347 |
+
"model.layers.22.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
348 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
349 |
+
"model.layers.23.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
350 |
+
"model.layers.23.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
351 |
+
"model.layers.23.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
352 |
+
"model.layers.23.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
353 |
+
"model.layers.23.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
354 |
+
"model.layers.23.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
355 |
+
"model.layers.23.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
356 |
+
"model.layers.23.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
357 |
+
"model.layers.23.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
358 |
+
"model.layers.23.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
359 |
+
"model.layers.23.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
360 |
+
"model.layers.23.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
361 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
362 |
+
"model.layers.23.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
363 |
+
"model.layers.23.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
364 |
+
"model.layers.23.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
365 |
+
"model.layers.23.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
366 |
+
"model.layers.23.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
367 |
+
"model.layers.23.self_attn.v_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
368 |
+
"model.layers.23.self_attn.v_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
369 |
+
"model.layers.23.self_attn.v_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
370 |
+
"model.layers.23.self_attn.v_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
371 |
+
"model.layers.23.self_attn.v_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
372 |
+
"model.layers.24.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
373 |
+
"model.layers.24.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
374 |
+
"model.layers.24.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
375 |
+
"model.layers.24.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
376 |
+
"model.layers.24.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
377 |
+
"model.layers.24.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
378 |
+
"model.layers.24.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
379 |
+
"model.layers.24.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
380 |
+
"model.layers.24.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
381 |
+
"model.layers.24.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
382 |
+
"model.layers.24.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
383 |
+
"model.layers.24.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
384 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
385 |
+
"model.layers.24.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
386 |
+
"model.layers.24.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
387 |
+
"model.layers.24.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
388 |
+
"model.layers.24.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
389 |
+
"model.layers.24.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
390 |
+
"model.layers.24.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
391 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
392 |
+
"model.layers.25.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
393 |
+
"model.layers.25.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
394 |
+
"model.layers.25.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
395 |
+
"model.layers.25.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
396 |
+
"model.layers.25.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
397 |
+
"model.layers.25.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
398 |
+
"model.layers.25.self_attn.dense.bias": "model-00001-of-00002.safetensors",
|
399 |
+
"model.layers.25.self_attn.dense.weight": "model-00001-of-00002.safetensors",
|
400 |
+
"model.layers.25.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
401 |
+
"model.layers.25.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
402 |
+
"model.layers.25.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
403 |
+
"model.layers.25.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
404 |
+
"model.layers.25.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
405 |
+
"model.layers.25.self_attn.q_proj.bias": "model-00001-of-00002.safetensors",
|
406 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
407 |
+
"model.layers.25.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
408 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
409 |
+
"model.layers.26.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
410 |
+
"model.layers.26.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
411 |
+
"model.layers.26.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
412 |
+
"model.layers.26.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
413 |
+
"model.layers.26.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
414 |
+
"model.layers.26.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
415 |
+
"model.layers.26.self_attn.dense.bias": "model-00001-of-00002.safetensors",
|
416 |
+
"model.layers.26.self_attn.dense.weight": "model-00001-of-00002.safetensors",
|
417 |
+
"model.layers.26.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
418 |
+
"model.layers.26.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
419 |
+
"model.layers.26.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
420 |
+
"model.layers.26.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
421 |
+
"model.layers.26.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
422 |
+
"model.layers.26.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
423 |
+
"model.layers.26.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
424 |
+
"model.layers.26.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
425 |
+
"model.layers.26.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
426 |
+
"model.layers.26.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
427 |
+
"model.layers.26.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
428 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
429 |
+
"model.layers.27.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
430 |
+
"model.layers.27.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
431 |
+
"model.layers.27.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
432 |
+
"model.layers.27.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
433 |
+
"model.layers.27.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
434 |
+
"model.layers.27.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
435 |
+
"model.layers.27.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
436 |
+
"model.layers.27.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
437 |
+
"model.layers.27.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
438 |
+
"model.layers.27.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
439 |
+
"model.layers.27.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
440 |
+
"model.layers.27.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
441 |
+
"model.layers.27.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
442 |
+
"model.layers.27.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
443 |
+
"model.layers.27.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
444 |
+
"model.layers.27.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
445 |
+
"model.layers.27.self_attn.q_proj.bias": "model-00001-of-00002.safetensors",
|
446 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
447 |
+
"model.layers.27.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
448 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
449 |
+
"model.layers.28.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
450 |
+
"model.layers.28.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
451 |
+
"model.layers.28.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
452 |
+
"model.layers.28.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
453 |
+
"model.layers.28.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
454 |
+
"model.layers.28.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
455 |
+
"model.layers.28.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
456 |
+
"model.layers.28.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
457 |
+
"model.layers.28.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
458 |
+
"model.layers.28.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
459 |
+
"model.layers.28.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
460 |
+
"model.layers.28.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
461 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
462 |
+
"model.layers.28.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
463 |
+
"model.layers.28.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
464 |
+
"model.layers.28.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
465 |
+
"model.layers.28.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
466 |
+
"model.layers.28.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
467 |
+
"model.layers.28.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
468 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
469 |
+
"model.layers.29.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
470 |
+
"model.layers.29.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
471 |
+
"model.layers.29.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
472 |
+
"model.layers.29.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
473 |
+
"model.layers.29.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
474 |
+
"model.layers.29.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
475 |
+
"model.layers.29.self_attn.dense.bias": "model-00001-of-00002.safetensors",
|
476 |
+
"model.layers.29.self_attn.dense.weight": "model-00001-of-00002.safetensors",
|
477 |
+
"model.layers.29.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
478 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
479 |
+
"model.layers.29.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
480 |
+
"model.layers.29.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
481 |
+
"model.layers.29.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
482 |
+
"model.layers.29.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
483 |
+
"model.layers.29.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
484 |
+
"model.layers.29.self_attn.v_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
485 |
+
"model.layers.29.self_attn.v_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
486 |
+
"model.layers.29.self_attn.v_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
487 |
+
"model.layers.29.self_attn.v_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
488 |
+
"model.layers.29.self_attn.v_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
489 |
+
"model.layers.3.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
490 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
491 |
+
"model.layers.3.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
492 |
+
"model.layers.3.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
493 |
+
"model.layers.3.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
494 |
+
"model.layers.3.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
495 |
+
"model.layers.3.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
496 |
+
"model.layers.3.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
497 |
+
"model.layers.3.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
498 |
+
"model.layers.3.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
499 |
+
"model.layers.3.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
500 |
+
"model.layers.3.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
501 |
+
"model.layers.3.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
502 |
+
"model.layers.3.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
503 |
+
"model.layers.3.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
504 |
+
"model.layers.3.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
505 |
+
"model.layers.3.self_attn.q_proj.bias": "model-00001-of-00002.safetensors",
|
506 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
|
507 |
+
"model.layers.3.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
508 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
509 |
+
"model.layers.30.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
510 |
+
"model.layers.30.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
511 |
+
"model.layers.30.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
512 |
+
"model.layers.30.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
513 |
+
"model.layers.30.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
514 |
+
"model.layers.30.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
515 |
+
"model.layers.30.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
516 |
+
"model.layers.30.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
517 |
+
"model.layers.30.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
518 |
+
"model.layers.30.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
519 |
+
"model.layers.30.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
520 |
+
"model.layers.30.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
521 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
522 |
+
"model.layers.30.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
523 |
+
"model.layers.30.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
524 |
+
"model.layers.30.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
525 |
+
"model.layers.30.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
526 |
+
"model.layers.30.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
527 |
+
"model.layers.30.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
528 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
529 |
+
"model.layers.31.input_layernorm.bias": "model-00002-of-00002.safetensors",
|
530 |
+
"model.layers.31.input_layernorm.weight": "model-00002-of-00002.safetensors",
|
531 |
+
"model.layers.31.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
532 |
+
"model.layers.31.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
533 |
+
"model.layers.31.mlp.fc2.bias": "model-00002-of-00002.safetensors",
|
534 |
+
"model.layers.31.mlp.fc2.weight": "model-00002-of-00002.safetensors",
|
535 |
+
"model.layers.31.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
536 |
+
"model.layers.31.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
537 |
+
"model.layers.31.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
538 |
+
"model.layers.31.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
539 |
+
"model.layers.31.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
540 |
+
"model.layers.31.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
541 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
542 |
+
"model.layers.31.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
543 |
+
"model.layers.31.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
544 |
+
"model.layers.31.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
545 |
+
"model.layers.31.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
546 |
+
"model.layers.31.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
547 |
+
"model.layers.31.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
548 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
549 |
+
"model.layers.4.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
550 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
551 |
+
"model.layers.4.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
552 |
+
"model.layers.4.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
553 |
+
"model.layers.4.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
554 |
+
"model.layers.4.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
555 |
+
"model.layers.4.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
556 |
+
"model.layers.4.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
557 |
+
"model.layers.4.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
558 |
+
"model.layers.4.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
559 |
+
"model.layers.4.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
560 |
+
"model.layers.4.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
561 |
+
"model.layers.4.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
562 |
+
"model.layers.4.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
563 |
+
"model.layers.4.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
564 |
+
"model.layers.4.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
565 |
+
"model.layers.4.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
566 |
+
"model.layers.4.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
567 |
+
"model.layers.4.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
568 |
+
"model.layers.4.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
569 |
+
"model.layers.4.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
570 |
+
"model.layers.4.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
571 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
572 |
+
"model.layers.5.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
573 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
574 |
+
"model.layers.5.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
575 |
+
"model.layers.5.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
576 |
+
"model.layers.5.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
577 |
+
"model.layers.5.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
578 |
+
"model.layers.5.self_attn.dense.bias": "model-00001-of-00002.safetensors",
|
579 |
+
"model.layers.5.self_attn.dense.weight": "model-00001-of-00002.safetensors",
|
580 |
+
"model.layers.5.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
581 |
+
"model.layers.5.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
582 |
+
"model.layers.5.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
583 |
+
"model.layers.5.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
584 |
+
"model.layers.5.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
585 |
+
"model.layers.5.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
586 |
+
"model.layers.5.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
587 |
+
"model.layers.5.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
588 |
+
"model.layers.5.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
589 |
+
"model.layers.5.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
590 |
+
"model.layers.5.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
591 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
592 |
+
"model.layers.6.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
593 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
594 |
+
"model.layers.6.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
595 |
+
"model.layers.6.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
596 |
+
"model.layers.6.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
597 |
+
"model.layers.6.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
598 |
+
"model.layers.6.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
599 |
+
"model.layers.6.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
600 |
+
"model.layers.6.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
601 |
+
"model.layers.6.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
602 |
+
"model.layers.6.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
603 |
+
"model.layers.6.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
604 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
605 |
+
"model.layers.6.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
606 |
+
"model.layers.6.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
607 |
+
"model.layers.6.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
608 |
+
"model.layers.6.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
609 |
+
"model.layers.6.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
610 |
+
"model.layers.6.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
611 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
612 |
+
"model.layers.7.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
613 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
614 |
+
"model.layers.7.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
615 |
+
"model.layers.7.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
616 |
+
"model.layers.7.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
617 |
+
"model.layers.7.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
618 |
+
"model.layers.7.self_attn.dense.bias": "model-00001-of-00002.safetensors",
|
619 |
+
"model.layers.7.self_attn.dense.weight": "model-00001-of-00002.safetensors",
|
620 |
+
"model.layers.7.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
621 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
622 |
+
"model.layers.7.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
623 |
+
"model.layers.7.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
624 |
+
"model.layers.7.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
625 |
+
"model.layers.7.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
626 |
+
"model.layers.7.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
627 |
+
"model.layers.7.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
628 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
629 |
+
"model.layers.8.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
630 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
631 |
+
"model.layers.8.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
632 |
+
"model.layers.8.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
633 |
+
"model.layers.8.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
634 |
+
"model.layers.8.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
635 |
+
"model.layers.8.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
636 |
+
"model.layers.8.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
637 |
+
"model.layers.8.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
638 |
+
"model.layers.8.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
639 |
+
"model.layers.8.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
640 |
+
"model.layers.8.self_attn.k_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
641 |
+
"model.layers.8.self_attn.k_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
642 |
+
"model.layers.8.self_attn.k_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
643 |
+
"model.layers.8.self_attn.k_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
644 |
+
"model.layers.8.self_attn.k_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
645 |
+
"model.layers.8.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
646 |
+
"model.layers.8.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
647 |
+
"model.layers.8.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
648 |
+
"model.layers.8.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
649 |
+
"model.layers.8.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
650 |
+
"model.layers.8.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
651 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
|
652 |
+
"model.layers.9.input_layernorm.bias": "model-00001-of-00002.safetensors",
|
653 |
+
"model.layers.9.input_layernorm.weight": "model-00001-of-00002.safetensors",
|
654 |
+
"model.layers.9.mlp.fc1.bias": "model-00001-of-00002.safetensors",
|
655 |
+
"model.layers.9.mlp.fc1.weight": "model-00001-of-00002.safetensors",
|
656 |
+
"model.layers.9.mlp.fc2.bias": "model-00001-of-00002.safetensors",
|
657 |
+
"model.layers.9.mlp.fc2.weight": "model-00001-of-00002.safetensors",
|
658 |
+
"model.layers.9.self_attn.dense.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
659 |
+
"model.layers.9.self_attn.dense.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
660 |
+
"model.layers.9.self_attn.dense.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
661 |
+
"model.layers.9.self_attn.dense.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
662 |
+
"model.layers.9.self_attn.dense.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
663 |
+
"model.layers.9.self_attn.k_proj.bias": "model-00001-of-00002.safetensors",
|
664 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
|
665 |
+
"model.layers.9.self_attn.q_proj.ALinear_no_train.weight": "model-00001-of-00002.safetensors",
|
666 |
+
"model.layers.9.self_attn.q_proj.ALinear_train.bias": "model-00001-of-00002.safetensors",
|
667 |
+
"model.layers.9.self_attn.q_proj.ALinear_train.weight": "model-00001-of-00002.safetensors",
|
668 |
+
"model.layers.9.self_attn.q_proj.BLinear_no_train.weight": "model-00001-of-00002.safetensors",
|
669 |
+
"model.layers.9.self_attn.q_proj.BLinear_train.weight": "model-00001-of-00002.safetensors",
|
670 |
+
"model.layers.9.self_attn.v_proj.bias": "model-00001-of-00002.safetensors",
|
671 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-00002.safetensors"
|
672 |
+
}
|
673 |
+
}
|
modeling_asvd_phi.py
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import PhiForCausalLM
|
2 |
+
from .configuration_asvd_phi import ASVDPhiConfig
|
3 |
+
import torch.nn as nn
|
4 |
+
|
5 |
+
|
6 |
+
class ASVDLinear(nn.Module):
|
7 |
+
def __init__(self, in_features, out_features, rank, train_frac_beta=0.2, bias=None):
|
8 |
+
super().__init__()
|
9 |
+
# self.BLinear = nn.Linear(in_features, rank, bias=False)
|
10 |
+
# self.ALinear = nn.Linear(rank, out_features, bias=bias)
|
11 |
+
self.BLinear_no_train = nn.Linear(in_features, rank[0], bias=False)
|
12 |
+
self.BLinear_train = nn.Linear(in_features, rank[1], bias=False)
|
13 |
+
self.ALinear_no_train = nn.Linear(rank[0], out_features, bias=False)
|
14 |
+
self.ALinear_train = nn.Linear(rank[1], out_features, bias=bias is not None)
|
15 |
+
|
16 |
+
# Gradients for no-train weights should be disabled
|
17 |
+
self.BLinear_no_train.weight.requires_grad = False
|
18 |
+
self.ALinear_no_train.weight.requires_grad = False
|
19 |
+
|
20 |
+
def forward(self, input):
|
21 |
+
# return self.ALinear(self.BLinear(input))
|
22 |
+
y_no_train = self.BLinear_no_train(input)
|
23 |
+
y_no_train = self.ALinear_no_train(y_no_train)
|
24 |
+
y_train = self.BLinear_train(input)
|
25 |
+
y_train = self.ALinear_train(y_train)
|
26 |
+
y = y_no_train + y_train
|
27 |
+
return y
|
28 |
+
|
29 |
+
|
30 |
+
class ASVDPhiForCausalLM(PhiForCausalLM):
|
31 |
+
config_class = ASVDPhiConfig
|
32 |
+
|
33 |
+
def __init__(self, config: ASVDPhiConfig):
|
34 |
+
super().__init__(config)
|
35 |
+
self.truncation_ranks = config.truncation_ranks
|
36 |
+
|
37 |
+
full_name_dict = {module: name for name, module in self.named_modules()}
|
38 |
+
linear_info = {}
|
39 |
+
modules = [self]
|
40 |
+
while len(modules) > 0:
|
41 |
+
submodule = modules.pop()
|
42 |
+
for name, raw_linear in submodule.named_children():
|
43 |
+
if isinstance(raw_linear, nn.Linear):
|
44 |
+
full_name = full_name_dict[raw_linear]
|
45 |
+
linear_info[raw_linear] = {
|
46 |
+
"father": submodule,
|
47 |
+
"name": name,
|
48 |
+
"full_name": full_name,
|
49 |
+
}
|
50 |
+
else:
|
51 |
+
modules.append(raw_linear)
|
52 |
+
|
53 |
+
for name, module in self.named_modules():
|
54 |
+
if name in self.truncation_ranks:
|
55 |
+
info = linear_info[module]
|
56 |
+
new_layer = ASVDLinear(
|
57 |
+
module.in_features, module.out_features, self.truncation_ranks[name], bias=module.bias is not None
|
58 |
+
)
|
59 |
+
setattr(info["father"], info["name"], new_layer)
|
60 |
+
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"50256": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"50257": {
|
13 |
+
"content": " ",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": false
|
19 |
+
},
|
20 |
+
"50258": {
|
21 |
+
"content": " ",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": false
|
27 |
+
},
|
28 |
+
"50259": {
|
29 |
+
"content": " ",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": false
|
35 |
+
},
|
36 |
+
"50260": {
|
37 |
+
"content": " ",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": false
|
43 |
+
},
|
44 |
+
"50261": {
|
45 |
+
"content": " ",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": false
|
51 |
+
},
|
52 |
+
"50262": {
|
53 |
+
"content": " ",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": true,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": false
|
59 |
+
},
|
60 |
+
"50263": {
|
61 |
+
"content": " ",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": true,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": false
|
67 |
+
},
|
68 |
+
"50264": {
|
69 |
+
"content": " ",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": true,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": false
|
75 |
+
},
|
76 |
+
"50265": {
|
77 |
+
"content": " ",
|
78 |
+
"lstrip": false,
|
79 |
+
"normalized": true,
|
80 |
+
"rstrip": false,
|
81 |
+
"single_word": false,
|
82 |
+
"special": false
|
83 |
+
},
|
84 |
+
"50266": {
|
85 |
+
"content": " ",
|
86 |
+
"lstrip": false,
|
87 |
+
"normalized": true,
|
88 |
+
"rstrip": false,
|
89 |
+
"single_word": false,
|
90 |
+
"special": false
|
91 |
+
},
|
92 |
+
"50267": {
|
93 |
+
"content": " ",
|
94 |
+
"lstrip": false,
|
95 |
+
"normalized": true,
|
96 |
+
"rstrip": false,
|
97 |
+
"single_word": false,
|
98 |
+
"special": false
|
99 |
+
},
|
100 |
+
"50268": {
|
101 |
+
"content": " ",
|
102 |
+
"lstrip": false,
|
103 |
+
"normalized": true,
|
104 |
+
"rstrip": false,
|
105 |
+
"single_word": false,
|
106 |
+
"special": false
|
107 |
+
},
|
108 |
+
"50269": {
|
109 |
+
"content": " ",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": true,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false,
|
114 |
+
"special": false
|
115 |
+
},
|
116 |
+
"50270": {
|
117 |
+
"content": " ",
|
118 |
+
"lstrip": false,
|
119 |
+
"normalized": true,
|
120 |
+
"rstrip": false,
|
121 |
+
"single_word": false,
|
122 |
+
"special": false
|
123 |
+
},
|
124 |
+
"50271": {
|
125 |
+
"content": " ",
|
126 |
+
"lstrip": false,
|
127 |
+
"normalized": true,
|
128 |
+
"rstrip": false,
|
129 |
+
"single_word": false,
|
130 |
+
"special": false
|
131 |
+
},
|
132 |
+
"50272": {
|
133 |
+
"content": " ",
|
134 |
+
"lstrip": false,
|
135 |
+
"normalized": true,
|
136 |
+
"rstrip": false,
|
137 |
+
"single_word": false,
|
138 |
+
"special": false
|
139 |
+
},
|
140 |
+
"50273": {
|
141 |
+
"content": " ",
|
142 |
+
"lstrip": false,
|
143 |
+
"normalized": true,
|
144 |
+
"rstrip": false,
|
145 |
+
"single_word": false,
|
146 |
+
"special": false
|
147 |
+
},
|
148 |
+
"50274": {
|
149 |
+
"content": " ",
|
150 |
+
"lstrip": false,
|
151 |
+
"normalized": true,
|
152 |
+
"rstrip": false,
|
153 |
+
"single_word": false,
|
154 |
+
"special": false
|
155 |
+
},
|
156 |
+
"50275": {
|
157 |
+
"content": " ",
|
158 |
+
"lstrip": false,
|
159 |
+
"normalized": true,
|
160 |
+
"rstrip": false,
|
161 |
+
"single_word": false,
|
162 |
+
"special": false
|
163 |
+
},
|
164 |
+
"50276": {
|
165 |
+
"content": " ",
|
166 |
+
"lstrip": false,
|
167 |
+
"normalized": true,
|
168 |
+
"rstrip": false,
|
169 |
+
"single_word": false,
|
170 |
+
"special": false
|
171 |
+
},
|
172 |
+
"50277": {
|
173 |
+
"content": " ",
|
174 |
+
"lstrip": false,
|
175 |
+
"normalized": true,
|
176 |
+
"rstrip": false,
|
177 |
+
"single_word": false,
|
178 |
+
"special": false
|
179 |
+
},
|
180 |
+
"50278": {
|
181 |
+
"content": " ",
|
182 |
+
"lstrip": false,
|
183 |
+
"normalized": true,
|
184 |
+
"rstrip": false,
|
185 |
+
"single_word": false,
|
186 |
+
"special": false
|
187 |
+
},
|
188 |
+
"50279": {
|
189 |
+
"content": " ",
|
190 |
+
"lstrip": false,
|
191 |
+
"normalized": true,
|
192 |
+
"rstrip": false,
|
193 |
+
"single_word": false,
|
194 |
+
"special": false
|
195 |
+
},
|
196 |
+
"50280": {
|
197 |
+
"content": " ",
|
198 |
+
"lstrip": false,
|
199 |
+
"normalized": true,
|
200 |
+
"rstrip": false,
|
201 |
+
"single_word": false,
|
202 |
+
"special": false
|
203 |
+
},
|
204 |
+
"50281": {
|
205 |
+
"content": " ",
|
206 |
+
"lstrip": false,
|
207 |
+
"normalized": true,
|
208 |
+
"rstrip": false,
|
209 |
+
"single_word": false,
|
210 |
+
"special": false
|
211 |
+
},
|
212 |
+
"50282": {
|
213 |
+
"content": " ",
|
214 |
+
"lstrip": false,
|
215 |
+
"normalized": true,
|
216 |
+
"rstrip": false,
|
217 |
+
"single_word": false,
|
218 |
+
"special": false
|
219 |
+
},
|
220 |
+
"50283": {
|
221 |
+
"content": " ",
|
222 |
+
"lstrip": false,
|
223 |
+
"normalized": true,
|
224 |
+
"rstrip": false,
|
225 |
+
"single_word": false,
|
226 |
+
"special": false
|
227 |
+
},
|
228 |
+
"50284": {
|
229 |
+
"content": " ",
|
230 |
+
"lstrip": false,
|
231 |
+
"normalized": true,
|
232 |
+
"rstrip": false,
|
233 |
+
"single_word": false,
|
234 |
+
"special": false
|
235 |
+
},
|
236 |
+
"50285": {
|
237 |
+
"content": " ",
|
238 |
+
"lstrip": false,
|
239 |
+
"normalized": true,
|
240 |
+
"rstrip": false,
|
241 |
+
"single_word": false,
|
242 |
+
"special": false
|
243 |
+
},
|
244 |
+
"50286": {
|
245 |
+
"content": " ",
|
246 |
+
"lstrip": false,
|
247 |
+
"normalized": true,
|
248 |
+
"rstrip": false,
|
249 |
+
"single_word": false,
|
250 |
+
"special": false
|
251 |
+
},
|
252 |
+
"50287": {
|
253 |
+
"content": "\t\t\t\t\t\t\t\t\t",
|
254 |
+
"lstrip": false,
|
255 |
+
"normalized": true,
|
256 |
+
"rstrip": false,
|
257 |
+
"single_word": false,
|
258 |
+
"special": false
|
259 |
+
},
|
260 |
+
"50288": {
|
261 |
+
"content": "\t\t\t\t\t\t\t\t",
|
262 |
+
"lstrip": false,
|
263 |
+
"normalized": true,
|
264 |
+
"rstrip": false,
|
265 |
+
"single_word": false,
|
266 |
+
"special": false
|
267 |
+
},
|
268 |
+
"50289": {
|
269 |
+
"content": "\t\t\t\t\t\t\t",
|
270 |
+
"lstrip": false,
|
271 |
+
"normalized": true,
|
272 |
+
"rstrip": false,
|
273 |
+
"single_word": false,
|
274 |
+
"special": false
|
275 |
+
},
|
276 |
+
"50290": {
|
277 |
+
"content": "\t\t\t\t\t\t",
|
278 |
+
"lstrip": false,
|
279 |
+
"normalized": true,
|
280 |
+
"rstrip": false,
|
281 |
+
"single_word": false,
|
282 |
+
"special": false
|
283 |
+
},
|
284 |
+
"50291": {
|
285 |
+
"content": "\t\t\t\t\t",
|
286 |
+
"lstrip": false,
|
287 |
+
"normalized": true,
|
288 |
+
"rstrip": false,
|
289 |
+
"single_word": false,
|
290 |
+
"special": false
|
291 |
+
},
|
292 |
+
"50292": {
|
293 |
+
"content": "\t\t\t\t",
|
294 |
+
"lstrip": false,
|
295 |
+
"normalized": true,
|
296 |
+
"rstrip": false,
|
297 |
+
"single_word": false,
|
298 |
+
"special": false
|
299 |
+
},
|
300 |
+
"50293": {
|
301 |
+
"content": "\t\t\t",
|
302 |
+
"lstrip": false,
|
303 |
+
"normalized": true,
|
304 |
+
"rstrip": false,
|
305 |
+
"single_word": false,
|
306 |
+
"special": false
|
307 |
+
},
|
308 |
+
"50294": {
|
309 |
+
"content": "\t\t",
|
310 |
+
"lstrip": false,
|
311 |
+
"normalized": true,
|
312 |
+
"rstrip": false,
|
313 |
+
"single_word": false,
|
314 |
+
"special": false
|
315 |
+
}
|
316 |
+
},
|
317 |
+
"bos_token": "<|endoftext|>",
|
318 |
+
"clean_up_tokenization_spaces": true,
|
319 |
+
"eos_token": "<|endoftext|>",
|
320 |
+
"model_max_length": 2048,
|
321 |
+
"pad_token": "<|endoftext|>",
|
322 |
+
"return_token_type_ids": false,
|
323 |
+
"tokenizer_class": "CodeGenTokenizer",
|
324 |
+
"unk_token": "<|endoftext|>"
|
325 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|