Adding `safetensors` variant of this model
#1
by SFconvertbot - opened
- modeling_alinlight.py +18 -8
- pytorch_model.bin.index.json +209 -0
modeling_alinlight.py
CHANGED
|
@@ -13,9 +13,6 @@
|
|
| 13 |
# See the License for the specific language governing permissions and
|
| 14 |
# limitations under the License.
|
| 15 |
|
| 16 |
-
# -*- coding: utf-8 -*-
|
| 17 |
-
# Copyright 2026 EngineerGL Research.
|
| 18 |
-
|
| 19 |
import math
|
| 20 |
import torch
|
| 21 |
import torch.nn as nn
|
|
@@ -44,6 +41,7 @@ class AlinlightPreTrainedModel(PreTrainedModel):
|
|
| 44 |
def _init_weights(self, module):
|
| 45 |
std = self.config.initializer_range
|
| 46 |
if isinstance(module, nn.Linear):
|
|
|
|
| 47 |
if getattr(module, '_is_residual_projection', False):
|
| 48 |
module.weight.data.normal_(mean=0.0, std=std / math.sqrt(2 * self.config.num_hidden_layers))
|
| 49 |
else:
|
|
@@ -136,15 +134,19 @@ class AlinlightMLP(nn.Module):
|
|
| 136 |
self.up_proj = nn.Linear(self.hidden_size, self.intermediate_size, bias=False)
|
| 137 |
self.down_proj = nn.Linear(self.intermediate_size, self.hidden_size, bias=False)
|
| 138 |
self.act_fn = nn.SiLU()
|
|
|
|
| 139 |
|
|
|
|
| 140 |
self.down_proj._is_residual_projection = True
|
| 141 |
|
| 142 |
def forward(self, x):
|
| 143 |
-
|
|
|
|
|
|
|
| 144 |
|
| 145 |
|
| 146 |
# ==========================================
|
| 147 |
-
# 3. ATTENTION
|
| 148 |
# ==========================================
|
| 149 |
|
| 150 |
class AlinlightAttention(nn.Module):
|
|
@@ -209,7 +211,8 @@ class AlinlightAttention(nn.Module):
|
|
| 209 |
key_states = torch.cat([past_key_value[0], key_states], dim=2)
|
| 210 |
value_states = torch.cat([past_key_value[1], value_states], dim=2)
|
| 211 |
|
| 212 |
-
|
|
|
|
| 213 |
|
| 214 |
if self.sliding_window is not None and kv_seq_len > self.sliding_window:
|
| 215 |
slicing_tokens = kv_seq_len - self.sliding_window
|
|
@@ -221,12 +224,12 @@ class AlinlightAttention(nn.Module):
|
|
| 221 |
|
| 222 |
past_key_value = (key_states, value_states) if use_cache else None
|
| 223 |
|
| 224 |
-
#
|
| 225 |
if self.num_key_value_groups > 1:
|
| 226 |
key_states = key_states.repeat_interleave(self.num_key_value_groups, dim=1)
|
| 227 |
value_states = value_states.repeat_interleave(self.num_key_value_groups, dim=1)
|
| 228 |
|
| 229 |
-
#
|
| 230 |
attn_weights = None
|
| 231 |
|
| 232 |
if output_attentions or self.attn_logit_softcapping is not None:
|
|
@@ -239,7 +242,9 @@ class AlinlightAttention(nn.Module):
|
|
| 239 |
attn_weights = attn_weights + attention_mask
|
| 240 |
|
| 241 |
attn_weights = F.softmax(attn_weights, dim=-1, dtype=torch.float32).to(query_states.dtype)
|
|
|
|
| 242 |
attn_weights_for_output = attn_weights if output_attentions else None
|
|
|
|
| 243 |
attn_weights_dropped = F.dropout(attn_weights, p=self.attention_dropout, training=self.training)
|
| 244 |
attn_output = torch.matmul(attn_weights_dropped, value_states)
|
| 245 |
else:
|
|
@@ -312,6 +317,7 @@ class AlinlightModel(AlinlightPreTrainedModel):
|
|
| 312 |
self.vocab_size = config.vocab_size
|
| 313 |
|
| 314 |
self.embed_tokens = nn.Embedding(config.vocab_size, config.hidden_size, self.padding_idx)
|
|
|
|
| 315 |
self.embed_scale = math.sqrt(config.hidden_size) if getattr(config, 'embed_scale', False) else 1.0
|
| 316 |
|
| 317 |
embed_pdrop = getattr(config, 'embed_pdrop', 0.0)
|
|
@@ -386,6 +392,7 @@ class AlinlightModel(AlinlightPreTrainedModel):
|
|
| 386 |
use_cache = use_cache if use_cache is not None else self.config.use_cache
|
| 387 |
return_dict = return_dict if return_dict is not None else self.config.use_return_dict
|
| 388 |
|
|
|
|
| 389 |
if self.gradient_checkpointing and self.training:
|
| 390 |
if use_cache:
|
| 391 |
logger.warning_once(
|
|
@@ -430,6 +437,7 @@ class AlinlightModel(AlinlightPreTrainedModel):
|
|
| 430 |
if self.gradient_checkpointing and self.training:
|
| 431 |
def create_custom_forward(module):
|
| 432 |
def custom_forward(*inputs):
|
|
|
|
| 433 |
return module(*inputs, output_attentions=output_attentions, use_cache=False, rotary_pos_emb=(cos, sin))
|
| 434 |
return custom_forward
|
| 435 |
|
|
@@ -490,6 +498,8 @@ class AlinlightForCausalLM(AlinlightPreTrainedModel, GenerationMixin):
|
|
| 490 |
if config.tie_word_embeddings:
|
| 491 |
self.lm_head.weight = self.model.embed_tokens.weight
|
| 492 |
|
|
|
|
|
|
|
| 493 |
self.post_init()
|
| 494 |
|
| 495 |
def get_input_embeddings(self): return self.model.embed_tokens
|
|
|
|
| 13 |
# See the License for the specific language governing permissions and
|
| 14 |
# limitations under the License.
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
import math
|
| 17 |
import torch
|
| 18 |
import torch.nn as nn
|
|
|
|
| 41 |
def _init_weights(self, module):
|
| 42 |
std = self.config.initializer_range
|
| 43 |
if isinstance(module, nn.Linear):
|
| 44 |
+
# Scale down residual projections to improve training stability at depth
|
| 45 |
if getattr(module, '_is_residual_projection', False):
|
| 46 |
module.weight.data.normal_(mean=0.0, std=std / math.sqrt(2 * self.config.num_hidden_layers))
|
| 47 |
else:
|
|
|
|
| 134 |
self.up_proj = nn.Linear(self.hidden_size, self.intermediate_size, bias=False)
|
| 135 |
self.down_proj = nn.Linear(self.intermediate_size, self.hidden_size, bias=False)
|
| 136 |
self.act_fn = nn.SiLU()
|
| 137 |
+
self.pre_down_norm = AlinlightRMSNorm(self.intermediate_size, eps=config.rms_norm_eps)
|
| 138 |
|
| 139 |
+
# Tag for specialized initialization
|
| 140 |
self.down_proj._is_residual_projection = True
|
| 141 |
|
| 142 |
def forward(self, x):
|
| 143 |
+
intermediate = self.act_fn(self.gate_proj(x)) * self.up_proj(x)
|
| 144 |
+
intermediate = self.pre_down_norm(intermediate)
|
| 145 |
+
return self.down_proj(intermediate)
|
| 146 |
|
| 147 |
|
| 148 |
# ==========================================
|
| 149 |
+
# 3. ATTENTION
|
| 150 |
# ==========================================
|
| 151 |
|
| 152 |
class AlinlightAttention(nn.Module):
|
|
|
|
| 211 |
key_states = torch.cat([past_key_value[0], key_states], dim=2)
|
| 212 |
value_states = torch.cat([past_key_value[1], value_states], dim=2)
|
| 213 |
|
| 214 |
+
# 3. Sliding Window (Slicing)
|
| 215 |
+
kv_seq_len = key_states.shape[2] # NOTE: This is the length BEFORE slicing
|
| 216 |
|
| 217 |
if self.sliding_window is not None and kv_seq_len > self.sliding_window:
|
| 218 |
slicing_tokens = kv_seq_len - self.sliding_window
|
|
|
|
| 224 |
|
| 225 |
past_key_value = (key_states, value_states) if use_cache else None
|
| 226 |
|
| 227 |
+
# 4. GQA Repeat
|
| 228 |
if self.num_key_value_groups > 1:
|
| 229 |
key_states = key_states.repeat_interleave(self.num_key_value_groups, dim=1)
|
| 230 |
value_states = value_states.repeat_interleave(self.num_key_value_groups, dim=1)
|
| 231 |
|
| 232 |
+
# 5. Attention Mechanism
|
| 233 |
attn_weights = None
|
| 234 |
|
| 235 |
if output_attentions or self.attn_logit_softcapping is not None:
|
|
|
|
| 242 |
attn_weights = attn_weights + attention_mask
|
| 243 |
|
| 244 |
attn_weights = F.softmax(attn_weights, dim=-1, dtype=torch.float32).to(query_states.dtype)
|
| 245 |
+
|
| 246 |
attn_weights_for_output = attn_weights if output_attentions else None
|
| 247 |
+
|
| 248 |
attn_weights_dropped = F.dropout(attn_weights, p=self.attention_dropout, training=self.training)
|
| 249 |
attn_output = torch.matmul(attn_weights_dropped, value_states)
|
| 250 |
else:
|
|
|
|
| 317 |
self.vocab_size = config.vocab_size
|
| 318 |
|
| 319 |
self.embed_tokens = nn.Embedding(config.vocab_size, config.hidden_size, self.padding_idx)
|
| 320 |
+
|
| 321 |
self.embed_scale = math.sqrt(config.hidden_size) if getattr(config, 'embed_scale', False) else 1.0
|
| 322 |
|
| 323 |
embed_pdrop = getattr(config, 'embed_pdrop', 0.0)
|
|
|
|
| 392 |
use_cache = use_cache if use_cache is not None else self.config.use_cache
|
| 393 |
return_dict = return_dict if return_dict is not None else self.config.use_return_dict
|
| 394 |
|
| 395 |
+
# --- SAFETY CHECK FOR GRADIENT CHECKPOINTING ---
|
| 396 |
if self.gradient_checkpointing and self.training:
|
| 397 |
if use_cache:
|
| 398 |
logger.warning_once(
|
|
|
|
| 437 |
if self.gradient_checkpointing and self.training:
|
| 438 |
def create_custom_forward(module):
|
| 439 |
def custom_forward(*inputs):
|
| 440 |
+
# Force use_cache=False inside checkpoint to be safe
|
| 441 |
return module(*inputs, output_attentions=output_attentions, use_cache=False, rotary_pos_emb=(cos, sin))
|
| 442 |
return custom_forward
|
| 443 |
|
|
|
|
| 498 |
if config.tie_word_embeddings:
|
| 499 |
self.lm_head.weight = self.model.embed_tokens.weight
|
| 500 |
|
| 501 |
+
# Note: self.post_init() is called here, and inside AlinlightModel.
|
| 502 |
+
# This re-initialization is consistent with standard HF models (e.g. Llama).
|
| 503 |
self.post_init()
|
| 504 |
|
| 505 |
def get_input_embeddings(self): return self.model.embed_tokens
|
pytorch_model.bin.index.json
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_parameters": 1516333056,
|
| 4 |
+
"total_size": 3032666112
|
| 5 |
+
},
|
| 6 |
+
"weight_map": {
|
| 7 |
+
"lm_head.weight": "pytorch_model-00005-of-00006.bin",
|
| 8 |
+
"model.embed_tokens.weight": "pytorch_model-00001-of-00006.bin",
|
| 9 |
+
"model.layers.0.input_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 10 |
+
"model.layers.0.mlp.down_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 11 |
+
"model.layers.0.mlp.gate_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 12 |
+
"model.layers.0.mlp.up_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 13 |
+
"model.layers.0.post_attention_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 14 |
+
"model.layers.0.self_attn.k_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 15 |
+
"model.layers.0.self_attn.o_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 16 |
+
"model.layers.0.self_attn.q_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 17 |
+
"model.layers.0.self_attn.v_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 18 |
+
"model.layers.1.input_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 19 |
+
"model.layers.1.mlp.down_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 20 |
+
"model.layers.1.mlp.gate_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 21 |
+
"model.layers.1.mlp.up_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 22 |
+
"model.layers.1.post_attention_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 23 |
+
"model.layers.1.self_attn.k_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 24 |
+
"model.layers.1.self_attn.o_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 25 |
+
"model.layers.1.self_attn.q_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 26 |
+
"model.layers.1.self_attn.v_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 27 |
+
"model.layers.10.input_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 28 |
+
"model.layers.10.mlp.down_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 29 |
+
"model.layers.10.mlp.gate_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 30 |
+
"model.layers.10.mlp.up_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 31 |
+
"model.layers.10.post_attention_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 32 |
+
"model.layers.10.self_attn.k_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 33 |
+
"model.layers.10.self_attn.o_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 34 |
+
"model.layers.10.self_attn.q_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 35 |
+
"model.layers.10.self_attn.v_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 36 |
+
"model.layers.11.input_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 37 |
+
"model.layers.11.mlp.down_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 38 |
+
"model.layers.11.mlp.gate_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 39 |
+
"model.layers.11.mlp.up_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 40 |
+
"model.layers.11.post_attention_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 41 |
+
"model.layers.11.self_attn.k_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 42 |
+
"model.layers.11.self_attn.o_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 43 |
+
"model.layers.11.self_attn.q_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 44 |
+
"model.layers.11.self_attn.v_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 45 |
+
"model.layers.12.input_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 46 |
+
"model.layers.12.mlp.down_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 47 |
+
"model.layers.12.mlp.gate_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 48 |
+
"model.layers.12.mlp.up_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 49 |
+
"model.layers.12.post_attention_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 50 |
+
"model.layers.12.self_attn.k_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 51 |
+
"model.layers.12.self_attn.o_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 52 |
+
"model.layers.12.self_attn.q_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 53 |
+
"model.layers.12.self_attn.v_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 54 |
+
"model.layers.13.input_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 55 |
+
"model.layers.13.mlp.down_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 56 |
+
"model.layers.13.mlp.gate_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 57 |
+
"model.layers.13.mlp.up_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 58 |
+
"model.layers.13.post_attention_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 59 |
+
"model.layers.13.self_attn.k_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 60 |
+
"model.layers.13.self_attn.o_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 61 |
+
"model.layers.13.self_attn.q_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 62 |
+
"model.layers.13.self_attn.v_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 63 |
+
"model.layers.14.input_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 64 |
+
"model.layers.14.mlp.down_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 65 |
+
"model.layers.14.mlp.gate_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 66 |
+
"model.layers.14.mlp.up_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 67 |
+
"model.layers.14.post_attention_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 68 |
+
"model.layers.14.self_attn.k_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 69 |
+
"model.layers.14.self_attn.o_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 70 |
+
"model.layers.14.self_attn.q_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 71 |
+
"model.layers.14.self_attn.v_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 72 |
+
"model.layers.15.input_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 73 |
+
"model.layers.15.mlp.down_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 74 |
+
"model.layers.15.mlp.gate_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 75 |
+
"model.layers.15.mlp.up_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 76 |
+
"model.layers.15.post_attention_layernorm.weight": "pytorch_model-00004-of-00006.bin",
|
| 77 |
+
"model.layers.15.self_attn.k_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 78 |
+
"model.layers.15.self_attn.o_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 79 |
+
"model.layers.15.self_attn.q_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 80 |
+
"model.layers.15.self_attn.v_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 81 |
+
"model.layers.16.input_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 82 |
+
"model.layers.16.mlp.down_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 83 |
+
"model.layers.16.mlp.gate_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 84 |
+
"model.layers.16.mlp.up_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 85 |
+
"model.layers.16.post_attention_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 86 |
+
"model.layers.16.self_attn.k_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 87 |
+
"model.layers.16.self_attn.o_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 88 |
+
"model.layers.16.self_attn.q_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 89 |
+
"model.layers.16.self_attn.v_proj.weight": "pytorch_model-00004-of-00006.bin",
|
| 90 |
+
"model.layers.17.input_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 91 |
+
"model.layers.17.mlp.down_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 92 |
+
"model.layers.17.mlp.gate_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 93 |
+
"model.layers.17.mlp.up_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 94 |
+
"model.layers.17.post_attention_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 95 |
+
"model.layers.17.self_attn.k_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 96 |
+
"model.layers.17.self_attn.o_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 97 |
+
"model.layers.17.self_attn.q_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 98 |
+
"model.layers.17.self_attn.v_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 99 |
+
"model.layers.18.input_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 100 |
+
"model.layers.18.mlp.down_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 101 |
+
"model.layers.18.mlp.gate_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 102 |
+
"model.layers.18.mlp.up_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 103 |
+
"model.layers.18.post_attention_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 104 |
+
"model.layers.18.self_attn.k_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 105 |
+
"model.layers.18.self_attn.o_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 106 |
+
"model.layers.18.self_attn.q_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 107 |
+
"model.layers.18.self_attn.v_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 108 |
+
"model.layers.19.input_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 109 |
+
"model.layers.19.mlp.down_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 110 |
+
"model.layers.19.mlp.gate_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 111 |
+
"model.layers.19.mlp.up_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 112 |
+
"model.layers.19.post_attention_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 113 |
+
"model.layers.19.self_attn.k_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 114 |
+
"model.layers.19.self_attn.o_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 115 |
+
"model.layers.19.self_attn.q_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 116 |
+
"model.layers.19.self_attn.v_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 117 |
+
"model.layers.2.input_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 118 |
+
"model.layers.2.mlp.down_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 119 |
+
"model.layers.2.mlp.gate_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 120 |
+
"model.layers.2.mlp.up_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 121 |
+
"model.layers.2.post_attention_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 122 |
+
"model.layers.2.self_attn.k_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 123 |
+
"model.layers.2.self_attn.o_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 124 |
+
"model.layers.2.self_attn.q_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 125 |
+
"model.layers.2.self_attn.v_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 126 |
+
"model.layers.20.input_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 127 |
+
"model.layers.20.mlp.down_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 128 |
+
"model.layers.20.mlp.gate_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 129 |
+
"model.layers.20.mlp.up_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 130 |
+
"model.layers.20.post_attention_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 131 |
+
"model.layers.20.self_attn.k_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 132 |
+
"model.layers.20.self_attn.o_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 133 |
+
"model.layers.20.self_attn.q_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 134 |
+
"model.layers.20.self_attn.v_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 135 |
+
"model.layers.21.input_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 136 |
+
"model.layers.21.mlp.down_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 137 |
+
"model.layers.21.mlp.gate_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 138 |
+
"model.layers.21.mlp.up_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 139 |
+
"model.layers.21.post_attention_layernorm.weight": "pytorch_model-00006-of-00006.bin",
|
| 140 |
+
"model.layers.21.self_attn.k_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 141 |
+
"model.layers.21.self_attn.o_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 142 |
+
"model.layers.21.self_attn.q_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 143 |
+
"model.layers.21.self_attn.v_proj.weight": "pytorch_model-00006-of-00006.bin",
|
| 144 |
+
"model.layers.3.input_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 145 |
+
"model.layers.3.mlp.down_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 146 |
+
"model.layers.3.mlp.gate_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 147 |
+
"model.layers.3.mlp.up_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 148 |
+
"model.layers.3.post_attention_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 149 |
+
"model.layers.3.self_attn.k_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 150 |
+
"model.layers.3.self_attn.o_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 151 |
+
"model.layers.3.self_attn.q_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 152 |
+
"model.layers.3.self_attn.v_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 153 |
+
"model.layers.4.input_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 154 |
+
"model.layers.4.mlp.down_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 155 |
+
"model.layers.4.mlp.gate_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 156 |
+
"model.layers.4.mlp.up_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 157 |
+
"model.layers.4.post_attention_layernorm.weight": "pytorch_model-00002-of-00006.bin",
|
| 158 |
+
"model.layers.4.self_attn.k_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 159 |
+
"model.layers.4.self_attn.o_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 160 |
+
"model.layers.4.self_attn.q_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 161 |
+
"model.layers.4.self_attn.v_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 162 |
+
"model.layers.5.input_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 163 |
+
"model.layers.5.mlp.down_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 164 |
+
"model.layers.5.mlp.gate_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 165 |
+
"model.layers.5.mlp.up_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 166 |
+
"model.layers.5.post_attention_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 167 |
+
"model.layers.5.self_attn.k_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 168 |
+
"model.layers.5.self_attn.o_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 169 |
+
"model.layers.5.self_attn.q_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 170 |
+
"model.layers.5.self_attn.v_proj.weight": "pytorch_model-00002-of-00006.bin",
|
| 171 |
+
"model.layers.6.input_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 172 |
+
"model.layers.6.mlp.down_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 173 |
+
"model.layers.6.mlp.gate_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 174 |
+
"model.layers.6.mlp.up_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 175 |
+
"model.layers.6.post_attention_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 176 |
+
"model.layers.6.self_attn.k_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 177 |
+
"model.layers.6.self_attn.o_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 178 |
+
"model.layers.6.self_attn.q_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 179 |
+
"model.layers.6.self_attn.v_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 180 |
+
"model.layers.7.input_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 181 |
+
"model.layers.7.mlp.down_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 182 |
+
"model.layers.7.mlp.gate_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 183 |
+
"model.layers.7.mlp.up_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 184 |
+
"model.layers.7.post_attention_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 185 |
+
"model.layers.7.self_attn.k_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 186 |
+
"model.layers.7.self_attn.o_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 187 |
+
"model.layers.7.self_attn.q_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 188 |
+
"model.layers.7.self_attn.v_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 189 |
+
"model.layers.8.input_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 190 |
+
"model.layers.8.mlp.down_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 191 |
+
"model.layers.8.mlp.gate_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 192 |
+
"model.layers.8.mlp.up_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 193 |
+
"model.layers.8.post_attention_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 194 |
+
"model.layers.8.self_attn.k_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 195 |
+
"model.layers.8.self_attn.o_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 196 |
+
"model.layers.8.self_attn.q_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 197 |
+
"model.layers.8.self_attn.v_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 198 |
+
"model.layers.9.input_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 199 |
+
"model.layers.9.mlp.down_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 200 |
+
"model.layers.9.mlp.gate_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 201 |
+
"model.layers.9.mlp.up_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 202 |
+
"model.layers.9.post_attention_layernorm.weight": "pytorch_model-00003-of-00006.bin",
|
| 203 |
+
"model.layers.9.self_attn.k_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 204 |
+
"model.layers.9.self_attn.o_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 205 |
+
"model.layers.9.self_attn.q_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 206 |
+
"model.layers.9.self_attn.v_proj.weight": "pytorch_model-00003-of-00006.bin",
|
| 207 |
+
"model.norm.weight": "pytorch_model-00006-of-00006.bin"
|
| 208 |
+
}
|
| 209 |
+
}
|