Upload model
Browse files- BranchyModel.py +224 -233
- model-00001-of-00003.safetensors +2 -2
- model-00002-of-00003.safetensors +2 -2
- model-00003-of-00003.safetensors +2 -2
- model.safetensors.index.json +469 -469
BranchyModel.py
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
|
|
|
|
|
|
|
| 2 |
import torch
|
| 3 |
import logging
|
| 4 |
import torch.nn as nn
|
|
@@ -13,7 +15,10 @@ from transformers import AutoModelForCausalLM, PreTrainedModel
|
|
| 13 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
| 14 |
from transformers.utils import ModelOutput
|
| 15 |
from transformers.cache_utils import Cache, DynamicCache
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
| 17 |
logging.basicConfig(level=logging.INFO)
|
| 18 |
logger = logging.getLogger(__name__)
|
| 19 |
|
|
@@ -85,236 +90,55 @@ class Branch(nn.Module):
|
|
| 85 |
return x
|
| 86 |
|
| 87 |
|
| 88 |
-
class
|
| 89 |
-
"""
|
| 90 |
-
A wrapper class for transformer causal models, introducing branch functionality to enable conditional computation and
|
| 91 |
-
reduce computational load by selectively processing parts of the input through different branches.
|
| 92 |
-
|
| 93 |
-
The BranchyModel class allows for the addition of branches at specified layers within the transformer model. Each branch
|
| 94 |
-
can output predictions independently, enabling early exits or auxiliary tasks. This class supports different loss
|
| 95 |
-
functions for training these branches in a self-supervised manner, with optional penalties to encourage diversity
|
| 96 |
-
or reduce complexity in the branches' outputs.
|
| 97 |
-
|
| 98 |
-
Parameters:
|
| 99 |
-
config (BranchyModelConfig): Configuration class for BranchyModel. It contains all necessary parameters for
|
| 100 |
-
the model's architecture, branching locations, loss types, etc.
|
| 101 |
-
model (PreTrainedModel): The underlying transformer model around which the BranchyModel is built. This model
|
| 102 |
-
should be an instance of a class derived from `transformers.PreTrainedModel`.
|
| 103 |
-
|
| 104 |
-
Attributes:
|
| 105 |
-
model (PreTrainedModel): The underlying transformer model provided during initialization.
|
| 106 |
-
branch_locations (List[int]): Indices indicating the transformer layers after which branches are added.
|
| 107 |
-
penalty_weight (Optional[float]): The weight of the penalty term in the "penalized_cross_entropy" loss. This
|
| 108 |
-
argument must be provided and greater than 0 if "penalized_cross_entropy" is used.
|
| 109 |
-
window_size (int): The size of the token window that each branch processes. This allows branches to only
|
| 110 |
-
consider a subset of the most recent tokens, reducing the computational requirements.
|
| 111 |
-
|
| 112 |
-
Examples:
|
| 113 |
-
config = BranchyModelConfig(
|
| 114 |
-
branch_locations=[2, 4, 7],
|
| 115 |
-
window_size=256
|
| 116 |
-
)
|
| 117 |
-
underlying_model = AutoModelForCausalLM.from_pretrained('gpt2')
|
| 118 |
-
branchy_model = BranchyModel(config, underlying_model)
|
| 119 |
-
|
| 120 |
-
# For inference
|
| 121 |
-
inputs = tokenizer("Example input text", return_tensors="pt")
|
| 122 |
-
outputs = branchy_model(**inputs, fixed_output_head=2) # Use the output from the branch after the 2nd layer
|
| 123 |
-
|
| 124 |
-
# For training with self-supervision
|
| 125 |
-
branchy_model.train()
|
| 126 |
-
outputs = branchy_model(**inputs, self_supervision=True)
|
| 127 |
-
|
| 128 |
-
Note:
|
| 129 |
-
This class is designed to work seamlessly with the Hugging Face Transformers library. It requires a model
|
| 130 |
-
configuration (`BranchyModelConfig`) that extends the base configuration class from the Transformers library.
|
| 131 |
"""
|
| 132 |
-
|
| 133 |
config_class = BranchyModelConfig
|
| 134 |
|
| 135 |
def __init__(self,
|
| 136 |
config: BranchyModelConfig):
|
| 137 |
-
"""
|
| 138 |
-
Initializes the BranchyModel.
|
| 139 |
-
Precisely: Get the number of layers in the underlying model, check that specified branch locations are within the range of the model's layers, and initialize branches at specified locations.
|
| 140 |
-
|
| 141 |
-
Args:
|
| 142 |
-
config (BranchyModelConfig): Configuration object for the branchy model, containing settings such as
|
| 143 |
-
branch locations, loss types, and window sizes.
|
| 144 |
-
model (PreTrainedModel): The underlying transformer model to which branching functionality will be added.
|
| 145 |
-
"""
|
| 146 |
super().__init__(config)
|
| 147 |
-
|
| 148 |
self.model = AutoModelForCausalLM.from_pretrained(config.model_str)
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
self.num_layers = (
|
| 154 |
self.model.config.n_layer
|
| 155 |
if hasattr(self.model.config, "n_layer")
|
| 156 |
else self.model.config.num_hidden_layers
|
| 157 |
)
|
| 158 |
assert self.num_layers is not None and self.num_layers > 0, "n_layer must be a positive integer."
|
| 159 |
-
logger.debug(f"Number of layers in the model: {self.num_layers}")
|
| 160 |
else:
|
| 161 |
raise ValueError("cannot find n_layer in config")
|
| 162 |
|
| 163 |
-
assert config.branch_number
|
| 164 |
-
|
| 165 |
# If we provide only the number of branches, we will distribute them evenly across the model
|
| 166 |
if config.branch_locations is None:
|
| 167 |
interval = self.num_layers // (config.branch_number + 1)
|
| 168 |
config.branch_locations = [i * interval for i in range(1, config.branch_number+1)]
|
| 169 |
-
|
| 170 |
# Check that specified branch locations are within the range of the model's layers
|
| 171 |
if any([loc >= self.num_layers for loc in config.branch_locations]):
|
| 172 |
raise ValueError("Branch location exceeds the number of layers in the model.")
|
| 173 |
-
|
| 174 |
-
# Ensure the model's parameters are frozen
|
| 175 |
-
for param in self.model.parameters():
|
| 176 |
-
param.requires_grad = False
|
| 177 |
-
|
| 178 |
-
# Initialize branches at specified locations
|
| 179 |
self.branches = torch.nn.ModuleList()
|
| 180 |
-
# if copy_lm_head is True, we copy the last lm_head of the model instead of initializing new ones
|
| 181 |
if config.copy_lm_head:
|
| 182 |
logger.info("Fine-tuning branches")
|
| 183 |
for branch in config.branch_locations:
|
| 184 |
-
self.branches.append(copy.deepcopy(self.
|
| 185 |
else:
|
| 186 |
for _ in config.branch_locations:
|
| 187 |
new_branch = Branch(self.model.config)
|
| 188 |
new_branch.apply(self.model._init_weights)
|
| 189 |
self.branches.append(new_branch)
|
| 190 |
-
|
| 191 |
-
for param in self.branches.parameters():
|
| 192 |
-
param.requires_grad = True
|
| 193 |
-
|
| 194 |
-
self.post_init()
|
| 195 |
-
|
| 196 |
-
def get_num_params(self,
|
| 197 |
-
return_dict: bool = True):
|
| 198 |
-
"""
|
| 199 |
-
Get the number of parameters in the model.
|
| 200 |
-
|
| 201 |
-
Args:
|
| 202 |
-
return_dict (bool): Whether to return the number of parameters in a dictionary format. Defaults to True.
|
| 203 |
-
|
| 204 |
-
Returns:
|
| 205 |
-
int: The number of parameters in the model.
|
| 206 |
-
"""
|
| 207 |
-
num_params = sum(p.numel() for p in self.parameters())
|
| 208 |
-
if return_dict:
|
| 209 |
-
return {"backbone": sum(p.numel() for p in self.model.parameters()), "branches": sum(p.numel() for p in self.branches.parameters()), "total": num_params}
|
| 210 |
-
return num_params
|
| 211 |
-
|
| 212 |
-
def forward(self,
|
| 213 |
-
input_ids: torch.LongTensor = None,
|
| 214 |
-
attention_mask: Optional[torch.Tensor] = None,
|
| 215 |
-
position_ids: Optional[torch.LongTensor] = None,
|
| 216 |
-
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
| 217 |
-
inputs_embeds: Optional[torch.FloatTensor] = None,
|
| 218 |
-
labels: Optional[torch.LongTensor] = None,
|
| 219 |
-
use_cache: Optional[bool] = None,
|
| 220 |
-
output_attentions: Optional[bool] = None,
|
| 221 |
-
output_hidden_states: Optional[bool] = None,
|
| 222 |
-
return_dict: Optional[bool] = None,
|
| 223 |
-
head_window_size: Optional[int] = None,
|
| 224 |
-
):
|
| 225 |
-
|
| 226 |
-
output_hidden_states = True
|
| 227 |
-
if labels is not None:
|
| 228 |
-
raise NotImplementedError("BranchyLLM only supports self-supervision")
|
| 229 |
-
outputs = self.model(
|
| 230 |
-
input_ids=input_ids,
|
| 231 |
-
attention_mask=attention_mask,
|
| 232 |
-
position_ids=position_ids,
|
| 233 |
-
past_key_values=past_key_values,
|
| 234 |
-
inputs_embeds=inputs_embeds,
|
| 235 |
-
use_cache=use_cache,
|
| 236 |
-
output_attentions=output_attentions,
|
| 237 |
-
output_hidden_states=output_hidden_states,
|
| 238 |
-
return_dict=return_dict,
|
| 239 |
-
)
|
| 240 |
-
|
| 241 |
-
if not hasattr(outputs, "hidden_states") or outputs.hidden_states is None:
|
| 242 |
-
raise ValueError("The model must return hidden states")
|
| 243 |
-
|
| 244 |
-
heads_logits = []
|
| 245 |
-
|
| 246 |
-
for i, branch in enumerate(self.config.branch_locations):
|
| 247 |
-
if head_window_size is not None:
|
| 248 |
-
current_hidden_state = outputs.hidden_states[branch, :, -head_window_size:, :]
|
| 249 |
-
else:
|
| 250 |
-
current_hidden_state = outputs.hidden_states[branch]
|
| 251 |
-
heads_logits.append(self.branches[i](current_hidden_state))
|
| 252 |
-
heads_logits = torch.stack(heads_logits, dim=0)
|
| 253 |
-
|
| 254 |
-
losses_dict = self.compute_self_supervision_loss(
|
| 255 |
-
heads_logits, outputs.logits
|
| 256 |
-
)
|
| 257 |
-
|
| 258 |
-
return CausalBranchyLLMOutputWithPast(
|
| 259 |
-
loss=losses_dict["loss"],
|
| 260 |
-
head_loss=losses_dict["head_losses"],
|
| 261 |
-
entropy=losses_dict["entropy"],
|
| 262 |
-
entropies=losses_dict["entropies"],
|
| 263 |
-
logits=outputs.logits, # shape (batch_size, seq_len, vocab_size)
|
| 264 |
-
head_logits=heads_logits, # shape (num_branches, batch_size, seq_len, vocab_size)
|
| 265 |
-
past_key_values=outputs.past_key_values,
|
| 266 |
-
hidden_states=outputs.hidden_states,
|
| 267 |
-
attentions=outputs.attentions,
|
| 268 |
-
)
|
| 269 |
-
|
| 270 |
-
def compute_self_supervision_loss(self,
|
| 271 |
-
aux_logits: torch.Tensor,
|
| 272 |
-
lm_logits: torch.Tensor,
|
| 273 |
-
) -> Dict[str, torch.Tensor]:
|
| 274 |
-
|
| 275 |
-
last_aux_logits = aux_logits[..., -1, :]
|
| 276 |
-
last_lm_logits = lm_logits[..., -1, :]
|
| 277 |
-
|
| 278 |
-
losses = []
|
| 279 |
-
entropies = []
|
| 280 |
-
# Can be useful to have detailed loss per head for comparison of performance
|
| 281 |
-
for head_logit in last_aux_logits:
|
| 282 |
-
ce_loss = nn.CrossEntropyLoss(reduction="mean")(
|
| 283 |
-
head_logit, torch.argmax(last_lm_logits, dim=-1)
|
| 284 |
-
)
|
| 285 |
-
probas = F.softmax(head_logit, dim=-1)
|
| 286 |
-
log_probas = torch.log(probas + 1e-8)
|
| 287 |
-
assert not torch.isnan(log_probas).any(), "NaNs found in log_probas"
|
| 288 |
-
entropy = -torch.sum(probas * log_probas, dim=-1)
|
| 289 |
-
assert not torch.isnan(entropy).any(), "NaNs found in entropy before mean"
|
| 290 |
-
entropy = torch.mean(entropy)
|
| 291 |
-
entropies.append(entropy)
|
| 292 |
-
losses.append((1 - self.config.penalty_weight) * ce_loss - self.config.penalty_weight * entropy)
|
| 293 |
-
|
| 294 |
-
loss = torch.stack(losses, dim=0).mean(dim=-1) # TODO does it change training dynamics between mean and sum?
|
| 295 |
-
entropy = torch.stack(entropies, dim=0).mean(dim=-1)
|
| 296 |
-
return {"loss": loss,
|
| 297 |
-
"head_losses": torch.stack(losses, dim=0),
|
| 298 |
-
"entropies": torch.stack(entropies, dim=0),
|
| 299 |
-
"entropy": entropy
|
| 300 |
-
}
|
| 301 |
|
| 302 |
-
|
| 303 |
-
"""A class for Causal branchy Model, this one integrate the early exit mechanism and only output one logit on each step as a conventional model.
|
| 304 |
-
"""
|
| 305 |
-
config_class = BranchyModelConfig
|
| 306 |
-
|
| 307 |
-
def __init__(self,
|
| 308 |
-
config: BranchyModelConfig):
|
| 309 |
-
super().__init__(config)
|
| 310 |
-
self.model = BranchyModel(config)
|
| 311 |
-
self.head_thresholds = torch.tensor(config.head_thresholds)
|
| 312 |
-
if config.confidence_metric == "breaking_ties":
|
| 313 |
-
self.confidence_metric_fn = breaking_ties
|
| 314 |
-
elif config.confidence_metric == "max":
|
| 315 |
-
self.confidence_metric_fn = lambda x: torch.max(x, dim=-1).values
|
| 316 |
-
else:
|
| 317 |
-
raise ValueError("confidence_metric must be 'breaking_ties' or 'max'.")
|
| 318 |
self.post_init()
|
| 319 |
|
| 320 |
def to(self, *args, **kwargs):
|
|
@@ -368,7 +192,7 @@ class BranchyCausalModel(PreTrainedModel):
|
|
| 368 |
model_inputs = {"inputs_embeds": inputs_embeds}
|
| 369 |
else:
|
| 370 |
model_inputs = {"input_ids": input_ids}
|
| 371 |
-
|
| 372 |
model_inputs.update(
|
| 373 |
{
|
| 374 |
"position_ids": position_ids,
|
|
@@ -377,55 +201,218 @@ class BranchyCausalModel(PreTrainedModel):
|
|
| 377 |
"attention_mask": attention_mask,
|
| 378 |
}
|
| 379 |
)
|
|
|
|
| 380 |
return model_inputs
|
| 381 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 382 |
def forward(self,
|
| 383 |
input_ids: torch.LongTensor = None,
|
| 384 |
attention_mask: Optional[torch.Tensor] = None,
|
| 385 |
position_ids: Optional[torch.LongTensor] = None,
|
| 386 |
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
| 387 |
inputs_embeds: Optional[torch.FloatTensor] = None,
|
| 388 |
-
labels: Optional[torch.LongTensor] = None,
|
| 389 |
use_cache: Optional[bool] = None,
|
| 390 |
output_attentions: Optional[bool] = None,
|
| 391 |
output_hidden_states: Optional[bool] = None,
|
| 392 |
return_dict: Optional[bool] = None,
|
| 393 |
head_window_size: Optional[int] = None,
|
| 394 |
):
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
attention_mask=attention_mask,
|
| 399 |
-
position_ids=position_ids,
|
| 400 |
-
past_key_values=past_key_values,
|
| 401 |
-
inputs_embeds=inputs_embeds,
|
| 402 |
-
labels=labels,
|
| 403 |
-
use_cache=use_cache,
|
| 404 |
-
output_attentions=output_attentions,
|
| 405 |
-
output_hidden_states=output_hidden_states,
|
| 406 |
-
return_dict=return_dict,
|
| 407 |
-
head_window_size=head_window_size
|
| 408 |
-
)
|
| 409 |
-
end_logits = None
|
| 410 |
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 415 |
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 421 |
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 428 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 429 |
)
|
| 430 |
|
| 431 |
@dataclass
|
|
@@ -439,7 +426,11 @@ class CausalBranchyLLMOutputWithPast(ModelOutput):
|
|
| 439 |
past_key_values: Optional[Tuple[Tuple[torch.FloatTensor]]] = None
|
| 440 |
hidden_states: Optional[Tuple[torch.FloatTensor]] = None
|
| 441 |
attentions: Optional[Tuple[torch.FloatTensor]] = None
|
|
|
|
| 442 |
|
| 443 |
@dataclass
|
| 444 |
-
class
|
| 445 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
+
from collections import OrderedDict
|
| 3 |
+
from hamcrest import is_
|
| 4 |
import torch
|
| 5 |
import logging
|
| 6 |
import torch.nn as nn
|
|
|
|
| 15 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
| 16 |
from transformers.utils import ModelOutput
|
| 17 |
from transformers.cache_utils import Cache, DynamicCache
|
| 18 |
+
from transformers.modeling_attn_mask_utils import (
|
| 19 |
+
_prepare_4d_causal_attention_mask,
|
| 20 |
+
_prepare_4d_causal_attention_mask_for_sdpa,
|
| 21 |
+
)
|
| 22 |
logging.basicConfig(level=logging.INFO)
|
| 23 |
logger = logging.getLogger(__name__)
|
| 24 |
|
|
|
|
| 90 |
return x
|
| 91 |
|
| 92 |
|
| 93 |
+
class BranchyCausalModel(PreTrainedModel):
|
| 94 |
+
"""A class for Causal branchy Model, this one integrate the early exit mechanism and only output one logit on each step as a conventional model.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
"""
|
|
|
|
| 96 |
config_class = BranchyModelConfig
|
| 97 |
|
| 98 |
def __init__(self,
|
| 99 |
config: BranchyModelConfig):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
super().__init__(config)
|
|
|
|
| 101 |
self.model = AutoModelForCausalLM.from_pretrained(config.model_str)
|
| 102 |
+
self.lm_head = self.model.lm_head
|
| 103 |
+
self.vocab_size = self.model.vocab_size
|
| 104 |
+
self.model = self.model.model
|
| 105 |
+
self.head_thresholds = torch.tensor(config.head_thresholds)
|
| 106 |
+
self.confidence_metric_fn = breaking_ties
|
| 107 |
+
|
| 108 |
+
# Get number of layer from main model
|
| 109 |
+
if hasattr(self.model.config, "n_layer") or hasattr(self.model.config, "num_hidden_layers"):
|
| 110 |
self.num_layers = (
|
| 111 |
self.model.config.n_layer
|
| 112 |
if hasattr(self.model.config, "n_layer")
|
| 113 |
else self.model.config.num_hidden_layers
|
| 114 |
)
|
| 115 |
assert self.num_layers is not None and self.num_layers > 0, "n_layer must be a positive integer."
|
|
|
|
| 116 |
else:
|
| 117 |
raise ValueError("cannot find n_layer in config")
|
| 118 |
|
| 119 |
+
assert config.branch_number < self.num_layers , "branch_number must be a positive integer less than the number of layers in the model."
|
| 120 |
+
|
| 121 |
# If we provide only the number of branches, we will distribute them evenly across the model
|
| 122 |
if config.branch_locations is None:
|
| 123 |
interval = self.num_layers // (config.branch_number + 1)
|
| 124 |
config.branch_locations = [i * interval for i in range(1, config.branch_number+1)]
|
| 125 |
+
|
| 126 |
# Check that specified branch locations are within the range of the model's layers
|
| 127 |
if any([loc >= self.num_layers for loc in config.branch_locations]):
|
| 128 |
raise ValueError("Branch location exceeds the number of layers in the model.")
|
| 129 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
self.branches = torch.nn.ModuleList()
|
|
|
|
| 131 |
if config.copy_lm_head:
|
| 132 |
logger.info("Fine-tuning branches")
|
| 133 |
for branch in config.branch_locations:
|
| 134 |
+
self.branches.append(copy.deepcopy(self.lm_head))
|
| 135 |
else:
|
| 136 |
for _ in config.branch_locations:
|
| 137 |
new_branch = Branch(self.model.config)
|
| 138 |
new_branch.apply(self.model._init_weights)
|
| 139 |
self.branches.append(new_branch)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
|
| 141 |
+
self.gradient_checkpointing = False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 142 |
self.post_init()
|
| 143 |
|
| 144 |
def to(self, *args, **kwargs):
|
|
|
|
| 192 |
model_inputs = {"inputs_embeds": inputs_embeds}
|
| 193 |
else:
|
| 194 |
model_inputs = {"input_ids": input_ids}
|
| 195 |
+
|
| 196 |
model_inputs.update(
|
| 197 |
{
|
| 198 |
"position_ids": position_ids,
|
|
|
|
| 201 |
"attention_mask": attention_mask,
|
| 202 |
}
|
| 203 |
)
|
| 204 |
+
|
| 205 |
return model_inputs
|
| 206 |
|
| 207 |
+
def model_pre_forward(self,
|
| 208 |
+
input_ids: torch.LongTensor = None,
|
| 209 |
+
attention_mask: Optional[torch.Tensor] = None,
|
| 210 |
+
position_ids: Optional[torch.LongTensor] = None,
|
| 211 |
+
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
| 212 |
+
inputs_embeds: Optional[torch.FloatTensor] = None,
|
| 213 |
+
use_cache: Optional[bool] = None,
|
| 214 |
+
output_attentions: Optional[bool] = None,
|
| 215 |
+
output_hidden_states: Optional[bool] = None,
|
| 216 |
+
return_dict: Optional[bool] = None,
|
| 217 |
+
):
|
| 218 |
+
output_attentions = output_attentions if output_attentions is not None else self.model.config.output_attentions
|
| 219 |
+
output_hidden_states = (
|
| 220 |
+
output_hidden_states if output_hidden_states is not None else self.model.config.output_hidden_states
|
| 221 |
+
)
|
| 222 |
+
use_cache = use_cache if use_cache is not None else self.model.config.use_cache
|
| 223 |
+
|
| 224 |
+
return_dict = return_dict if return_dict is not None else self.model.config.use_return_dict
|
| 225 |
+
|
| 226 |
+
# retrieve input_ids and inputs_embeds
|
| 227 |
+
if input_ids is not None and inputs_embeds is not None:
|
| 228 |
+
raise ValueError("You cannot specify both input_ids and inputs_embeds at the same time")
|
| 229 |
+
elif input_ids is not None:
|
| 230 |
+
batch_size, seq_length = input_ids.shape[:2]
|
| 231 |
+
elif inputs_embeds is not None:
|
| 232 |
+
batch_size, seq_length = inputs_embeds.shape[:2]
|
| 233 |
+
else:
|
| 234 |
+
raise ValueError("You have to specify either input_ids or inputs_embeds")
|
| 235 |
+
|
| 236 |
+
past_key_values_length = 0
|
| 237 |
+
|
| 238 |
+
if self.model.gradient_checkpointing and self.model.training:
|
| 239 |
+
if use_cache:
|
| 240 |
+
logger.warning_once(
|
| 241 |
+
"`use_cache=True` is incompatible with gradient checkpointing. Setting `use_cache=False`..."
|
| 242 |
+
)
|
| 243 |
+
use_cache = False
|
| 244 |
+
use_legacy_cache = None
|
| 245 |
+
if use_cache:
|
| 246 |
+
use_legacy_cache = not isinstance(past_key_values, Cache)
|
| 247 |
+
if use_legacy_cache:
|
| 248 |
+
past_key_values = DynamicCache.from_legacy_cache(past_key_values)
|
| 249 |
+
past_key_values_length = past_key_values.get_usable_length(seq_length)
|
| 250 |
+
if position_ids is None:
|
| 251 |
+
device = input_ids.device if input_ids is not None else inputs_embeds.device
|
| 252 |
+
position_ids = torch.arange(
|
| 253 |
+
past_key_values_length, seq_length + past_key_values_length, dtype=torch.long, device=device
|
| 254 |
+
)
|
| 255 |
+
position_ids = position_ids.unsqueeze(0)
|
| 256 |
+
|
| 257 |
+
if inputs_embeds is None:
|
| 258 |
+
inputs_embeds = self.model.embed_tokens(input_ids)
|
| 259 |
+
|
| 260 |
+
inputs_embeds = self.model.embed_dropout(inputs_embeds)
|
| 261 |
+
|
| 262 |
+
# Attention mask.
|
| 263 |
+
if self.model._use_flash_attention_2:
|
| 264 |
+
# 2d mask is passed through the layers
|
| 265 |
+
attention_mask = attention_mask if (attention_mask is not None and 0 in attention_mask) else None
|
| 266 |
+
elif self.model._use_sdpa and not output_attentions:
|
| 267 |
+
attention_mask = _prepare_4d_causal_attention_mask_for_sdpa(
|
| 268 |
+
attention_mask,
|
| 269 |
+
(batch_size, seq_length),
|
| 270 |
+
inputs_embeds,
|
| 271 |
+
past_key_values_length,
|
| 272 |
+
)
|
| 273 |
+
else:
|
| 274 |
+
# 4d mask is passed through the layers
|
| 275 |
+
attention_mask = _prepare_4d_causal_attention_mask(
|
| 276 |
+
attention_mask, (batch_size, seq_length), inputs_embeds, past_key_values_length
|
| 277 |
+
)
|
| 278 |
+
|
| 279 |
+
return inputs_embeds, use_legacy_cache, attention_mask, position_ids, past_key_values, use_cache, output_attentions, output_hidden_states, return_dict
|
| 280 |
+
|
| 281 |
def forward(self,
|
| 282 |
input_ids: torch.LongTensor = None,
|
| 283 |
attention_mask: Optional[torch.Tensor] = None,
|
| 284 |
position_ids: Optional[torch.LongTensor] = None,
|
| 285 |
past_key_values: Optional[List[torch.FloatTensor]] = None,
|
| 286 |
inputs_embeds: Optional[torch.FloatTensor] = None,
|
|
|
|
| 287 |
use_cache: Optional[bool] = None,
|
| 288 |
output_attentions: Optional[bool] = None,
|
| 289 |
output_hidden_states: Optional[bool] = None,
|
| 290 |
return_dict: Optional[bool] = None,
|
| 291 |
head_window_size: Optional[int] = None,
|
| 292 |
):
|
| 293 |
+
use_cache = False # Disable it for now TODO Update how cache is handled to allow early exits
|
| 294 |
+
inputs_embeds, use_legacy_cache, attention_mask, position_ids, past_key_values, use_cache, output_attentions, output_hidden_states, return_dict = self.model_pre_forward(input_ids, attention_mask, position_ids, past_key_values, inputs_embeds, use_cache, output_attentions, output_hidden_states, return_dict)
|
| 295 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 296 |
|
| 297 |
+
hidden_states = inputs_embeds
|
| 298 |
+
|
| 299 |
+
# decoder layers
|
| 300 |
+
all_hidden_states = () if output_hidden_states else None
|
| 301 |
+
all_self_attns = () if output_attentions else None
|
| 302 |
+
all_logits = ()
|
| 303 |
+
is_early_exited = False
|
| 304 |
+
next_decoder_cache = None
|
| 305 |
+
|
| 306 |
+
for layer, decoder_layer in enumerate(self.model.layers):
|
| 307 |
+
if output_hidden_states:
|
| 308 |
+
all_hidden_states += (hidden_states,)
|
| 309 |
+
|
| 310 |
+
if self.model.gradient_checkpointing and self.model.training:
|
| 311 |
+
layer_outputs, use_legacy_cache = self.model._gradient_checkpointing_func(
|
| 312 |
+
decoder_layer.__call__,
|
| 313 |
+
hidden_states,
|
| 314 |
+
attention_mask,
|
| 315 |
+
position_ids,
|
| 316 |
+
past_key_values,
|
| 317 |
+
output_attentions,
|
| 318 |
+
)
|
| 319 |
+
hidden_states = layer_outputs[0]
|
| 320 |
+
else:
|
| 321 |
+
layer_outputs = decoder_layer(
|
| 322 |
+
hidden_states,
|
| 323 |
+
attention_mask=attention_mask,
|
| 324 |
+
position_ids=position_ids,
|
| 325 |
+
past_key_value=past_key_values,
|
| 326 |
+
output_attentions=output_attentions,
|
| 327 |
+
use_cache=use_cache,
|
| 328 |
+
)
|
| 329 |
+
hidden_states = layer_outputs[0]
|
| 330 |
+
if layer in self.config.branch_locations:
|
| 331 |
+
logits = self.branches[self.config.branch_locations.index(layer)](layer_outputs[0])
|
| 332 |
+
if not self.training:
|
| 333 |
+
# During inference, calculate score on the fly to decide if we should early exit
|
| 334 |
+
score = self.confidence_metric_fn(logits)[..., -1] # score for the classified token TODO migth be interesting to take score from whole vector ?
|
| 335 |
+
if score > self.head_thresholds[self.config.branch_locations.index(layer)]:
|
| 336 |
+
is_early_exited = True
|
| 337 |
+
logger.debug(f"Early exit at layer {layer} with score {score}")
|
| 338 |
+
break
|
| 339 |
+
else:
|
| 340 |
+
# if in training we return full logits
|
| 341 |
+
all_logits += (logits,)
|
| 342 |
+
|
| 343 |
+
|
| 344 |
+
|
| 345 |
+
if use_cache:
|
| 346 |
+
next_decoder_cache = layer_outputs[2 if output_attentions else 1]
|
| 347 |
+
|
| 348 |
+
if output_attentions:
|
| 349 |
+
all_self_attns += (layer_outputs[1],)
|
| 350 |
+
if not is_early_exited:
|
| 351 |
+
logger.debug(f"No early exit")
|
| 352 |
+
hidden_states = self.model.final_layernorm(hidden_states)
|
| 353 |
+
logits = self.lm_head(hidden_states)
|
| 354 |
+
logits = logits.float()
|
| 355 |
|
| 356 |
+
if output_hidden_states:
|
| 357 |
+
all_hidden_states += (hidden_states,)
|
| 358 |
+
|
| 359 |
+
next_cache = None
|
| 360 |
+
if use_cache:
|
| 361 |
+
next_cache = next_decoder_cache.to_legacy_cache() if use_legacy_cache else next_decoder_cache
|
| 362 |
+
loss = [None, None, None, None]
|
| 363 |
+
if self.training:
|
| 364 |
+
loss = self.compute_self_supervision_loss(
|
| 365 |
+
torch.stack(all_logits), hidden_states
|
| 366 |
+
)
|
| 367 |
+
if not return_dict:
|
| 368 |
+
raise NotImplementedError("return_dict=False is not implemented")
|
| 369 |
+
return CausalBranchyLLMOutputWithPast(
|
| 370 |
+
loss=loss[0],
|
| 371 |
+
head_loss=loss[1],
|
| 372 |
+
entropies=loss[2],
|
| 373 |
+
entropy=loss[3],
|
| 374 |
+
logits=logits, # shape (batch_size, seq_len, vocab_size)
|
| 375 |
+
head_logits=all_logits, # shape (num_branches, batch_size, seq_len, vocab_size)
|
| 376 |
+
past_key_values=next_cache,
|
| 377 |
+
hidden_states=all_hidden_states,
|
| 378 |
+
attentions=all_self_attns,
|
| 379 |
+
head_indices=layer,
|
| 380 |
+
)
|
| 381 |
+
|
| 382 |
+
def compute_self_supervision_loss(self,
|
| 383 |
+
aux_logits: torch.Tensor,
|
| 384 |
+
lm_logits: torch.Tensor,
|
| 385 |
+
return_dict: bool = True
|
| 386 |
+
) -> Dict[str, torch.Tensor]:
|
| 387 |
|
| 388 |
+
last_aux_logits = aux_logits[..., -1, :]
|
| 389 |
+
last_lm_logits = lm_logits[..., -1, :]
|
| 390 |
+
|
| 391 |
+
losses = ()
|
| 392 |
+
entropies = ()
|
| 393 |
+
# Can be useful to have detailed loss per head for comparison of performance
|
| 394 |
+
for head_logit in last_aux_logits:
|
| 395 |
+
ce_loss = nn.CrossEntropyLoss(reduction="mean")(
|
| 396 |
+
head_logit, torch.argmax(last_lm_logits, dim=-1)
|
| 397 |
+
)
|
| 398 |
+
probas = F.softmax(head_logit, dim=-1)
|
| 399 |
+
log_probas = torch.log(probas + 1e-8)
|
| 400 |
+
assert not torch.isnan(log_probas).any(), "NaNs found in log_probas"
|
| 401 |
+
entropy = -torch.sum(probas * log_probas, dim=-1)
|
| 402 |
+
assert not torch.isnan(entropy).any(), "NaNs found in entropy before mean"
|
| 403 |
+
entropy = torch.mean(entropy)
|
| 404 |
+
entropies += (entropy,)
|
| 405 |
+
losses += ((1 - self.config.penalty_weight) * ce_loss - self.config.penalty_weight * entropy,)
|
| 406 |
+
|
| 407 |
+
loss = torch.stack(losses, dim=0).mean(dim=-1)
|
| 408 |
+
entropy = torch.stack(entropies, dim=0).mean(dim=-1)
|
| 409 |
+
if not return_dict:
|
| 410 |
+
return tuple(v for v in (loss, losses, entropy, entropies) if v is not None)
|
| 411 |
+
return SelfSupervisedLossOutput(
|
| 412 |
+
loss=loss,
|
| 413 |
+
head_losses= losses,
|
| 414 |
+
entropies= entropies,
|
| 415 |
+
entropy= entropy
|
| 416 |
)
|
| 417 |
|
| 418 |
@dataclass
|
|
|
|
| 426 |
past_key_values: Optional[Tuple[Tuple[torch.FloatTensor]]] = None
|
| 427 |
hidden_states: Optional[Tuple[torch.FloatTensor]] = None
|
| 428 |
attentions: Optional[Tuple[torch.FloatTensor]] = None
|
| 429 |
+
head_indices: Optional[torch.Tensor] = None
|
| 430 |
|
| 431 |
@dataclass
|
| 432 |
+
class SelfSupervisedLossOutput(ModelOutput):
|
| 433 |
+
loss: torch.Tensor = None
|
| 434 |
+
head_losses: torch.Tensor = None
|
| 435 |
+
entropy: torch.Tensor = None
|
| 436 |
+
entropies: torch.Tensor = None
|
model-00001-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de9690424cd10d30cc5bbbf31b5ba7149fe2d1b4d1c9b3e28378c37496dfddcc
|
| 3 |
+
size 4982355512
|
model-00002-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:526f616bb5753775548b200b2d5afffa862bf3a17cf53c004b1ba8d702fb5890
|
| 3 |
+
size 4982541984
|
model-00003-of-00003.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:963120cc9ecfbdd250e505d8a33ef881aa1cc393b06fe3bc9a7b7be286c3c242
|
| 3 |
+
size 3251942344
|
model.safetensors.index.json
CHANGED
|
@@ -3,474 +3,474 @@
|
|
| 3 |
"total_size": 13216788480
|
| 4 |
},
|
| 5 |
"weight_map": {
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
-
"model.
|
| 25 |
-
"model.
|
| 26 |
-
"model.
|
| 27 |
-
"model.
|
| 28 |
-
"model.
|
| 29 |
-
"model.
|
| 30 |
-
"model.
|
| 31 |
-
"model.
|
| 32 |
-
"model.
|
| 33 |
-
"model.
|
| 34 |
-
"model.
|
| 35 |
-
"model.
|
| 36 |
-
"model.
|
| 37 |
-
"model.
|
| 38 |
-
"model.
|
| 39 |
-
"model.
|
| 40 |
-
"model.
|
| 41 |
-
"model.
|
| 42 |
-
"model.
|
| 43 |
-
"model.
|
| 44 |
-
"model.
|
| 45 |
-
"model.
|
| 46 |
-
"model.
|
| 47 |
-
"model.
|
| 48 |
-
"model.
|
| 49 |
-
"model.
|
| 50 |
-
"model.
|
| 51 |
-
"model.
|
| 52 |
-
"model.
|
| 53 |
-
"model.
|
| 54 |
-
"model.
|
| 55 |
-
"model.
|
| 56 |
-
"model.
|
| 57 |
-
"model.
|
| 58 |
-
"model.
|
| 59 |
-
"model.
|
| 60 |
-
"model.
|
| 61 |
-
"model.
|
| 62 |
-
"model.
|
| 63 |
-
"model.
|
| 64 |
-
"model.
|
| 65 |
-
"model.
|
| 66 |
-
"model.
|
| 67 |
-
"model.
|
| 68 |
-
"model.
|
| 69 |
-
"model.
|
| 70 |
-
"model.
|
| 71 |
-
"model.
|
| 72 |
-
"model.
|
| 73 |
-
"model.
|
| 74 |
-
"model.
|
| 75 |
-
"model.
|
| 76 |
-
"model.
|
| 77 |
-
"model.
|
| 78 |
-
"model.
|
| 79 |
-
"model.
|
| 80 |
-
"model.
|
| 81 |
-
"model.
|
| 82 |
-
"model.
|
| 83 |
-
"model.
|
| 84 |
-
"model.
|
| 85 |
-
"model.
|
| 86 |
-
"model.
|
| 87 |
-
"model.
|
| 88 |
-
"model.
|
| 89 |
-
"model.
|
| 90 |
-
"model.
|
| 91 |
-
"model.
|
| 92 |
-
"model.
|
| 93 |
-
"model.
|
| 94 |
-
"model.
|
| 95 |
-
"model.
|
| 96 |
-
"model.
|
| 97 |
-
"model.
|
| 98 |
-
"model.
|
| 99 |
-
"model.
|
| 100 |
-
"model.
|
| 101 |
-
"model.
|
| 102 |
-
"model.
|
| 103 |
-
"model.
|
| 104 |
-
"model.
|
| 105 |
-
"model.
|
| 106 |
-
"model.
|
| 107 |
-
"model.
|
| 108 |
-
"model.
|
| 109 |
-
"model.
|
| 110 |
-
"model.
|
| 111 |
-
"model.
|
| 112 |
-
"model.
|
| 113 |
-
"model.
|
| 114 |
-
"model.
|
| 115 |
-
"model.
|
| 116 |
-
"model.
|
| 117 |
-
"model.
|
| 118 |
-
"model.
|
| 119 |
-
"model.
|
| 120 |
-
"model.
|
| 121 |
-
"model.
|
| 122 |
-
"model.
|
| 123 |
-
"model.
|
| 124 |
-
"model.
|
| 125 |
-
"model.
|
| 126 |
-
"model.
|
| 127 |
-
"model.
|
| 128 |
-
"model.
|
| 129 |
-
"model.
|
| 130 |
-
"model.
|
| 131 |
-
"model.
|
| 132 |
-
"model.
|
| 133 |
-
"model.
|
| 134 |
-
"model.
|
| 135 |
-
"model.
|
| 136 |
-
"model.
|
| 137 |
-
"model.
|
| 138 |
-
"model.
|
| 139 |
-
"model.
|
| 140 |
-
"model.
|
| 141 |
-
"model.
|
| 142 |
-
"model.
|
| 143 |
-
"model.
|
| 144 |
-
"model.
|
| 145 |
-
"model.
|
| 146 |
-
"model.
|
| 147 |
-
"model.
|
| 148 |
-
"model.
|
| 149 |
-
"model.
|
| 150 |
-
"model.
|
| 151 |
-
"model.
|
| 152 |
-
"model.
|
| 153 |
-
"model.
|
| 154 |
-
"model.
|
| 155 |
-
"model.
|
| 156 |
-
"model.
|
| 157 |
-
"model.
|
| 158 |
-
"model.
|
| 159 |
-
"model.
|
| 160 |
-
"model.
|
| 161 |
-
"model.
|
| 162 |
-
"model.
|
| 163 |
-
"model.
|
| 164 |
-
"model.
|
| 165 |
-
"model.
|
| 166 |
-
"model.
|
| 167 |
-
"model.
|
| 168 |
-
"model.
|
| 169 |
-
"model.
|
| 170 |
-
"model.
|
| 171 |
-
"model.
|
| 172 |
-
"model.
|
| 173 |
-
"model.
|
| 174 |
-
"model.
|
| 175 |
-
"model.
|
| 176 |
-
"model.
|
| 177 |
-
"model.
|
| 178 |
-
"model.
|
| 179 |
-
"model.
|
| 180 |
-
"model.
|
| 181 |
-
"model.
|
| 182 |
-
"model.
|
| 183 |
-
"model.
|
| 184 |
-
"model.
|
| 185 |
-
"model.
|
| 186 |
-
"model.
|
| 187 |
-
"model.
|
| 188 |
-
"model.
|
| 189 |
-
"model.
|
| 190 |
-
"model.
|
| 191 |
-
"model.
|
| 192 |
-
"model.
|
| 193 |
-
"model.
|
| 194 |
-
"model.
|
| 195 |
-
"model.
|
| 196 |
-
"model.
|
| 197 |
-
"model.
|
| 198 |
-
"model.
|
| 199 |
-
"model.
|
| 200 |
-
"model.
|
| 201 |
-
"model.
|
| 202 |
-
"model.
|
| 203 |
-
"model.
|
| 204 |
-
"model.
|
| 205 |
-
"model.
|
| 206 |
-
"model.
|
| 207 |
-
"model.
|
| 208 |
-
"model.
|
| 209 |
-
"model.
|
| 210 |
-
"model.
|
| 211 |
-
"model.
|
| 212 |
-
"model.
|
| 213 |
-
"model.
|
| 214 |
-
"model.
|
| 215 |
-
"model.
|
| 216 |
-
"model.
|
| 217 |
-
"model.
|
| 218 |
-
"model.
|
| 219 |
-
"model.
|
| 220 |
-
"model.
|
| 221 |
-
"model.
|
| 222 |
-
"model.
|
| 223 |
-
"model.
|
| 224 |
-
"model.
|
| 225 |
-
"model.
|
| 226 |
-
"model.
|
| 227 |
-
"model.
|
| 228 |
-
"model.
|
| 229 |
-
"model.
|
| 230 |
-
"model.
|
| 231 |
-
"model.
|
| 232 |
-
"model.
|
| 233 |
-
"model.
|
| 234 |
-
"model.
|
| 235 |
-
"model.
|
| 236 |
-
"model.
|
| 237 |
-
"model.
|
| 238 |
-
"model.
|
| 239 |
-
"model.
|
| 240 |
-
"model.
|
| 241 |
-
"model.
|
| 242 |
-
"model.
|
| 243 |
-
"model.
|
| 244 |
-
"model.
|
| 245 |
-
"model.
|
| 246 |
-
"model.
|
| 247 |
-
"model.
|
| 248 |
-
"model.
|
| 249 |
-
"model.
|
| 250 |
-
"model.
|
| 251 |
-
"model.
|
| 252 |
-
"model.
|
| 253 |
-
"model.
|
| 254 |
-
"model.
|
| 255 |
-
"model.
|
| 256 |
-
"model.
|
| 257 |
-
"model.
|
| 258 |
-
"model.
|
| 259 |
-
"model.
|
| 260 |
-
"model.
|
| 261 |
-
"model.
|
| 262 |
-
"model.
|
| 263 |
-
"model.
|
| 264 |
-
"model.
|
| 265 |
-
"model.
|
| 266 |
-
"model.
|
| 267 |
-
"model.
|
| 268 |
-
"model.
|
| 269 |
-
"model.
|
| 270 |
-
"model.
|
| 271 |
-
"model.
|
| 272 |
-
"model.
|
| 273 |
-
"model.
|
| 274 |
-
"model.
|
| 275 |
-
"model.
|
| 276 |
-
"model.
|
| 277 |
-
"model.
|
| 278 |
-
"model.
|
| 279 |
-
"model.
|
| 280 |
-
"model.
|
| 281 |
-
"model.
|
| 282 |
-
"model.
|
| 283 |
-
"model.
|
| 284 |
-
"model.
|
| 285 |
-
"model.
|
| 286 |
-
"model.
|
| 287 |
-
"model.
|
| 288 |
-
"model.
|
| 289 |
-
"model.
|
| 290 |
-
"model.
|
| 291 |
-
"model.
|
| 292 |
-
"model.
|
| 293 |
-
"model.
|
| 294 |
-
"model.
|
| 295 |
-
"model.
|
| 296 |
-
"model.
|
| 297 |
-
"model.
|
| 298 |
-
"model.
|
| 299 |
-
"model.
|
| 300 |
-
"model.
|
| 301 |
-
"model.
|
| 302 |
-
"model.
|
| 303 |
-
"model.
|
| 304 |
-
"model.
|
| 305 |
-
"model.
|
| 306 |
-
"model.
|
| 307 |
-
"model.
|
| 308 |
-
"model.
|
| 309 |
-
"model.
|
| 310 |
-
"model.
|
| 311 |
-
"model.
|
| 312 |
-
"model.
|
| 313 |
-
"model.
|
| 314 |
-
"model.
|
| 315 |
-
"model.
|
| 316 |
-
"model.
|
| 317 |
-
"model.
|
| 318 |
-
"model.
|
| 319 |
-
"model.
|
| 320 |
-
"model.
|
| 321 |
-
"model.
|
| 322 |
-
"model.
|
| 323 |
-
"model.
|
| 324 |
-
"model.
|
| 325 |
-
"model.
|
| 326 |
-
"model.
|
| 327 |
-
"model.
|
| 328 |
-
"model.
|
| 329 |
-
"model.
|
| 330 |
-
"model.
|
| 331 |
-
"model.
|
| 332 |
-
"model.
|
| 333 |
-
"model.
|
| 334 |
-
"model.
|
| 335 |
-
"model.
|
| 336 |
-
"model.
|
| 337 |
-
"model.
|
| 338 |
-
"model.
|
| 339 |
-
"model.
|
| 340 |
-
"model.
|
| 341 |
-
"model.
|
| 342 |
-
"model.
|
| 343 |
-
"model.
|
| 344 |
-
"model.
|
| 345 |
-
"model.
|
| 346 |
-
"model.
|
| 347 |
-
"model.
|
| 348 |
-
"model.
|
| 349 |
-
"model.
|
| 350 |
-
"model.
|
| 351 |
-
"model.
|
| 352 |
-
"model.
|
| 353 |
-
"model.
|
| 354 |
-
"model.
|
| 355 |
-
"model.
|
| 356 |
-
"model.
|
| 357 |
-
"model.
|
| 358 |
-
"model.
|
| 359 |
-
"model.
|
| 360 |
-
"model.
|
| 361 |
-
"model.
|
| 362 |
-
"model.
|
| 363 |
-
"model.
|
| 364 |
-
"model.
|
| 365 |
-
"model.
|
| 366 |
-
"model.
|
| 367 |
-
"model.
|
| 368 |
-
"model.
|
| 369 |
-
"model.
|
| 370 |
-
"model.
|
| 371 |
-
"model.
|
| 372 |
-
"model.
|
| 373 |
-
"model.
|
| 374 |
-
"model.
|
| 375 |
-
"model.
|
| 376 |
-
"model.
|
| 377 |
-
"model.
|
| 378 |
-
"model.
|
| 379 |
-
"model.
|
| 380 |
-
"model.
|
| 381 |
-
"model.
|
| 382 |
-
"model.
|
| 383 |
-
"model.
|
| 384 |
-
"model.
|
| 385 |
-
"model.
|
| 386 |
-
"model.
|
| 387 |
-
"model.
|
| 388 |
-
"model.
|
| 389 |
-
"model.
|
| 390 |
-
"model.
|
| 391 |
-
"model.
|
| 392 |
-
"model.
|
| 393 |
-
"model.
|
| 394 |
-
"model.
|
| 395 |
-
"model.
|
| 396 |
-
"model.
|
| 397 |
-
"model.
|
| 398 |
-
"model.
|
| 399 |
-
"model.
|
| 400 |
-
"model.
|
| 401 |
-
"model.
|
| 402 |
-
"model.
|
| 403 |
-
"model.
|
| 404 |
-
"model.
|
| 405 |
-
"model.
|
| 406 |
-
"model.
|
| 407 |
-
"model.
|
| 408 |
-
"model.
|
| 409 |
-
"model.
|
| 410 |
-
"model.
|
| 411 |
-
"model.
|
| 412 |
-
"model.
|
| 413 |
-
"model.
|
| 414 |
-
"model.
|
| 415 |
-
"model.
|
| 416 |
-
"model.
|
| 417 |
-
"model.
|
| 418 |
-
"model.
|
| 419 |
-
"model.
|
| 420 |
-
"model.
|
| 421 |
-
"model.
|
| 422 |
-
"model.
|
| 423 |
-
"model.
|
| 424 |
-
"model.
|
| 425 |
-
"model.
|
| 426 |
-
"model.
|
| 427 |
-
"model.
|
| 428 |
-
"model.
|
| 429 |
-
"model.
|
| 430 |
-
"model.
|
| 431 |
-
"model.
|
| 432 |
-
"model.
|
| 433 |
-
"model.
|
| 434 |
-
"model.
|
| 435 |
-
"model.
|
| 436 |
-
"model.
|
| 437 |
-
"model.
|
| 438 |
-
"model.
|
| 439 |
-
"model.
|
| 440 |
-
"model.
|
| 441 |
-
"model.
|
| 442 |
-
"model.
|
| 443 |
-
"model.
|
| 444 |
-
"model.
|
| 445 |
-
"model.
|
| 446 |
-
"model.
|
| 447 |
-
"model.
|
| 448 |
-
"model.
|
| 449 |
-
"model.
|
| 450 |
-
"model.
|
| 451 |
-
"model.
|
| 452 |
-
"model.
|
| 453 |
-
"model.
|
| 454 |
-
"model.
|
| 455 |
-
"model.
|
| 456 |
-
"model.
|
| 457 |
-
"model.
|
| 458 |
-
"model.
|
| 459 |
-
"model.
|
| 460 |
-
"model.
|
| 461 |
-
"model.
|
| 462 |
-
"model.
|
| 463 |
-
"model.
|
| 464 |
-
"model.
|
| 465 |
-
"model.
|
| 466 |
-
"model.
|
| 467 |
-
"model.
|
| 468 |
-
"model.
|
| 469 |
-
"model.
|
| 470 |
-
"model.
|
| 471 |
-
"model.
|
| 472 |
-
"model.
|
| 473 |
-
"model.
|
| 474 |
-
"model.
|
| 475 |
}
|
| 476 |
}
|
|
|
|
| 3 |
"total_size": 13216788480
|
| 4 |
},
|
| 5 |
"weight_map": {
|
| 6 |
+
"branches.0.layernorm.bias": "model-00003-of-00003.safetensors",
|
| 7 |
+
"branches.0.layernorm.weight": "model-00003-of-00003.safetensors",
|
| 8 |
+
"branches.0.lm_head.bias": "model-00003-of-00003.safetensors",
|
| 9 |
+
"branches.0.lm_head.weight": "model-00003-of-00003.safetensors",
|
| 10 |
+
"branches.1.layernorm.bias": "model-00003-of-00003.safetensors",
|
| 11 |
+
"branches.1.layernorm.weight": "model-00003-of-00003.safetensors",
|
| 12 |
+
"branches.1.lm_head.bias": "model-00003-of-00003.safetensors",
|
| 13 |
+
"branches.1.lm_head.weight": "model-00003-of-00003.safetensors",
|
| 14 |
+
"branches.2.layernorm.bias": "model-00003-of-00003.safetensors",
|
| 15 |
+
"branches.2.layernorm.weight": "model-00003-of-00003.safetensors",
|
| 16 |
+
"branches.2.lm_head.bias": "model-00003-of-00003.safetensors",
|
| 17 |
+
"branches.2.lm_head.weight": "model-00003-of-00003.safetensors",
|
| 18 |
+
"branches.3.layernorm.bias": "model-00003-of-00003.safetensors",
|
| 19 |
+
"branches.3.layernorm.weight": "model-00003-of-00003.safetensors",
|
| 20 |
+
"branches.3.lm_head.bias": "model-00003-of-00003.safetensors",
|
| 21 |
+
"branches.3.lm_head.weight": "model-00003-of-00003.safetensors",
|
| 22 |
+
"lm_head.bias": "model-00003-of-00003.safetensors",
|
| 23 |
+
"lm_head.weight": "model-00003-of-00003.safetensors",
|
| 24 |
+
"model.embed_tokens.weight": "model-00001-of-00003.safetensors",
|
| 25 |
+
"model.final_layernorm.bias": "model-00003-of-00003.safetensors",
|
| 26 |
+
"model.final_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 27 |
+
"model.layers.0.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 28 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 29 |
+
"model.layers.0.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 30 |
+
"model.layers.0.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 31 |
+
"model.layers.0.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 32 |
+
"model.layers.0.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 33 |
+
"model.layers.0.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 34 |
+
"model.layers.0.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 35 |
+
"model.layers.0.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 36 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 37 |
+
"model.layers.0.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 38 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 39 |
+
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 40 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 41 |
+
"model.layers.1.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 42 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 43 |
+
"model.layers.1.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 44 |
+
"model.layers.1.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 45 |
+
"model.layers.1.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 46 |
+
"model.layers.1.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 47 |
+
"model.layers.1.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 48 |
+
"model.layers.1.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 49 |
+
"model.layers.1.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 50 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 51 |
+
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 52 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 53 |
+
"model.layers.1.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 54 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 55 |
+
"model.layers.10.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 56 |
+
"model.layers.10.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 57 |
+
"model.layers.10.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 58 |
+
"model.layers.10.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 59 |
+
"model.layers.10.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 60 |
+
"model.layers.10.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 61 |
+
"model.layers.10.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 62 |
+
"model.layers.10.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 63 |
+
"model.layers.10.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 64 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 65 |
+
"model.layers.10.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 66 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 67 |
+
"model.layers.10.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 68 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 69 |
+
"model.layers.11.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 70 |
+
"model.layers.11.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 71 |
+
"model.layers.11.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 72 |
+
"model.layers.11.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 73 |
+
"model.layers.11.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 74 |
+
"model.layers.11.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 75 |
+
"model.layers.11.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 76 |
+
"model.layers.11.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 77 |
+
"model.layers.11.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 78 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 79 |
+
"model.layers.11.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 80 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 81 |
+
"model.layers.11.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 82 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 83 |
+
"model.layers.12.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 84 |
+
"model.layers.12.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 85 |
+
"model.layers.12.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 86 |
+
"model.layers.12.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 87 |
+
"model.layers.12.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 88 |
+
"model.layers.12.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 89 |
+
"model.layers.12.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 90 |
+
"model.layers.12.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 91 |
+
"model.layers.12.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 92 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 93 |
+
"model.layers.12.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 94 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 95 |
+
"model.layers.12.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 96 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 97 |
+
"model.layers.13.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 98 |
+
"model.layers.13.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 99 |
+
"model.layers.13.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 100 |
+
"model.layers.13.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 101 |
+
"model.layers.13.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 102 |
+
"model.layers.13.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 103 |
+
"model.layers.13.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 104 |
+
"model.layers.13.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 105 |
+
"model.layers.13.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 106 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 107 |
+
"model.layers.13.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 108 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 109 |
+
"model.layers.13.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 110 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 111 |
+
"model.layers.14.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 112 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 113 |
+
"model.layers.14.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 114 |
+
"model.layers.14.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 115 |
+
"model.layers.14.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 116 |
+
"model.layers.14.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 117 |
+
"model.layers.14.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 118 |
+
"model.layers.14.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 119 |
+
"model.layers.14.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 120 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 121 |
+
"model.layers.14.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 122 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 123 |
+
"model.layers.14.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 124 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 125 |
+
"model.layers.15.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 126 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 127 |
+
"model.layers.15.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 128 |
+
"model.layers.15.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 129 |
+
"model.layers.15.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 130 |
+
"model.layers.15.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 131 |
+
"model.layers.15.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 132 |
+
"model.layers.15.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 133 |
+
"model.layers.15.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 134 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 135 |
+
"model.layers.15.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 136 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 137 |
+
"model.layers.15.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 138 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 139 |
+
"model.layers.16.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 140 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 141 |
+
"model.layers.16.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 142 |
+
"model.layers.16.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 143 |
+
"model.layers.16.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 144 |
+
"model.layers.16.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 145 |
+
"model.layers.16.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 146 |
+
"model.layers.16.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 147 |
+
"model.layers.16.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 148 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 149 |
+
"model.layers.16.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 150 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 151 |
+
"model.layers.16.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 152 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 153 |
+
"model.layers.17.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 154 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 155 |
+
"model.layers.17.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 156 |
+
"model.layers.17.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 157 |
+
"model.layers.17.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 158 |
+
"model.layers.17.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 159 |
+
"model.layers.17.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 160 |
+
"model.layers.17.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 161 |
+
"model.layers.17.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 162 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 163 |
+
"model.layers.17.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 164 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 165 |
+
"model.layers.17.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 166 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 167 |
+
"model.layers.18.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 168 |
+
"model.layers.18.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 169 |
+
"model.layers.18.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 170 |
+
"model.layers.18.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 171 |
+
"model.layers.18.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 172 |
+
"model.layers.18.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 173 |
+
"model.layers.18.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 174 |
+
"model.layers.18.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 175 |
+
"model.layers.18.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 176 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 177 |
+
"model.layers.18.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 178 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 179 |
+
"model.layers.18.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 180 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 181 |
+
"model.layers.19.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 182 |
+
"model.layers.19.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 183 |
+
"model.layers.19.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 184 |
+
"model.layers.19.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 185 |
+
"model.layers.19.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 186 |
+
"model.layers.19.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 187 |
+
"model.layers.19.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 188 |
+
"model.layers.19.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 189 |
+
"model.layers.19.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 190 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 191 |
+
"model.layers.19.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 192 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 193 |
+
"model.layers.19.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 194 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 195 |
+
"model.layers.2.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 196 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 197 |
+
"model.layers.2.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 198 |
+
"model.layers.2.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 199 |
+
"model.layers.2.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 200 |
+
"model.layers.2.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 201 |
+
"model.layers.2.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 202 |
+
"model.layers.2.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 203 |
+
"model.layers.2.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 204 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 205 |
+
"model.layers.2.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 206 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 207 |
+
"model.layers.2.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 208 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 209 |
+
"model.layers.20.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 210 |
+
"model.layers.20.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 211 |
+
"model.layers.20.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 212 |
+
"model.layers.20.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 213 |
+
"model.layers.20.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 214 |
+
"model.layers.20.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 215 |
+
"model.layers.20.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 216 |
+
"model.layers.20.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 217 |
+
"model.layers.20.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 218 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 219 |
+
"model.layers.20.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 220 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 221 |
+
"model.layers.20.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 222 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 223 |
+
"model.layers.21.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 224 |
+
"model.layers.21.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 225 |
+
"model.layers.21.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 226 |
+
"model.layers.21.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 227 |
+
"model.layers.21.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 228 |
+
"model.layers.21.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 229 |
+
"model.layers.21.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 230 |
+
"model.layers.21.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 231 |
+
"model.layers.21.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 232 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 233 |
+
"model.layers.21.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 234 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 235 |
+
"model.layers.21.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 236 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 237 |
+
"model.layers.22.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 238 |
+
"model.layers.22.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 239 |
+
"model.layers.22.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 240 |
+
"model.layers.22.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 241 |
+
"model.layers.22.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 242 |
+
"model.layers.22.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 243 |
+
"model.layers.22.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 244 |
+
"model.layers.22.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 245 |
+
"model.layers.22.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 246 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 247 |
+
"model.layers.22.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 248 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 249 |
+
"model.layers.22.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 250 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 251 |
+
"model.layers.23.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 252 |
+
"model.layers.23.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 253 |
+
"model.layers.23.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 254 |
+
"model.layers.23.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 255 |
+
"model.layers.23.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 256 |
+
"model.layers.23.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 257 |
+
"model.layers.23.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 258 |
+
"model.layers.23.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 259 |
+
"model.layers.23.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 260 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 261 |
+
"model.layers.23.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 262 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 263 |
+
"model.layers.23.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 264 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 265 |
+
"model.layers.24.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 266 |
+
"model.layers.24.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 267 |
+
"model.layers.24.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 268 |
+
"model.layers.24.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 269 |
+
"model.layers.24.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 270 |
+
"model.layers.24.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 271 |
+
"model.layers.24.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 272 |
+
"model.layers.24.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 273 |
+
"model.layers.24.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 274 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 275 |
+
"model.layers.24.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 276 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 277 |
+
"model.layers.24.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 278 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 279 |
+
"model.layers.25.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 280 |
+
"model.layers.25.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 281 |
+
"model.layers.25.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 282 |
+
"model.layers.25.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 283 |
+
"model.layers.25.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 284 |
+
"model.layers.25.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 285 |
+
"model.layers.25.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 286 |
+
"model.layers.25.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 287 |
+
"model.layers.25.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 288 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 289 |
+
"model.layers.25.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 290 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 291 |
+
"model.layers.25.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 292 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 293 |
+
"model.layers.26.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 294 |
+
"model.layers.26.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 295 |
+
"model.layers.26.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 296 |
+
"model.layers.26.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 297 |
+
"model.layers.26.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 298 |
+
"model.layers.26.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 299 |
+
"model.layers.26.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 300 |
+
"model.layers.26.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 301 |
+
"model.layers.26.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 302 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 303 |
+
"model.layers.26.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 304 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 305 |
+
"model.layers.26.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 306 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 307 |
+
"model.layers.27.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 308 |
+
"model.layers.27.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 309 |
+
"model.layers.27.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 310 |
+
"model.layers.27.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 311 |
+
"model.layers.27.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 312 |
+
"model.layers.27.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 313 |
+
"model.layers.27.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 314 |
+
"model.layers.27.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 315 |
+
"model.layers.27.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 316 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 317 |
+
"model.layers.27.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 318 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 319 |
+
"model.layers.27.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 320 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 321 |
+
"model.layers.28.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 322 |
+
"model.layers.28.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 323 |
+
"model.layers.28.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 324 |
+
"model.layers.28.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 325 |
+
"model.layers.28.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 326 |
+
"model.layers.28.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 327 |
+
"model.layers.28.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 328 |
+
"model.layers.28.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 329 |
+
"model.layers.28.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 330 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 331 |
+
"model.layers.28.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 332 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 333 |
+
"model.layers.28.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 334 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 335 |
+
"model.layers.29.input_layernorm.bias": "model-00002-of-00003.safetensors",
|
| 336 |
+
"model.layers.29.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 337 |
+
"model.layers.29.mlp.fc1.bias": "model-00002-of-00003.safetensors",
|
| 338 |
+
"model.layers.29.mlp.fc1.weight": "model-00002-of-00003.safetensors",
|
| 339 |
+
"model.layers.29.mlp.fc2.bias": "model-00002-of-00003.safetensors",
|
| 340 |
+
"model.layers.29.mlp.fc2.weight": "model-00002-of-00003.safetensors",
|
| 341 |
+
"model.layers.29.self_attn.dense.bias": "model-00002-of-00003.safetensors",
|
| 342 |
+
"model.layers.29.self_attn.dense.weight": "model-00002-of-00003.safetensors",
|
| 343 |
+
"model.layers.29.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
|
| 344 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 345 |
+
"model.layers.29.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
|
| 346 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 347 |
+
"model.layers.29.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
|
| 348 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 349 |
+
"model.layers.3.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 350 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 351 |
+
"model.layers.3.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 352 |
+
"model.layers.3.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 353 |
+
"model.layers.3.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 354 |
+
"model.layers.3.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 355 |
+
"model.layers.3.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 356 |
+
"model.layers.3.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 357 |
+
"model.layers.3.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 358 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 359 |
+
"model.layers.3.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 360 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 361 |
+
"model.layers.3.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 362 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 363 |
+
"model.layers.30.input_layernorm.bias": "model-00003-of-00003.safetensors",
|
| 364 |
+
"model.layers.30.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 365 |
+
"model.layers.30.mlp.fc1.bias": "model-00003-of-00003.safetensors",
|
| 366 |
+
"model.layers.30.mlp.fc1.weight": "model-00003-of-00003.safetensors",
|
| 367 |
+
"model.layers.30.mlp.fc2.bias": "model-00003-of-00003.safetensors",
|
| 368 |
+
"model.layers.30.mlp.fc2.weight": "model-00003-of-00003.safetensors",
|
| 369 |
+
"model.layers.30.self_attn.dense.bias": "model-00003-of-00003.safetensors",
|
| 370 |
+
"model.layers.30.self_attn.dense.weight": "model-00003-of-00003.safetensors",
|
| 371 |
+
"model.layers.30.self_attn.k_proj.bias": "model-00003-of-00003.safetensors",
|
| 372 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
| 373 |
+
"model.layers.30.self_attn.q_proj.bias": "model-00003-of-00003.safetensors",
|
| 374 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
| 375 |
+
"model.layers.30.self_attn.v_proj.bias": "model-00003-of-00003.safetensors",
|
| 376 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
| 377 |
+
"model.layers.31.input_layernorm.bias": "model-00003-of-00003.safetensors",
|
| 378 |
+
"model.layers.31.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 379 |
+
"model.layers.31.mlp.fc1.bias": "model-00003-of-00003.safetensors",
|
| 380 |
+
"model.layers.31.mlp.fc1.weight": "model-00003-of-00003.safetensors",
|
| 381 |
+
"model.layers.31.mlp.fc2.bias": "model-00003-of-00003.safetensors",
|
| 382 |
+
"model.layers.31.mlp.fc2.weight": "model-00003-of-00003.safetensors",
|
| 383 |
+
"model.layers.31.self_attn.dense.bias": "model-00003-of-00003.safetensors",
|
| 384 |
+
"model.layers.31.self_attn.dense.weight": "model-00003-of-00003.safetensors",
|
| 385 |
+
"model.layers.31.self_attn.k_proj.bias": "model-00003-of-00003.safetensors",
|
| 386 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
| 387 |
+
"model.layers.31.self_attn.q_proj.bias": "model-00003-of-00003.safetensors",
|
| 388 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
| 389 |
+
"model.layers.31.self_attn.v_proj.bias": "model-00003-of-00003.safetensors",
|
| 390 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
| 391 |
+
"model.layers.4.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 392 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 393 |
+
"model.layers.4.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 394 |
+
"model.layers.4.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 395 |
+
"model.layers.4.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 396 |
+
"model.layers.4.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 397 |
+
"model.layers.4.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 398 |
+
"model.layers.4.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 399 |
+
"model.layers.4.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 400 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 401 |
+
"model.layers.4.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 402 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 403 |
+
"model.layers.4.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 404 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 405 |
+
"model.layers.5.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 406 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 407 |
+
"model.layers.5.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 408 |
+
"model.layers.5.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 409 |
+
"model.layers.5.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 410 |
+
"model.layers.5.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 411 |
+
"model.layers.5.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 412 |
+
"model.layers.5.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 413 |
+
"model.layers.5.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 414 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 415 |
+
"model.layers.5.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 416 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 417 |
+
"model.layers.5.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 418 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 419 |
+
"model.layers.6.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 420 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 421 |
+
"model.layers.6.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 422 |
+
"model.layers.6.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 423 |
+
"model.layers.6.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 424 |
+
"model.layers.6.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 425 |
+
"model.layers.6.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 426 |
+
"model.layers.6.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 427 |
+
"model.layers.6.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 428 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 429 |
+
"model.layers.6.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 430 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 431 |
+
"model.layers.6.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 432 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 433 |
+
"model.layers.7.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 434 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 435 |
+
"model.layers.7.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 436 |
+
"model.layers.7.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 437 |
+
"model.layers.7.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 438 |
+
"model.layers.7.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 439 |
+
"model.layers.7.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 440 |
+
"model.layers.7.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 441 |
+
"model.layers.7.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 442 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 443 |
+
"model.layers.7.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 444 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 445 |
+
"model.layers.7.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 446 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 447 |
+
"model.layers.8.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 448 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 449 |
+
"model.layers.8.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 450 |
+
"model.layers.8.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 451 |
+
"model.layers.8.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 452 |
+
"model.layers.8.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 453 |
+
"model.layers.8.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 454 |
+
"model.layers.8.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 455 |
+
"model.layers.8.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 456 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 457 |
+
"model.layers.8.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 458 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 459 |
+
"model.layers.8.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 460 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 461 |
+
"model.layers.9.input_layernorm.bias": "model-00001-of-00003.safetensors",
|
| 462 |
+
"model.layers.9.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 463 |
+
"model.layers.9.mlp.fc1.bias": "model-00001-of-00003.safetensors",
|
| 464 |
+
"model.layers.9.mlp.fc1.weight": "model-00001-of-00003.safetensors",
|
| 465 |
+
"model.layers.9.mlp.fc2.bias": "model-00001-of-00003.safetensors",
|
| 466 |
+
"model.layers.9.mlp.fc2.weight": "model-00001-of-00003.safetensors",
|
| 467 |
+
"model.layers.9.self_attn.dense.bias": "model-00001-of-00003.safetensors",
|
| 468 |
+
"model.layers.9.self_attn.dense.weight": "model-00001-of-00003.safetensors",
|
| 469 |
+
"model.layers.9.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
|
| 470 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 471 |
+
"model.layers.9.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
|
| 472 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 473 |
+
"model.layers.9.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
|
| 474 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-00003.safetensors"
|
| 475 |
}
|
| 476 |
}
|