valcore commited on
Commit
11d5b8c
·
verified ·
1 Parent(s): 4357472

Upload model

Browse files
BranchyModel.py ADDED
@@ -0,0 +1,381 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import torch
3
+ import logging
4
+ import torch.nn as nn
5
+ import torch.nn.functional as F
6
+ import copy
7
+
8
+ from dataclasses import dataclass
9
+ from torch import Tensor
10
+ from .BranchyModelConfig import BranchyModelConfig
11
+ from typing import List, Optional, Dict, Tuple
12
+ from transformers import AutoModelForCausalLM, PreTrainedModel
13
+ from transformers.modeling_outputs import CausalLMOutputWithPast
14
+ from transformers.utils import ModelOutput
15
+ logging.basicConfig(level=logging.INFO)
16
+ logger = logging.getLogger(__name__)
17
+
18
+ def breaking_ties(tensor: torch.Tensor):
19
+ """
20
+ Break ties in a tensor by subtracting the second highest value from the highest value.
21
+
22
+ Args:
23
+ tensor (torch.Tensor): The tensor to break ties in. shape [..., vocab_size]
24
+
25
+ Returns:
26
+ torch.Tensor: The tensor with ties broken. shape [...]
27
+
28
+ Example:
29
+ Input : Tensor of shape [head_number, batch, seq_len, vocab_size]
30
+ Output: Tensor of shape [head_number, batch, seq_len]
31
+ """
32
+ return torch.sub(torch.topk(tensor, 2, dim=-1).values[..., 0], torch.topk(tensor, 2, dim=-1).values[..., 1])
33
+
34
+ class Branch(nn.Module):
35
+ """
36
+ A branch module for use in the BranchyModel, representing an auxiliary output head attached at a specified layer
37
+ within a transformer model. Each branch processes the output of its corresponding layer and produces an output
38
+ which can be used for early exits or auxiliary tasks.
39
+
40
+ This class is designed to be flexible, allowing for different configurations of the linear layer based on the
41
+ underlying model's architecture.
42
+
43
+ Attributes:
44
+ layernorm (torch.nn.LayerNorm): Applies Layer Normalization over a mini-batch of inputs.
45
+ lm_head (torch.nn.Linear): The linear layer that maps the hidden states to the vocabulary size, producing
46
+ the output logits for each token in the sequence.
47
+
48
+ Example Usage:
49
+ # Assuming `config` is an instance of the model's configuration class with attributes `hidden_size` and
50
+ # `vocab_size` properly set.
51
+ branch = Branch(config)
52
+
53
+ # `x` is a tensor representing the output from a transformer layer, shaped as [batch_size, seq_length, hidden_size]
54
+ output_logits = branch(x)
55
+ """
56
+ def __init__(self, config: BranchyModelConfig):
57
+ """
58
+ Initializes the Branch module.
59
+
60
+ Args:
61
+ config (PretrainedConfig): The configuration object containing parameters like hidden size and vocabulary
62
+ size. This object provides the necessary settings for initializing the layer normalization and linear
63
+ layers within the Branch.
64
+ """
65
+ super().__init__()
66
+ self.layernorm: nn.LayerNorm = nn.LayerNorm(config.hidden_size, eps=config.layer_norm_eps)
67
+ self.lm_head: nn.Linear = nn.Linear(config.hidden_size, config.vocab_size, bias=True)
68
+
69
+ def forward(self, x: Tensor) -> Tensor:
70
+ """
71
+ Forward pass through the Branch module.
72
+
73
+ Args:
74
+ x (Tensor): Input tensor of shape [batch_size, seq_length, hidden_size], representing the output
75
+ from a transformer layer.
76
+
77
+ Returns:
78
+ Tensor: Output logits of shape [batch_size, seq_length, vocab_size], resulting from passing the
79
+ input through layer normalization and a linear layer.
80
+ """
81
+ x = self.layernorm(x)
82
+ x = self.lm_head(x)
83
+ return x
84
+
85
+
86
+ class BranchyModel(PreTrainedModel):
87
+ """
88
+ A wrapper class for transformer causal models, introducing branch functionality to enable conditional computation and
89
+ reduce computational load by selectively processing parts of the input through different branches.
90
+
91
+ The BranchyModel class allows for the addition of branches at specified layers within the transformer model. Each branch
92
+ can output predictions independently, enabling early exits or auxiliary tasks. This class supports different loss
93
+ functions for training these branches in a self-supervised manner, with optional penalties to encourage diversity
94
+ or reduce complexity in the branches' outputs.
95
+
96
+ Parameters:
97
+ config (BranchyModelConfig): Configuration class for BranchyModel. It contains all necessary parameters for
98
+ the model's architecture, branching locations, loss types, etc.
99
+ model (PreTrainedModel): The underlying transformer model around which the BranchyModel is built. This model
100
+ should be an instance of a class derived from `transformers.PreTrainedModel`.
101
+
102
+ Attributes:
103
+ model (PreTrainedModel): The underlying transformer model provided during initialization.
104
+ branch_locations (List[int]): Indices indicating the transformer layers after which branches are added.
105
+ penalty_weight (Optional[float]): The weight of the penalty term in the "penalized_cross_entropy" loss. This
106
+ argument must be provided and greater than 0 if "penalized_cross_entropy" is used.
107
+ window_size (int): The size of the token window that each branch processes. This allows branches to only
108
+ consider a subset of the most recent tokens, reducing the computational requirements.
109
+
110
+ Examples:
111
+ config = BranchyModelConfig(
112
+ branch_locations=[2, 4, 7],
113
+ window_size=256
114
+ )
115
+ underlying_model = AutoModelForCausalLM.from_pretrained('gpt2')
116
+ branchy_model = BranchyModel(config, underlying_model)
117
+
118
+ # For inference
119
+ inputs = tokenizer("Example input text", return_tensors="pt")
120
+ outputs = branchy_model(**inputs, fixed_output_head=2) # Use the output from the branch after the 2nd layer
121
+
122
+ # For training with self-supervision
123
+ branchy_model.train()
124
+ outputs = branchy_model(**inputs, self_supervision=True)
125
+
126
+ Note:
127
+ This class is designed to work seamlessly with the Hugging Face Transformers library. It requires a model
128
+ configuration (`BranchyModelConfig`) that extends the base configuration class from the Transformers library.
129
+ """
130
+
131
+ config_class = BranchyModelConfig
132
+
133
+ def __init__(self,
134
+ config: BranchyModelConfig):
135
+ """
136
+ Initializes the BranchyModel.
137
+ 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.
138
+
139
+ Args:
140
+ config (BranchyModelConfig): Configuration object for the branchy model, containing settings such as
141
+ branch locations, loss types, and window sizes.
142
+ model (PreTrainedModel): The underlying transformer model to which branching functionality will be added.
143
+ """
144
+ super().__init__(config)
145
+
146
+ self.model = AutoModelForCausalLM.from_pretrained(config.model_str)
147
+ # Get the number of layers in the underlying model
148
+ if hasattr(self.model.config, "n_layer") or hasattr(
149
+ self.model.config, "num_hidden_layers"
150
+ ): # If there is no n_layer in the config, there might be ways to get it from the model itself
151
+ self.num_layers = (
152
+ self.model.config.n_layer
153
+ if hasattr(self.model.config, "n_layer")
154
+ else self.model.config.num_hidden_layers
155
+ )
156
+ assert self.num_layers is not None and self.num_layers > 0, "n_layer must be a positive integer."
157
+ logger.debug(f"Number of layers in the model: {self.num_layers}")
158
+ else:
159
+ raise ValueError("cannot find n_layer in config")
160
+
161
+ assert config.branch_number > 0 and config.branch_number < self.num_layers, "branch_number must be a positive integer less than the number of layers in the model."
162
+
163
+ # If we provide only the number of branches, we will distribute them evenly across the model
164
+ if config.branch_locations is None:
165
+ interval = self.num_layers // (config.branch_number + 1)
166
+ config.branch_locations = [i * interval for i in range(1, config.branch_number+1)]
167
+
168
+ # Check that specified branch locations are within the range of the model's layers
169
+ if any([loc >= self.num_layers for loc in config.branch_locations]):
170
+ raise ValueError("Branch location exceeds the number of layers in the model.")
171
+
172
+ # Ensure the model's parameters are frozen
173
+ for param in self.model.parameters():
174
+ param.requires_grad = False
175
+
176
+ # Initialize branches at specified locations
177
+ self.branches = torch.nn.ModuleList()
178
+ # if copy_lm_head is True, we copy the last lm_head of the model instead of initializing new ones
179
+ if config.copy_lm_head:
180
+ logger.info("Fine-tuning branches")
181
+ for branch in config.branch_locations:
182
+ self.branches.append(copy.deepcopy(self.model.lm_head))
183
+ else:
184
+ for _ in config.branch_locations:
185
+ new_branch = Branch(self.model.config)
186
+ new_branch.apply(self.model._init_weights)
187
+ self.branches.append(new_branch)
188
+
189
+ for param in self.branches.parameters():
190
+ param.requires_grad = True
191
+
192
+ self.post_init()
193
+
194
+ def get_num_params(self,
195
+ return_dict: bool = True):
196
+ """
197
+ Get the number of parameters in the model.
198
+
199
+ Args:
200
+ return_dict (bool): Whether to return the number of parameters in a dictionary format. Defaults to True.
201
+
202
+ Returns:
203
+ int: The number of parameters in the model.
204
+ """
205
+ num_params = sum(p.numel() for p in self.parameters())
206
+ if return_dict:
207
+ return {"backbone": sum(p.numel() for p in self.model.parameters()), "branches": sum(p.numel() for p in self.branches.parameters()), "total": num_params}
208
+ return num_params
209
+
210
+ def forward(self,
211
+ input_ids: torch.LongTensor = None,
212
+ attention_mask: Optional[torch.Tensor] = None,
213
+ position_ids: Optional[torch.LongTensor] = None,
214
+ past_key_values: Optional[List[torch.FloatTensor]] = None,
215
+ inputs_embeds: Optional[torch.FloatTensor] = None,
216
+ labels: Optional[torch.LongTensor] = None,
217
+ use_cache: Optional[bool] = None,
218
+ output_attentions: Optional[bool] = None,
219
+ output_hidden_states: Optional[bool] = None,
220
+ return_dict: Optional[bool] = None,
221
+ head_window_size: Optional[int] = None,
222
+ ):
223
+
224
+ output_hidden_states = True
225
+ if labels is not None:
226
+ raise NotImplementedError("BranchyLLM only supports self-supervision")
227
+ outputs = self.model(
228
+ input_ids=input_ids,
229
+ attention_mask=attention_mask,
230
+ position_ids=position_ids,
231
+ past_key_values=past_key_values,
232
+ inputs_embeds=inputs_embeds,
233
+ use_cache=use_cache,
234
+ output_attentions=output_attentions,
235
+ output_hidden_states=output_hidden_states,
236
+ return_dict=return_dict,
237
+ )
238
+
239
+ if not hasattr(outputs, "hidden_states") or outputs.hidden_states is None:
240
+ raise ValueError("The model must return hidden states")
241
+
242
+ heads_logits = []
243
+
244
+ for i, branch in enumerate(self.config.branch_locations):
245
+ if head_window_size is not None:
246
+ current_hidden_state = outputs.hidden_states[branch, :, -head_window_size:, :]
247
+ else:
248
+ current_hidden_state = outputs.hidden_states[branch]
249
+ heads_logits.append(self.branches[i](current_hidden_state))
250
+ heads_logits = torch.stack(heads_logits, dim=0)
251
+
252
+ losses_dict = self.compute_self_supervision_loss(
253
+ heads_logits, outputs.logits
254
+ )
255
+
256
+ return CausalBranchyLLMOutputWithPast(
257
+ loss=losses_dict["loss"],
258
+ head_loss=losses_dict["head_losses"],
259
+ entropy=losses_dict["entropy"],
260
+ entropies=losses_dict["entropies"],
261
+ logits=outputs.logits, # shape (batch_size, seq_len, vocab_size)
262
+ head_logits=heads_logits, # shape (num_branches, batch_size, seq_len, vocab_size)
263
+ past_key_values=outputs.past_key_values,
264
+ hidden_states=outputs.hidden_states,
265
+ attentions=outputs.attentions,
266
+ )
267
+
268
+ def compute_self_supervision_loss(self,
269
+ aux_logits: torch.Tensor,
270
+ lm_logits: torch.Tensor,
271
+ ) -> Dict[str, torch.Tensor]:
272
+
273
+ last_aux_logits = aux_logits[..., -1, :]
274
+ last_lm_logits = lm_logits[..., -1, :]
275
+
276
+ losses = []
277
+ entropies = []
278
+ # Can be useful to have detailed loss per head for comparison of performance
279
+ for head_logit in last_aux_logits:
280
+ ce_loss = nn.CrossEntropyLoss(reduction="mean")(
281
+ head_logit, torch.argmax(last_lm_logits, dim=-1)
282
+ )
283
+ probas = F.softmax(head_logit, dim=-1)
284
+ log_probas = torch.log(probas + 1e-8)
285
+ assert not torch.isnan(log_probas).any(), "NaNs found in log_probas"
286
+ entropy = -torch.sum(probas * log_probas, dim=-1)
287
+ assert not torch.isnan(entropy).any(), "NaNs found in entropy before mean"
288
+ entropy = torch.mean(entropy)
289
+ entropies.append(entropy)
290
+ losses.append((1 - self.config.penalty_weight) * ce_loss - self.config.penalty_weight * entropy)
291
+
292
+ loss = torch.stack(losses, dim=0).mean(dim=-1) # TODO does it change training dynamics between mean and sum?
293
+ entropy = torch.stack(entropies, dim=0).mean(dim=-1)
294
+ return {"loss": loss,
295
+ "head_losses": torch.stack(losses, dim=0),
296
+ "entropies": torch.stack(entropies, dim=0),
297
+ "entropy": entropy
298
+ }
299
+
300
+ class BranchyCausalModel(PreTrainedModel):
301
+ """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.
302
+ """
303
+ config_class = BranchyModelConfig
304
+
305
+ def __init__(self,
306
+ config: BranchyModelConfig):
307
+ super().__init__(config)
308
+ self.model = BranchyModel(config)
309
+ self.head_thresholds = torch.tensor(config.head_thresholds).to(config.device)
310
+ if config.confidence_metric == "breaking_ties":
311
+ self.confidence_metric_fn = breaking_ties
312
+ elif config.confidence_metric == "max":
313
+ self.confidence_metric_fn = lambda x: torch.max(x, dim=-1).values
314
+ else:
315
+ raise ValueError("confidence_metric must be 'breaking_ties' or 'max'.")
316
+ self.post_init()
317
+
318
+ def forward(self,
319
+ input_ids: torch.LongTensor = None,
320
+ attention_mask: Optional[torch.Tensor] = None,
321
+ position_ids: Optional[torch.LongTensor] = None,
322
+ past_key_values: Optional[List[torch.FloatTensor]] = None,
323
+ inputs_embeds: Optional[torch.FloatTensor] = None,
324
+ labels: Optional[torch.LongTensor] = None,
325
+ use_cache: Optional[bool] = None,
326
+ output_attentions: Optional[bool] = None,
327
+ output_hidden_states: Optional[bool] = None,
328
+ return_dict: Optional[bool] = None,
329
+ head_window_size: Optional[int] = None,
330
+ ):
331
+ # TODO Only POC, actual early exit implementation should unwrap the self.model call, which means specific integration for each supported model
332
+ outputs = self.model(
333
+ input_ids=input_ids,
334
+ attention_mask=attention_mask,
335
+ position_ids=position_ids,
336
+ past_key_values=past_key_values,
337
+ inputs_embeds=inputs_embeds,
338
+ labels=labels,
339
+ use_cache=use_cache,
340
+ output_attentions=output_attentions,
341
+ output_hidden_states=output_hidden_states,
342
+ return_dict=return_dict,
343
+ head_window_size=head_window_size
344
+ )
345
+ end_logits = None
346
+
347
+ scores = self.confidence_metric_fn(outputs.head_logits)[..., -1] # shape [branches, batch]
348
+ is_early_exited = self.head_thresholds[:, None] < scores # shape [branches, batch]
349
+ is_early_exited = F.pad(is_early_exited, (0, 0, 0, 1), value=True) # shape [branches+1, batch] -> Adds a row of True at the bottom. i.e the last head is right
350
+ head_indices = torch.argmax(is_early_exited.int(), dim=0) # shape [batch]
351
+
352
+ full_logits = torch.cat([outputs.head_logits, outputs.logits.unsqueeze(0)], dim=0) # shape [branches+1, batch, seq_len, vocab_size]
353
+ #logger.info(full_logits[:,:,-1,0])
354
+ end_logits = full_logits[head_indices, torch.arange(full_logits.shape[1]), :, :] # shape [batch, seq, vocab_size]
355
+ #logger.info(full_logits[head_indices, torch.arange(full_logits.shape[1]), -1, 0])
356
+ logger.debug(f"Batch early exit heads : {head_indices}")
357
+
358
+ return CausalLMOutputWithPastAndHead(
359
+ loss=outputs.loss,
360
+ logits=end_logits,
361
+ past_key_values=outputs.past_key_values,
362
+ hidden_states=outputs.hidden_states,
363
+ attentions=outputs.attentions,
364
+ head_indices=head_indices
365
+ )
366
+
367
+ @dataclass
368
+ class CausalBranchyLLMOutputWithPast(ModelOutput):
369
+ loss: Optional[torch.Tensor] = None # Main loss
370
+ head_loss: Optional[torch.Tensor] = None
371
+ entropy: Optional[torch.Tensor] = None
372
+ entropies: Optional[Tuple[torch.Tensor]] = None
373
+ logits: torch.Tensor = None
374
+ head_logits: Optional[torch.Tensor] = None
375
+ past_key_values: Optional[Tuple[Tuple[torch.FloatTensor]]] = None
376
+ hidden_states: Optional[Tuple[torch.FloatTensor]] = None
377
+ attentions: Optional[Tuple[torch.FloatTensor]] = None
378
+
379
+ @dataclass
380
+ class CausalLMOutputWithPastAndHead(CausalLMOutputWithPast):
381
+ head_indices: Optional[torch.Tensor] = None
BranchyModelConfig.py ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import List, Optional
2
+ from transformers import PretrainedConfig
3
+ import logging
4
+
5
+ logger = logging.getLogger(__name__)
6
+
7
+ class BranchyModelConfig(PretrainedConfig):
8
+ """
9
+ Configuration class for BranchyModel. This class extends the PretrainedConfig class from the Transformers
10
+ library, providing configuration specific to models with branch functionality.
11
+
12
+ Attributes:
13
+ branch_locations (List[int]): Specifies the indices of layers after which branches are added. These indices
14
+ start from 0, and each index represents a layer in the underlying transformer model.
15
+ penalty_weight (Optional[float]): The weight of the penalty term used in the "penalized_cross_entropy" loss.
16
+ This parameter is required and must be greater than 0
17
+ window_size (int): Determines the number of tokens each branch considers from the input sequence. This allows
18
+ for reducing the computational load by limiting the context size each branch processes.
19
+
20
+ Example:
21
+ config = BranchyModelConfig(
22
+ branch_locations=[2, 4, 6],
23
+ window_size=512
24
+ )
25
+
26
+ Note:
27
+ This configuration class is specifically designed for use with the BranchyModel class, enabling flexible
28
+ and customizable branching within transformer models.
29
+ """
30
+ model_type = "branchy" # Optional, but useful for identifying the model type in the Transformers library
31
+
32
+ def __init__(
33
+ self,
34
+ model_str: str = None,
35
+ head_thresholds: Optional[List[float]] = None,
36
+ confidence_metric: Optional[str] = "breaking_ties",
37
+ branch_locations: Optional[List[int]] = None,
38
+ branch_number: Optional[int] = 3,
39
+ penalty_weight: Optional[float] = 0,
40
+ head_window_size: int = 512,
41
+ copy_lm_head: Optional[bool] = False,
42
+ **kwargs
43
+ ):
44
+ """
45
+ Initializes the BranchyModelConfig.
46
+
47
+ Args:
48
+ model_str (str): The model string to be used for the model. From Huggingface's model hub.
49
+ branch_locations (List[int], optional): Locations of the branches. Defaults to None, indicating no branches.
50
+ branch_number (Optional[int], optional): Number of branches if branch_locations is not provided. Defaults to 3.
51
+ penalty_weight (Optional[float], optional): Weight for the penalty in loss calculation.
52
+ . Defaults to None.
53
+ head_window_size (int, optional): Number of tokens each branch can see. Defaults to 512.
54
+ """
55
+ self.model_str = model_str
56
+ self.head_thresholds = head_thresholds
57
+ self.confidence_metric = confidence_metric
58
+ assert self.confidence_metric in ["breaking_ties", "max"], "confidence_metric must be 'breaking_ties' or 'max'. It should depend on how you found the thresholds."
59
+ self.branch_locations = branch_locations
60
+ self.penalty_weight = penalty_weight
61
+ self.head_window_size = head_window_size
62
+ if branch_locations is not None and branch_number is not None:
63
+ logger.warning("Both branch_locations and branch_number are provided. Using branch_locations.")
64
+ self.branch_number = branch_number if branch_locations is None else len(branch_locations)
65
+ self.copy_lm_head = copy_lm_head
66
+ #assert self.model_str is not None, "model_str must be provided."
67
+ assert self.branch_number > 0, "branch_number must be a positive integer."
68
+ assert isinstance(self.penalty_weight, float) or isinstance(self.penalty_weight, int), "penalty_weight must be a float or an integer."
69
+ assert self.penalty_weight >= 0 and self.penalty_weight <= 1, "penalty_weight must be in the range [0, 1]."
70
+ if branch_locations is not None:
71
+ assert all([isinstance(loc, int) for loc in self.branch_locations]), "Branch locations must be integers."
72
+ assert all([loc >= 0 for loc in self.branch_locations]), "Branch locations must be non-negative."
73
+ if self.head_window_size is not None:
74
+ assert self.head_window_size > 0 , "head_window_size must be a positive integer or None."
75
+ if type(self.head_thresholds) == list:
76
+ assert len(self.head_thresholds) == self.branch_number, "Number of thresholds must match number of branches."
77
+ assert all([isinstance(threshold, float) for threshold in self.head_thresholds]), "Thresholds must be floats."
78
+ super().__init__(**kwargs) # Initialize with base class parameters
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BranchyCausalModel"
4
+ ],
5
+ "auto_map": {
6
+ "AutoConfig": "BranchyModelConfig.BranchyModelConfig",
7
+ "AutoModelForCausalLM": "BranchyModel.BranchyCausalModel"
8
+ },
9
+ "branch_locations": [
10
+ 6,
11
+ 12,
12
+ 18,
13
+ 24
14
+ ],
15
+ "branch_number": 4,
16
+ "confidence_metric": "breaking_ties",
17
+ "copy_lm_head": false,
18
+ "device": "cuda:0",
19
+ "head_thresholds": [
20
+ 10.0,
21
+ 10.0,
22
+ 10.0,
23
+ 10.0
24
+ ],
25
+ "head_window_size": 512,
26
+ "model_str": "microsoft/phi-2",
27
+ "model_type": "branchy",
28
+ "penalty_weight": 0.9,
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.40.2"
31
+ }
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cff2a27adc1e9a8965a31a8406a6bee8df4ea5bdf2df018a460218abba1ac64d
3
+ size 4982357920
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b7879268f3bd6382559c9cbbb7d7252381329e068804ec6ebc6d21ee2995e5b
3
+ size 4982544624
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3adcc60cfcc21b897661ad4e89202f22c88b47682f665c8aa664cb0f6a044edc
3
+ size 3251942824
model.safetensors.index.json ADDED
@@ -0,0 +1,476 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 13216788480
4
+ },
5
+ "weight_map": {
6
+ "model.branches.0.layernorm.bias": "model-00003-of-00003.safetensors",
7
+ "model.branches.0.layernorm.weight": "model-00003-of-00003.safetensors",
8
+ "model.branches.0.lm_head.bias": "model-00003-of-00003.safetensors",
9
+ "model.branches.0.lm_head.weight": "model-00003-of-00003.safetensors",
10
+ "model.branches.1.layernorm.bias": "model-00003-of-00003.safetensors",
11
+ "model.branches.1.layernorm.weight": "model-00003-of-00003.safetensors",
12
+ "model.branches.1.lm_head.bias": "model-00003-of-00003.safetensors",
13
+ "model.branches.1.lm_head.weight": "model-00003-of-00003.safetensors",
14
+ "model.branches.2.layernorm.bias": "model-00003-of-00003.safetensors",
15
+ "model.branches.2.layernorm.weight": "model-00003-of-00003.safetensors",
16
+ "model.branches.2.lm_head.bias": "model-00003-of-00003.safetensors",
17
+ "model.branches.2.lm_head.weight": "model-00003-of-00003.safetensors",
18
+ "model.branches.3.layernorm.bias": "model-00003-of-00003.safetensors",
19
+ "model.branches.3.layernorm.weight": "model-00003-of-00003.safetensors",
20
+ "model.branches.3.lm_head.bias": "model-00003-of-00003.safetensors",
21
+ "model.branches.3.lm_head.weight": "model-00003-of-00003.safetensors",
22
+ "model.model.lm_head.bias": "model-00003-of-00003.safetensors",
23
+ "model.model.lm_head.weight": "model-00003-of-00003.safetensors",
24
+ "model.model.model.embed_tokens.weight": "model-00001-of-00003.safetensors",
25
+ "model.model.model.final_layernorm.bias": "model-00003-of-00003.safetensors",
26
+ "model.model.model.final_layernorm.weight": "model-00003-of-00003.safetensors",
27
+ "model.model.model.layers.0.input_layernorm.bias": "model-00001-of-00003.safetensors",
28
+ "model.model.model.layers.0.input_layernorm.weight": "model-00001-of-00003.safetensors",
29
+ "model.model.model.layers.0.mlp.fc1.bias": "model-00001-of-00003.safetensors",
30
+ "model.model.model.layers.0.mlp.fc1.weight": "model-00001-of-00003.safetensors",
31
+ "model.model.model.layers.0.mlp.fc2.bias": "model-00001-of-00003.safetensors",
32
+ "model.model.model.layers.0.mlp.fc2.weight": "model-00001-of-00003.safetensors",
33
+ "model.model.model.layers.0.self_attn.dense.bias": "model-00001-of-00003.safetensors",
34
+ "model.model.model.layers.0.self_attn.dense.weight": "model-00001-of-00003.safetensors",
35
+ "model.model.model.layers.0.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
36
+ "model.model.model.layers.0.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
37
+ "model.model.model.layers.0.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
38
+ "model.model.model.layers.0.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
39
+ "model.model.model.layers.0.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
40
+ "model.model.model.layers.0.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
41
+ "model.model.model.layers.1.input_layernorm.bias": "model-00001-of-00003.safetensors",
42
+ "model.model.model.layers.1.input_layernorm.weight": "model-00001-of-00003.safetensors",
43
+ "model.model.model.layers.1.mlp.fc1.bias": "model-00001-of-00003.safetensors",
44
+ "model.model.model.layers.1.mlp.fc1.weight": "model-00001-of-00003.safetensors",
45
+ "model.model.model.layers.1.mlp.fc2.bias": "model-00001-of-00003.safetensors",
46
+ "model.model.model.layers.1.mlp.fc2.weight": "model-00001-of-00003.safetensors",
47
+ "model.model.model.layers.1.self_attn.dense.bias": "model-00001-of-00003.safetensors",
48
+ "model.model.model.layers.1.self_attn.dense.weight": "model-00001-of-00003.safetensors",
49
+ "model.model.model.layers.1.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
50
+ "model.model.model.layers.1.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
51
+ "model.model.model.layers.1.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
52
+ "model.model.model.layers.1.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
53
+ "model.model.model.layers.1.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
54
+ "model.model.model.layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
55
+ "model.model.model.layers.10.input_layernorm.bias": "model-00001-of-00003.safetensors",
56
+ "model.model.model.layers.10.input_layernorm.weight": "model-00001-of-00003.safetensors",
57
+ "model.model.model.layers.10.mlp.fc1.bias": "model-00001-of-00003.safetensors",
58
+ "model.model.model.layers.10.mlp.fc1.weight": "model-00001-of-00003.safetensors",
59
+ "model.model.model.layers.10.mlp.fc2.bias": "model-00001-of-00003.safetensors",
60
+ "model.model.model.layers.10.mlp.fc2.weight": "model-00001-of-00003.safetensors",
61
+ "model.model.model.layers.10.self_attn.dense.bias": "model-00001-of-00003.safetensors",
62
+ "model.model.model.layers.10.self_attn.dense.weight": "model-00001-of-00003.safetensors",
63
+ "model.model.model.layers.10.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
64
+ "model.model.model.layers.10.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
65
+ "model.model.model.layers.10.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
66
+ "model.model.model.layers.10.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
67
+ "model.model.model.layers.10.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
68
+ "model.model.model.layers.10.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
69
+ "model.model.model.layers.11.input_layernorm.bias": "model-00001-of-00003.safetensors",
70
+ "model.model.model.layers.11.input_layernorm.weight": "model-00001-of-00003.safetensors",
71
+ "model.model.model.layers.11.mlp.fc1.bias": "model-00001-of-00003.safetensors",
72
+ "model.model.model.layers.11.mlp.fc1.weight": "model-00001-of-00003.safetensors",
73
+ "model.model.model.layers.11.mlp.fc2.bias": "model-00001-of-00003.safetensors",
74
+ "model.model.model.layers.11.mlp.fc2.weight": "model-00001-of-00003.safetensors",
75
+ "model.model.model.layers.11.self_attn.dense.bias": "model-00001-of-00003.safetensors",
76
+ "model.model.model.layers.11.self_attn.dense.weight": "model-00001-of-00003.safetensors",
77
+ "model.model.model.layers.11.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
78
+ "model.model.model.layers.11.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
79
+ "model.model.model.layers.11.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
80
+ "model.model.model.layers.11.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
81
+ "model.model.model.layers.11.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
82
+ "model.model.model.layers.11.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
83
+ "model.model.model.layers.12.input_layernorm.bias": "model-00001-of-00003.safetensors",
84
+ "model.model.model.layers.12.input_layernorm.weight": "model-00001-of-00003.safetensors",
85
+ "model.model.model.layers.12.mlp.fc1.bias": "model-00001-of-00003.safetensors",
86
+ "model.model.model.layers.12.mlp.fc1.weight": "model-00001-of-00003.safetensors",
87
+ "model.model.model.layers.12.mlp.fc2.bias": "model-00001-of-00003.safetensors",
88
+ "model.model.model.layers.12.mlp.fc2.weight": "model-00001-of-00003.safetensors",
89
+ "model.model.model.layers.12.self_attn.dense.bias": "model-00001-of-00003.safetensors",
90
+ "model.model.model.layers.12.self_attn.dense.weight": "model-00001-of-00003.safetensors",
91
+ "model.model.model.layers.12.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
92
+ "model.model.model.layers.12.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
93
+ "model.model.model.layers.12.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
94
+ "model.model.model.layers.12.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
95
+ "model.model.model.layers.12.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
96
+ "model.model.model.layers.12.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
97
+ "model.model.model.layers.13.input_layernorm.bias": "model-00001-of-00003.safetensors",
98
+ "model.model.model.layers.13.input_layernorm.weight": "model-00001-of-00003.safetensors",
99
+ "model.model.model.layers.13.mlp.fc1.bias": "model-00001-of-00003.safetensors",
100
+ "model.model.model.layers.13.mlp.fc1.weight": "model-00001-of-00003.safetensors",
101
+ "model.model.model.layers.13.mlp.fc2.bias": "model-00001-of-00003.safetensors",
102
+ "model.model.model.layers.13.mlp.fc2.weight": "model-00001-of-00003.safetensors",
103
+ "model.model.model.layers.13.self_attn.dense.bias": "model-00001-of-00003.safetensors",
104
+ "model.model.model.layers.13.self_attn.dense.weight": "model-00001-of-00003.safetensors",
105
+ "model.model.model.layers.13.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
106
+ "model.model.model.layers.13.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
107
+ "model.model.model.layers.13.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
108
+ "model.model.model.layers.13.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
109
+ "model.model.model.layers.13.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
110
+ "model.model.model.layers.13.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
111
+ "model.model.model.layers.14.input_layernorm.bias": "model-00002-of-00003.safetensors",
112
+ "model.model.model.layers.14.input_layernorm.weight": "model-00002-of-00003.safetensors",
113
+ "model.model.model.layers.14.mlp.fc1.bias": "model-00002-of-00003.safetensors",
114
+ "model.model.model.layers.14.mlp.fc1.weight": "model-00002-of-00003.safetensors",
115
+ "model.model.model.layers.14.mlp.fc2.bias": "model-00002-of-00003.safetensors",
116
+ "model.model.model.layers.14.mlp.fc2.weight": "model-00002-of-00003.safetensors",
117
+ "model.model.model.layers.14.self_attn.dense.bias": "model-00002-of-00003.safetensors",
118
+ "model.model.model.layers.14.self_attn.dense.weight": "model-00002-of-00003.safetensors",
119
+ "model.model.model.layers.14.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
120
+ "model.model.model.layers.14.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
121
+ "model.model.model.layers.14.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
122
+ "model.model.model.layers.14.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
123
+ "model.model.model.layers.14.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
124
+ "model.model.model.layers.14.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
125
+ "model.model.model.layers.15.input_layernorm.bias": "model-00002-of-00003.safetensors",
126
+ "model.model.model.layers.15.input_layernorm.weight": "model-00002-of-00003.safetensors",
127
+ "model.model.model.layers.15.mlp.fc1.bias": "model-00002-of-00003.safetensors",
128
+ "model.model.model.layers.15.mlp.fc1.weight": "model-00002-of-00003.safetensors",
129
+ "model.model.model.layers.15.mlp.fc2.bias": "model-00002-of-00003.safetensors",
130
+ "model.model.model.layers.15.mlp.fc2.weight": "model-00002-of-00003.safetensors",
131
+ "model.model.model.layers.15.self_attn.dense.bias": "model-00002-of-00003.safetensors",
132
+ "model.model.model.layers.15.self_attn.dense.weight": "model-00002-of-00003.safetensors",
133
+ "model.model.model.layers.15.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
134
+ "model.model.model.layers.15.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
135
+ "model.model.model.layers.15.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
136
+ "model.model.model.layers.15.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
137
+ "model.model.model.layers.15.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
138
+ "model.model.model.layers.15.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
139
+ "model.model.model.layers.16.input_layernorm.bias": "model-00002-of-00003.safetensors",
140
+ "model.model.model.layers.16.input_layernorm.weight": "model-00002-of-00003.safetensors",
141
+ "model.model.model.layers.16.mlp.fc1.bias": "model-00002-of-00003.safetensors",
142
+ "model.model.model.layers.16.mlp.fc1.weight": "model-00002-of-00003.safetensors",
143
+ "model.model.model.layers.16.mlp.fc2.bias": "model-00002-of-00003.safetensors",
144
+ "model.model.model.layers.16.mlp.fc2.weight": "model-00002-of-00003.safetensors",
145
+ "model.model.model.layers.16.self_attn.dense.bias": "model-00002-of-00003.safetensors",
146
+ "model.model.model.layers.16.self_attn.dense.weight": "model-00002-of-00003.safetensors",
147
+ "model.model.model.layers.16.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
148
+ "model.model.model.layers.16.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
149
+ "model.model.model.layers.16.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
150
+ "model.model.model.layers.16.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
151
+ "model.model.model.layers.16.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
152
+ "model.model.model.layers.16.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
153
+ "model.model.model.layers.17.input_layernorm.bias": "model-00002-of-00003.safetensors",
154
+ "model.model.model.layers.17.input_layernorm.weight": "model-00002-of-00003.safetensors",
155
+ "model.model.model.layers.17.mlp.fc1.bias": "model-00002-of-00003.safetensors",
156
+ "model.model.model.layers.17.mlp.fc1.weight": "model-00002-of-00003.safetensors",
157
+ "model.model.model.layers.17.mlp.fc2.bias": "model-00002-of-00003.safetensors",
158
+ "model.model.model.layers.17.mlp.fc2.weight": "model-00002-of-00003.safetensors",
159
+ "model.model.model.layers.17.self_attn.dense.bias": "model-00002-of-00003.safetensors",
160
+ "model.model.model.layers.17.self_attn.dense.weight": "model-00002-of-00003.safetensors",
161
+ "model.model.model.layers.17.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
162
+ "model.model.model.layers.17.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
163
+ "model.model.model.layers.17.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
164
+ "model.model.model.layers.17.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
165
+ "model.model.model.layers.17.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
166
+ "model.model.model.layers.17.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
167
+ "model.model.model.layers.18.input_layernorm.bias": "model-00002-of-00003.safetensors",
168
+ "model.model.model.layers.18.input_layernorm.weight": "model-00002-of-00003.safetensors",
169
+ "model.model.model.layers.18.mlp.fc1.bias": "model-00002-of-00003.safetensors",
170
+ "model.model.model.layers.18.mlp.fc1.weight": "model-00002-of-00003.safetensors",
171
+ "model.model.model.layers.18.mlp.fc2.bias": "model-00002-of-00003.safetensors",
172
+ "model.model.model.layers.18.mlp.fc2.weight": "model-00002-of-00003.safetensors",
173
+ "model.model.model.layers.18.self_attn.dense.bias": "model-00002-of-00003.safetensors",
174
+ "model.model.model.layers.18.self_attn.dense.weight": "model-00002-of-00003.safetensors",
175
+ "model.model.model.layers.18.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
176
+ "model.model.model.layers.18.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
177
+ "model.model.model.layers.18.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
178
+ "model.model.model.layers.18.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
179
+ "model.model.model.layers.18.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
180
+ "model.model.model.layers.18.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
181
+ "model.model.model.layers.19.input_layernorm.bias": "model-00002-of-00003.safetensors",
182
+ "model.model.model.layers.19.input_layernorm.weight": "model-00002-of-00003.safetensors",
183
+ "model.model.model.layers.19.mlp.fc1.bias": "model-00002-of-00003.safetensors",
184
+ "model.model.model.layers.19.mlp.fc1.weight": "model-00002-of-00003.safetensors",
185
+ "model.model.model.layers.19.mlp.fc2.bias": "model-00002-of-00003.safetensors",
186
+ "model.model.model.layers.19.mlp.fc2.weight": "model-00002-of-00003.safetensors",
187
+ "model.model.model.layers.19.self_attn.dense.bias": "model-00002-of-00003.safetensors",
188
+ "model.model.model.layers.19.self_attn.dense.weight": "model-00002-of-00003.safetensors",
189
+ "model.model.model.layers.19.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
190
+ "model.model.model.layers.19.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
191
+ "model.model.model.layers.19.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
192
+ "model.model.model.layers.19.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
193
+ "model.model.model.layers.19.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
194
+ "model.model.model.layers.19.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
195
+ "model.model.model.layers.2.input_layernorm.bias": "model-00001-of-00003.safetensors",
196
+ "model.model.model.layers.2.input_layernorm.weight": "model-00001-of-00003.safetensors",
197
+ "model.model.model.layers.2.mlp.fc1.bias": "model-00001-of-00003.safetensors",
198
+ "model.model.model.layers.2.mlp.fc1.weight": "model-00001-of-00003.safetensors",
199
+ "model.model.model.layers.2.mlp.fc2.bias": "model-00001-of-00003.safetensors",
200
+ "model.model.model.layers.2.mlp.fc2.weight": "model-00001-of-00003.safetensors",
201
+ "model.model.model.layers.2.self_attn.dense.bias": "model-00001-of-00003.safetensors",
202
+ "model.model.model.layers.2.self_attn.dense.weight": "model-00001-of-00003.safetensors",
203
+ "model.model.model.layers.2.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
204
+ "model.model.model.layers.2.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
205
+ "model.model.model.layers.2.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
206
+ "model.model.model.layers.2.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
207
+ "model.model.model.layers.2.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
208
+ "model.model.model.layers.2.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
209
+ "model.model.model.layers.20.input_layernorm.bias": "model-00002-of-00003.safetensors",
210
+ "model.model.model.layers.20.input_layernorm.weight": "model-00002-of-00003.safetensors",
211
+ "model.model.model.layers.20.mlp.fc1.bias": "model-00002-of-00003.safetensors",
212
+ "model.model.model.layers.20.mlp.fc1.weight": "model-00002-of-00003.safetensors",
213
+ "model.model.model.layers.20.mlp.fc2.bias": "model-00002-of-00003.safetensors",
214
+ "model.model.model.layers.20.mlp.fc2.weight": "model-00002-of-00003.safetensors",
215
+ "model.model.model.layers.20.self_attn.dense.bias": "model-00002-of-00003.safetensors",
216
+ "model.model.model.layers.20.self_attn.dense.weight": "model-00002-of-00003.safetensors",
217
+ "model.model.model.layers.20.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
218
+ "model.model.model.layers.20.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
219
+ "model.model.model.layers.20.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
220
+ "model.model.model.layers.20.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
221
+ "model.model.model.layers.20.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
222
+ "model.model.model.layers.20.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
223
+ "model.model.model.layers.21.input_layernorm.bias": "model-00002-of-00003.safetensors",
224
+ "model.model.model.layers.21.input_layernorm.weight": "model-00002-of-00003.safetensors",
225
+ "model.model.model.layers.21.mlp.fc1.bias": "model-00002-of-00003.safetensors",
226
+ "model.model.model.layers.21.mlp.fc1.weight": "model-00002-of-00003.safetensors",
227
+ "model.model.model.layers.21.mlp.fc2.bias": "model-00002-of-00003.safetensors",
228
+ "model.model.model.layers.21.mlp.fc2.weight": "model-00002-of-00003.safetensors",
229
+ "model.model.model.layers.21.self_attn.dense.bias": "model-00002-of-00003.safetensors",
230
+ "model.model.model.layers.21.self_attn.dense.weight": "model-00002-of-00003.safetensors",
231
+ "model.model.model.layers.21.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
232
+ "model.model.model.layers.21.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
233
+ "model.model.model.layers.21.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
234
+ "model.model.model.layers.21.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
235
+ "model.model.model.layers.21.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
236
+ "model.model.model.layers.21.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
237
+ "model.model.model.layers.22.input_layernorm.bias": "model-00002-of-00003.safetensors",
238
+ "model.model.model.layers.22.input_layernorm.weight": "model-00002-of-00003.safetensors",
239
+ "model.model.model.layers.22.mlp.fc1.bias": "model-00002-of-00003.safetensors",
240
+ "model.model.model.layers.22.mlp.fc1.weight": "model-00002-of-00003.safetensors",
241
+ "model.model.model.layers.22.mlp.fc2.bias": "model-00002-of-00003.safetensors",
242
+ "model.model.model.layers.22.mlp.fc2.weight": "model-00002-of-00003.safetensors",
243
+ "model.model.model.layers.22.self_attn.dense.bias": "model-00002-of-00003.safetensors",
244
+ "model.model.model.layers.22.self_attn.dense.weight": "model-00002-of-00003.safetensors",
245
+ "model.model.model.layers.22.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
246
+ "model.model.model.layers.22.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
247
+ "model.model.model.layers.22.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
248
+ "model.model.model.layers.22.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
249
+ "model.model.model.layers.22.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
250
+ "model.model.model.layers.22.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
251
+ "model.model.model.layers.23.input_layernorm.bias": "model-00002-of-00003.safetensors",
252
+ "model.model.model.layers.23.input_layernorm.weight": "model-00002-of-00003.safetensors",
253
+ "model.model.model.layers.23.mlp.fc1.bias": "model-00002-of-00003.safetensors",
254
+ "model.model.model.layers.23.mlp.fc1.weight": "model-00002-of-00003.safetensors",
255
+ "model.model.model.layers.23.mlp.fc2.bias": "model-00002-of-00003.safetensors",
256
+ "model.model.model.layers.23.mlp.fc2.weight": "model-00002-of-00003.safetensors",
257
+ "model.model.model.layers.23.self_attn.dense.bias": "model-00002-of-00003.safetensors",
258
+ "model.model.model.layers.23.self_attn.dense.weight": "model-00002-of-00003.safetensors",
259
+ "model.model.model.layers.23.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
260
+ "model.model.model.layers.23.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
261
+ "model.model.model.layers.23.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
262
+ "model.model.model.layers.23.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
263
+ "model.model.model.layers.23.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
264
+ "model.model.model.layers.23.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
265
+ "model.model.model.layers.24.input_layernorm.bias": "model-00002-of-00003.safetensors",
266
+ "model.model.model.layers.24.input_layernorm.weight": "model-00002-of-00003.safetensors",
267
+ "model.model.model.layers.24.mlp.fc1.bias": "model-00002-of-00003.safetensors",
268
+ "model.model.model.layers.24.mlp.fc1.weight": "model-00002-of-00003.safetensors",
269
+ "model.model.model.layers.24.mlp.fc2.bias": "model-00002-of-00003.safetensors",
270
+ "model.model.model.layers.24.mlp.fc2.weight": "model-00002-of-00003.safetensors",
271
+ "model.model.model.layers.24.self_attn.dense.bias": "model-00002-of-00003.safetensors",
272
+ "model.model.model.layers.24.self_attn.dense.weight": "model-00002-of-00003.safetensors",
273
+ "model.model.model.layers.24.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
274
+ "model.model.model.layers.24.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
275
+ "model.model.model.layers.24.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
276
+ "model.model.model.layers.24.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
277
+ "model.model.model.layers.24.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
278
+ "model.model.model.layers.24.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
279
+ "model.model.model.layers.25.input_layernorm.bias": "model-00002-of-00003.safetensors",
280
+ "model.model.model.layers.25.input_layernorm.weight": "model-00002-of-00003.safetensors",
281
+ "model.model.model.layers.25.mlp.fc1.bias": "model-00002-of-00003.safetensors",
282
+ "model.model.model.layers.25.mlp.fc1.weight": "model-00002-of-00003.safetensors",
283
+ "model.model.model.layers.25.mlp.fc2.bias": "model-00002-of-00003.safetensors",
284
+ "model.model.model.layers.25.mlp.fc2.weight": "model-00002-of-00003.safetensors",
285
+ "model.model.model.layers.25.self_attn.dense.bias": "model-00002-of-00003.safetensors",
286
+ "model.model.model.layers.25.self_attn.dense.weight": "model-00002-of-00003.safetensors",
287
+ "model.model.model.layers.25.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
288
+ "model.model.model.layers.25.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
289
+ "model.model.model.layers.25.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
290
+ "model.model.model.layers.25.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
291
+ "model.model.model.layers.25.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
292
+ "model.model.model.layers.25.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
293
+ "model.model.model.layers.26.input_layernorm.bias": "model-00002-of-00003.safetensors",
294
+ "model.model.model.layers.26.input_layernorm.weight": "model-00002-of-00003.safetensors",
295
+ "model.model.model.layers.26.mlp.fc1.bias": "model-00002-of-00003.safetensors",
296
+ "model.model.model.layers.26.mlp.fc1.weight": "model-00002-of-00003.safetensors",
297
+ "model.model.model.layers.26.mlp.fc2.bias": "model-00002-of-00003.safetensors",
298
+ "model.model.model.layers.26.mlp.fc2.weight": "model-00002-of-00003.safetensors",
299
+ "model.model.model.layers.26.self_attn.dense.bias": "model-00002-of-00003.safetensors",
300
+ "model.model.model.layers.26.self_attn.dense.weight": "model-00002-of-00003.safetensors",
301
+ "model.model.model.layers.26.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
302
+ "model.model.model.layers.26.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
303
+ "model.model.model.layers.26.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
304
+ "model.model.model.layers.26.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
305
+ "model.model.model.layers.26.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
306
+ "model.model.model.layers.26.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
307
+ "model.model.model.layers.27.input_layernorm.bias": "model-00002-of-00003.safetensors",
308
+ "model.model.model.layers.27.input_layernorm.weight": "model-00002-of-00003.safetensors",
309
+ "model.model.model.layers.27.mlp.fc1.bias": "model-00002-of-00003.safetensors",
310
+ "model.model.model.layers.27.mlp.fc1.weight": "model-00002-of-00003.safetensors",
311
+ "model.model.model.layers.27.mlp.fc2.bias": "model-00002-of-00003.safetensors",
312
+ "model.model.model.layers.27.mlp.fc2.weight": "model-00002-of-00003.safetensors",
313
+ "model.model.model.layers.27.self_attn.dense.bias": "model-00002-of-00003.safetensors",
314
+ "model.model.model.layers.27.self_attn.dense.weight": "model-00002-of-00003.safetensors",
315
+ "model.model.model.layers.27.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
316
+ "model.model.model.layers.27.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
317
+ "model.model.model.layers.27.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
318
+ "model.model.model.layers.27.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
319
+ "model.model.model.layers.27.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
320
+ "model.model.model.layers.27.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
321
+ "model.model.model.layers.28.input_layernorm.bias": "model-00002-of-00003.safetensors",
322
+ "model.model.model.layers.28.input_layernorm.weight": "model-00002-of-00003.safetensors",
323
+ "model.model.model.layers.28.mlp.fc1.bias": "model-00002-of-00003.safetensors",
324
+ "model.model.model.layers.28.mlp.fc1.weight": "model-00002-of-00003.safetensors",
325
+ "model.model.model.layers.28.mlp.fc2.bias": "model-00002-of-00003.safetensors",
326
+ "model.model.model.layers.28.mlp.fc2.weight": "model-00002-of-00003.safetensors",
327
+ "model.model.model.layers.28.self_attn.dense.bias": "model-00002-of-00003.safetensors",
328
+ "model.model.model.layers.28.self_attn.dense.weight": "model-00002-of-00003.safetensors",
329
+ "model.model.model.layers.28.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
330
+ "model.model.model.layers.28.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
331
+ "model.model.model.layers.28.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
332
+ "model.model.model.layers.28.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
333
+ "model.model.model.layers.28.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
334
+ "model.model.model.layers.28.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
335
+ "model.model.model.layers.29.input_layernorm.bias": "model-00002-of-00003.safetensors",
336
+ "model.model.model.layers.29.input_layernorm.weight": "model-00002-of-00003.safetensors",
337
+ "model.model.model.layers.29.mlp.fc1.bias": "model-00002-of-00003.safetensors",
338
+ "model.model.model.layers.29.mlp.fc1.weight": "model-00002-of-00003.safetensors",
339
+ "model.model.model.layers.29.mlp.fc2.bias": "model-00002-of-00003.safetensors",
340
+ "model.model.model.layers.29.mlp.fc2.weight": "model-00002-of-00003.safetensors",
341
+ "model.model.model.layers.29.self_attn.dense.bias": "model-00002-of-00003.safetensors",
342
+ "model.model.model.layers.29.self_attn.dense.weight": "model-00002-of-00003.safetensors",
343
+ "model.model.model.layers.29.self_attn.k_proj.bias": "model-00002-of-00003.safetensors",
344
+ "model.model.model.layers.29.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
345
+ "model.model.model.layers.29.self_attn.q_proj.bias": "model-00002-of-00003.safetensors",
346
+ "model.model.model.layers.29.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
347
+ "model.model.model.layers.29.self_attn.v_proj.bias": "model-00002-of-00003.safetensors",
348
+ "model.model.model.layers.29.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
349
+ "model.model.model.layers.3.input_layernorm.bias": "model-00001-of-00003.safetensors",
350
+ "model.model.model.layers.3.input_layernorm.weight": "model-00001-of-00003.safetensors",
351
+ "model.model.model.layers.3.mlp.fc1.bias": "model-00001-of-00003.safetensors",
352
+ "model.model.model.layers.3.mlp.fc1.weight": "model-00001-of-00003.safetensors",
353
+ "model.model.model.layers.3.mlp.fc2.bias": "model-00001-of-00003.safetensors",
354
+ "model.model.model.layers.3.mlp.fc2.weight": "model-00001-of-00003.safetensors",
355
+ "model.model.model.layers.3.self_attn.dense.bias": "model-00001-of-00003.safetensors",
356
+ "model.model.model.layers.3.self_attn.dense.weight": "model-00001-of-00003.safetensors",
357
+ "model.model.model.layers.3.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
358
+ "model.model.model.layers.3.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
359
+ "model.model.model.layers.3.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
360
+ "model.model.model.layers.3.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
361
+ "model.model.model.layers.3.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
362
+ "model.model.model.layers.3.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
363
+ "model.model.model.layers.30.input_layernorm.bias": "model-00003-of-00003.safetensors",
364
+ "model.model.model.layers.30.input_layernorm.weight": "model-00003-of-00003.safetensors",
365
+ "model.model.model.layers.30.mlp.fc1.bias": "model-00003-of-00003.safetensors",
366
+ "model.model.model.layers.30.mlp.fc1.weight": "model-00003-of-00003.safetensors",
367
+ "model.model.model.layers.30.mlp.fc2.bias": "model-00003-of-00003.safetensors",
368
+ "model.model.model.layers.30.mlp.fc2.weight": "model-00003-of-00003.safetensors",
369
+ "model.model.model.layers.30.self_attn.dense.bias": "model-00003-of-00003.safetensors",
370
+ "model.model.model.layers.30.self_attn.dense.weight": "model-00003-of-00003.safetensors",
371
+ "model.model.model.layers.30.self_attn.k_proj.bias": "model-00003-of-00003.safetensors",
372
+ "model.model.model.layers.30.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
373
+ "model.model.model.layers.30.self_attn.q_proj.bias": "model-00003-of-00003.safetensors",
374
+ "model.model.model.layers.30.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
375
+ "model.model.model.layers.30.self_attn.v_proj.bias": "model-00003-of-00003.safetensors",
376
+ "model.model.model.layers.30.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
377
+ "model.model.model.layers.31.input_layernorm.bias": "model-00003-of-00003.safetensors",
378
+ "model.model.model.layers.31.input_layernorm.weight": "model-00003-of-00003.safetensors",
379
+ "model.model.model.layers.31.mlp.fc1.bias": "model-00003-of-00003.safetensors",
380
+ "model.model.model.layers.31.mlp.fc1.weight": "model-00003-of-00003.safetensors",
381
+ "model.model.model.layers.31.mlp.fc2.bias": "model-00003-of-00003.safetensors",
382
+ "model.model.model.layers.31.mlp.fc2.weight": "model-00003-of-00003.safetensors",
383
+ "model.model.model.layers.31.self_attn.dense.bias": "model-00003-of-00003.safetensors",
384
+ "model.model.model.layers.31.self_attn.dense.weight": "model-00003-of-00003.safetensors",
385
+ "model.model.model.layers.31.self_attn.k_proj.bias": "model-00003-of-00003.safetensors",
386
+ "model.model.model.layers.31.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
387
+ "model.model.model.layers.31.self_attn.q_proj.bias": "model-00003-of-00003.safetensors",
388
+ "model.model.model.layers.31.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
389
+ "model.model.model.layers.31.self_attn.v_proj.bias": "model-00003-of-00003.safetensors",
390
+ "model.model.model.layers.31.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
391
+ "model.model.model.layers.4.input_layernorm.bias": "model-00001-of-00003.safetensors",
392
+ "model.model.model.layers.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
393
+ "model.model.model.layers.4.mlp.fc1.bias": "model-00001-of-00003.safetensors",
394
+ "model.model.model.layers.4.mlp.fc1.weight": "model-00001-of-00003.safetensors",
395
+ "model.model.model.layers.4.mlp.fc2.bias": "model-00001-of-00003.safetensors",
396
+ "model.model.model.layers.4.mlp.fc2.weight": "model-00001-of-00003.safetensors",
397
+ "model.model.model.layers.4.self_attn.dense.bias": "model-00001-of-00003.safetensors",
398
+ "model.model.model.layers.4.self_attn.dense.weight": "model-00001-of-00003.safetensors",
399
+ "model.model.model.layers.4.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
400
+ "model.model.model.layers.4.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
401
+ "model.model.model.layers.4.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
402
+ "model.model.model.layers.4.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
403
+ "model.model.model.layers.4.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
404
+ "model.model.model.layers.4.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
405
+ "model.model.model.layers.5.input_layernorm.bias": "model-00001-of-00003.safetensors",
406
+ "model.model.model.layers.5.input_layernorm.weight": "model-00001-of-00003.safetensors",
407
+ "model.model.model.layers.5.mlp.fc1.bias": "model-00001-of-00003.safetensors",
408
+ "model.model.model.layers.5.mlp.fc1.weight": "model-00001-of-00003.safetensors",
409
+ "model.model.model.layers.5.mlp.fc2.bias": "model-00001-of-00003.safetensors",
410
+ "model.model.model.layers.5.mlp.fc2.weight": "model-00001-of-00003.safetensors",
411
+ "model.model.model.layers.5.self_attn.dense.bias": "model-00001-of-00003.safetensors",
412
+ "model.model.model.layers.5.self_attn.dense.weight": "model-00001-of-00003.safetensors",
413
+ "model.model.model.layers.5.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
414
+ "model.model.model.layers.5.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
415
+ "model.model.model.layers.5.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
416
+ "model.model.model.layers.5.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
417
+ "model.model.model.layers.5.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
418
+ "model.model.model.layers.5.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
419
+ "model.model.model.layers.6.input_layernorm.bias": "model-00001-of-00003.safetensors",
420
+ "model.model.model.layers.6.input_layernorm.weight": "model-00001-of-00003.safetensors",
421
+ "model.model.model.layers.6.mlp.fc1.bias": "model-00001-of-00003.safetensors",
422
+ "model.model.model.layers.6.mlp.fc1.weight": "model-00001-of-00003.safetensors",
423
+ "model.model.model.layers.6.mlp.fc2.bias": "model-00001-of-00003.safetensors",
424
+ "model.model.model.layers.6.mlp.fc2.weight": "model-00001-of-00003.safetensors",
425
+ "model.model.model.layers.6.self_attn.dense.bias": "model-00001-of-00003.safetensors",
426
+ "model.model.model.layers.6.self_attn.dense.weight": "model-00001-of-00003.safetensors",
427
+ "model.model.model.layers.6.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
428
+ "model.model.model.layers.6.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
429
+ "model.model.model.layers.6.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
430
+ "model.model.model.layers.6.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
431
+ "model.model.model.layers.6.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
432
+ "model.model.model.layers.6.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
433
+ "model.model.model.layers.7.input_layernorm.bias": "model-00001-of-00003.safetensors",
434
+ "model.model.model.layers.7.input_layernorm.weight": "model-00001-of-00003.safetensors",
435
+ "model.model.model.layers.7.mlp.fc1.bias": "model-00001-of-00003.safetensors",
436
+ "model.model.model.layers.7.mlp.fc1.weight": "model-00001-of-00003.safetensors",
437
+ "model.model.model.layers.7.mlp.fc2.bias": "model-00001-of-00003.safetensors",
438
+ "model.model.model.layers.7.mlp.fc2.weight": "model-00001-of-00003.safetensors",
439
+ "model.model.model.layers.7.self_attn.dense.bias": "model-00001-of-00003.safetensors",
440
+ "model.model.model.layers.7.self_attn.dense.weight": "model-00001-of-00003.safetensors",
441
+ "model.model.model.layers.7.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
442
+ "model.model.model.layers.7.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
443
+ "model.model.model.layers.7.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
444
+ "model.model.model.layers.7.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
445
+ "model.model.model.layers.7.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
446
+ "model.model.model.layers.7.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
447
+ "model.model.model.layers.8.input_layernorm.bias": "model-00001-of-00003.safetensors",
448
+ "model.model.model.layers.8.input_layernorm.weight": "model-00001-of-00003.safetensors",
449
+ "model.model.model.layers.8.mlp.fc1.bias": "model-00001-of-00003.safetensors",
450
+ "model.model.model.layers.8.mlp.fc1.weight": "model-00001-of-00003.safetensors",
451
+ "model.model.model.layers.8.mlp.fc2.bias": "model-00001-of-00003.safetensors",
452
+ "model.model.model.layers.8.mlp.fc2.weight": "model-00001-of-00003.safetensors",
453
+ "model.model.model.layers.8.self_attn.dense.bias": "model-00001-of-00003.safetensors",
454
+ "model.model.model.layers.8.self_attn.dense.weight": "model-00001-of-00003.safetensors",
455
+ "model.model.model.layers.8.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
456
+ "model.model.model.layers.8.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
457
+ "model.model.model.layers.8.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
458
+ "model.model.model.layers.8.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
459
+ "model.model.model.layers.8.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
460
+ "model.model.model.layers.8.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
461
+ "model.model.model.layers.9.input_layernorm.bias": "model-00001-of-00003.safetensors",
462
+ "model.model.model.layers.9.input_layernorm.weight": "model-00001-of-00003.safetensors",
463
+ "model.model.model.layers.9.mlp.fc1.bias": "model-00001-of-00003.safetensors",
464
+ "model.model.model.layers.9.mlp.fc1.weight": "model-00001-of-00003.safetensors",
465
+ "model.model.model.layers.9.mlp.fc2.bias": "model-00001-of-00003.safetensors",
466
+ "model.model.model.layers.9.mlp.fc2.weight": "model-00001-of-00003.safetensors",
467
+ "model.model.model.layers.9.self_attn.dense.bias": "model-00001-of-00003.safetensors",
468
+ "model.model.model.layers.9.self_attn.dense.weight": "model-00001-of-00003.safetensors",
469
+ "model.model.model.layers.9.self_attn.k_proj.bias": "model-00001-of-00003.safetensors",
470
+ "model.model.model.layers.9.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
471
+ "model.model.model.layers.9.self_attn.q_proj.bias": "model-00001-of-00003.safetensors",
472
+ "model.model.model.layers.9.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
473
+ "model.model.model.layers.9.self_attn.v_proj.bias": "model-00001-of-00003.safetensors",
474
+ "model.model.model.layers.9.self_attn.v_proj.weight": "model-00001-of-00003.safetensors"
475
+ }
476
+ }