Upload CovSVDLlamaForCausalLM
Browse files- config.json +34 -0
- configuration_oursvd_llama.py +167 -0
- generation_config.json +10 -0
- model-00001-of-00003.safetensors +3 -0
- model-00002-of-00003.safetensors +3 -0
- model-00003-of-00003.safetensors +3 -0
- model.safetensors.index.json +746 -0
- modeling_oursvd_llama.py +52 -0
config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "SVDmodels/train-Math_Corda_MetaMath-r128-first-seed233/ft/",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"CovSVDLlamaForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"auto_map": {
|
| 9 |
+
"AutoConfig": "configuration_oursvd_llama.CovSVDLlamaConfig",
|
| 10 |
+
"AutoModelForCausalLM": "modeling_oursvd_llama.CovSVDLlamaForCausalLM"
|
| 11 |
+
},
|
| 12 |
+
"bos_token_id": 1,
|
| 13 |
+
"eos_token_id": 2,
|
| 14 |
+
"hidden_act": "silu",
|
| 15 |
+
"hidden_size": 4096,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 11008,
|
| 18 |
+
"lora_r": 128,
|
| 19 |
+
"max_position_embeddings": 4096,
|
| 20 |
+
"model_type": "llama",
|
| 21 |
+
"num_attention_heads": 32,
|
| 22 |
+
"num_hidden_layers": 32,
|
| 23 |
+
"num_key_value_heads": 32,
|
| 24 |
+
"pretraining_tp": 1,
|
| 25 |
+
"rms_norm_eps": 1e-05,
|
| 26 |
+
"rope_scaling": null,
|
| 27 |
+
"rope_theta": 10000.0,
|
| 28 |
+
"tie_word_embeddings": false,
|
| 29 |
+
"torch_dtype": "float16",
|
| 30 |
+
"transformers_version": "4.40.1",
|
| 31 |
+
"truncation_ranks": null,
|
| 32 |
+
"use_cache": false,
|
| 33 |
+
"vocab_size": 32001
|
| 34 |
+
}
|
configuration_oursvd_llama.py
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 2 |
+
from transformers.utils import logging
|
| 3 |
+
|
| 4 |
+
logger = logging.get_logger(__name__)
|
| 5 |
+
|
| 6 |
+
class CovSVDLlamaConfig(PretrainedConfig):
|
| 7 |
+
r"""
|
| 8 |
+
This is the configuration class to store the configuration of a [`LlamaModel`]. It is used to instantiate an LLaMA
|
| 9 |
+
model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
|
| 10 |
+
defaults will yield a similar configuration to that of the LLaMA-7B.
|
| 11 |
+
|
| 12 |
+
Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
|
| 13 |
+
documentation from [`PretrainedConfig`] for more information.
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
Args:
|
| 17 |
+
vocab_size (`int`, *optional*, defaults to 32000):
|
| 18 |
+
Vocabulary size of the LLaMA model. Defines the number of different tokens that can be represented by the
|
| 19 |
+
`inputs_ids` passed when calling [`LlamaModel`]
|
| 20 |
+
hidden_size (`int`, *optional*, defaults to 4096):
|
| 21 |
+
Dimension of the hidden representations.
|
| 22 |
+
intermediate_size (`int`, *optional*, defaults to 11008):
|
| 23 |
+
Dimension of the MLP representations.
|
| 24 |
+
num_hidden_layers (`int`, *optional*, defaults to 32):
|
| 25 |
+
Number of hidden layers in the Transformer decoder.
|
| 26 |
+
num_attention_heads (`int`, *optional*, defaults to 32):
|
| 27 |
+
Number of attention heads for each attention layer in the Transformer decoder.
|
| 28 |
+
num_key_value_heads (`int`, *optional*):
|
| 29 |
+
This is the number of key_value heads that should be used to implement Grouped Query Attention. If
|
| 30 |
+
`num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
|
| 31 |
+
`num_key_value_heads=1 the model will use Multi Query Attention (MQA) otherwise GQA is used. When
|
| 32 |
+
converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
|
| 33 |
+
by meanpooling all the original heads within that group. For more details checkout [this
|
| 34 |
+
paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to
|
| 35 |
+
`num_attention_heads`.
|
| 36 |
+
hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
|
| 37 |
+
The non-linear activation function (function or string) in the decoder.
|
| 38 |
+
max_position_embeddings (`int`, *optional*, defaults to 2048):
|
| 39 |
+
The maximum sequence length that this model might ever be used with. Llama 1 supports up to 2048 tokens,
|
| 40 |
+
Llama 2 up to 4096, CodeLlama up to 16384.
|
| 41 |
+
initializer_range (`float`, *optional*, defaults to 0.02):
|
| 42 |
+
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
|
| 43 |
+
rms_norm_eps (`float`, *optional*, defaults to 1e-06):
|
| 44 |
+
The epsilon used by the rms normalization layers.
|
| 45 |
+
use_cache (`bool`, *optional*, defaults to `True`):
|
| 46 |
+
Whether or not the model should return the last key/values attentions (not used by all models). Only
|
| 47 |
+
relevant if `config.is_decoder=True`.
|
| 48 |
+
pad_token_id (`int`, *optional*):
|
| 49 |
+
Padding token id.
|
| 50 |
+
bos_token_id (`int`, *optional*, defaults to 1):
|
| 51 |
+
Beginning of stream token id.
|
| 52 |
+
eos_token_id (`int`, *optional*, defaults to 2):
|
| 53 |
+
End of stream token id.
|
| 54 |
+
pretraining_tp (`int`, *optional*, defaults to 1):
|
| 55 |
+
Experimental feature. Tensor parallelism rank used during pretraining. Please refer to [this
|
| 56 |
+
document](https://huggingface.co/docs/transformers/parallelism) to understand more about it. This value is
|
| 57 |
+
necessary to ensure exact reproducibility of the pretraining results. Please refer to [this
|
| 58 |
+
issue](https://github.com/pytorch/pytorch/issues/76232).
|
| 59 |
+
tie_word_embeddings (`bool`, *optional*, defaults to `False`):
|
| 60 |
+
Whether to tie weight embeddings
|
| 61 |
+
rope_theta (`float`, *optional*, defaults to 10000.0):
|
| 62 |
+
The base period of the RoPE embeddings.
|
| 63 |
+
rope_scaling (`Dict`, *optional*):
|
| 64 |
+
Dictionary containing the scaling configuration for the RoPE embeddings. Currently supports two scaling
|
| 65 |
+
strategies: linear and dynamic. Their scaling factor must be a float greater than 1. The expected format is
|
| 66 |
+
`{"type": strategy name, "factor": scaling factor}`. When using this flag, don't update
|
| 67 |
+
`max_position_embeddings` to the expected new maximum. See the following thread for more information on how
|
| 68 |
+
these scaling strategies behave:
|
| 69 |
+
https://www.reddit.com/r/LocalLLaMA/comments/14mrgpr/dynamically_scaled_rope_further_increases/. This is an
|
| 70 |
+
experimental feature, subject to breaking API changes in future versions.
|
| 71 |
+
attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):
|
| 72 |
+
Whether to use a bias in the query, key, value and output projection layers during self-attention.
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
```python
|
| 76 |
+
>>> from transformers import LlamaModel, LlamaConfig
|
| 77 |
+
|
| 78 |
+
>>> # Initializing a LLaMA llama-7b style configuration
|
| 79 |
+
>>> configuration = LlamaConfig()
|
| 80 |
+
|
| 81 |
+
>>> # Initializing a model from the llama-7b style configuration
|
| 82 |
+
>>> model = LlamaModel(configuration)
|
| 83 |
+
|
| 84 |
+
>>> # Accessing the model configuration
|
| 85 |
+
>>> configuration = model.config
|
| 86 |
+
```"""
|
| 87 |
+
model_type = "llama"
|
| 88 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 89 |
+
|
| 90 |
+
def __init__(
|
| 91 |
+
self,
|
| 92 |
+
vocab_size=32000,
|
| 93 |
+
hidden_size=4096,
|
| 94 |
+
intermediate_size=11008,
|
| 95 |
+
num_hidden_layers=32,
|
| 96 |
+
num_attention_heads=32,
|
| 97 |
+
num_key_value_heads=None,
|
| 98 |
+
hidden_act="silu",
|
| 99 |
+
max_position_embeddings=2048,
|
| 100 |
+
initializer_range=0.02,
|
| 101 |
+
rms_norm_eps=1e-6,
|
| 102 |
+
use_cache=True,
|
| 103 |
+
pad_token_id=None,
|
| 104 |
+
bos_token_id=1,
|
| 105 |
+
eos_token_id=2,
|
| 106 |
+
pretraining_tp=1,
|
| 107 |
+
tie_word_embeddings=False,
|
| 108 |
+
rope_theta=10000.0,
|
| 109 |
+
rope_scaling=None,
|
| 110 |
+
attention_bias=False,
|
| 111 |
+
truncation_ranks=None,
|
| 112 |
+
**kwargs,
|
| 113 |
+
):
|
| 114 |
+
self.vocab_size = vocab_size
|
| 115 |
+
self.max_position_embeddings = max_position_embeddings
|
| 116 |
+
self.hidden_size = hidden_size
|
| 117 |
+
self.intermediate_size = intermediate_size
|
| 118 |
+
self.num_hidden_layers = num_hidden_layers
|
| 119 |
+
self.num_attention_heads = num_attention_heads
|
| 120 |
+
|
| 121 |
+
# for backward compatibility
|
| 122 |
+
if num_key_value_heads is None:
|
| 123 |
+
num_key_value_heads = num_attention_heads
|
| 124 |
+
|
| 125 |
+
self.num_key_value_heads = num_key_value_heads
|
| 126 |
+
self.hidden_act = hidden_act
|
| 127 |
+
self.initializer_range = initializer_range
|
| 128 |
+
self.rms_norm_eps = rms_norm_eps
|
| 129 |
+
self.pretraining_tp = pretraining_tp
|
| 130 |
+
self.use_cache = use_cache
|
| 131 |
+
self.rope_theta = rope_theta
|
| 132 |
+
self.rope_scaling = rope_scaling
|
| 133 |
+
self._rope_scaling_validation()
|
| 134 |
+
self.attention_bias = attention_bias
|
| 135 |
+
|
| 136 |
+
super().__init__(
|
| 137 |
+
pad_token_id=pad_token_id,
|
| 138 |
+
bos_token_id=bos_token_id,
|
| 139 |
+
eos_token_id=eos_token_id,
|
| 140 |
+
tie_word_embeddings=tie_word_embeddings,
|
| 141 |
+
**kwargs,
|
| 142 |
+
)
|
| 143 |
+
|
| 144 |
+
# for avsd
|
| 145 |
+
self.truncation_ranks = truncation_ranks
|
| 146 |
+
|
| 147 |
+
def _rope_scaling_validation(self):
|
| 148 |
+
"""
|
| 149 |
+
Validate the `rope_scaling` configuration.
|
| 150 |
+
"""
|
| 151 |
+
if self.rope_scaling is None:
|
| 152 |
+
return
|
| 153 |
+
|
| 154 |
+
if not isinstance(self.rope_scaling, dict) or len(self.rope_scaling) != 2:
|
| 155 |
+
raise ValueError(
|
| 156 |
+
"`rope_scaling` must be a dictionary with with two fields, `type` and `factor`, "
|
| 157 |
+
f"got {self.rope_scaling}"
|
| 158 |
+
)
|
| 159 |
+
rope_scaling_type = self.rope_scaling.get("type", None)
|
| 160 |
+
rope_scaling_factor = self.rope_scaling.get("factor", None)
|
| 161 |
+
if rope_scaling_type is None or rope_scaling_type not in ["linear", "dynamic"]:
|
| 162 |
+
raise ValueError(
|
| 163 |
+
f"`rope_scaling`'s type field must be one of ['linear', 'dynamic'], got {rope_scaling_type}"
|
| 164 |
+
)
|
| 165 |
+
if rope_scaling_factor is None or not isinstance(rope_scaling_factor, float) or rope_scaling_factor <= 1.0:
|
| 166 |
+
raise ValueError(f"`rope_scaling`'s factor field must be a float > 1, got {rope_scaling_factor}")
|
| 167 |
+
|
generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 1,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"max_length": 4096,
|
| 6 |
+
"pad_token_id": 0,
|
| 7 |
+
"temperature": 0.6,
|
| 8 |
+
"top_p": 0.9,
|
| 9 |
+
"transformers_version": "4.40.1"
|
| 10 |
+
}
|
model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31ff291051ad4e2259d9ad746707959486b1e01115ce4358862fd3ff8b256b13
|
| 3 |
+
size 4970142224
|
model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e75636956d12a1e3fc4897aa3ddf4167973025fb65ab48e2a4dc5432f6866363
|
| 3 |
+
size 4967383080
|
model-00003-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2585de65b14e4c45488c4fbcfa09a9cebe23bcc4e3821d849f3ecc7d37aa9f7c
|
| 3 |
+
size 4179043864
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,746 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 14116478976
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00003-of-00003.safetensors",
|
| 7 |
+
"model.embed_tokens.weight": "model-00001-of-00003.safetensors",
|
| 8 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 9 |
+
"model.layers.0.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 10 |
+
"model.layers.0.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 11 |
+
"model.layers.0.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 12 |
+
"model.layers.0.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 13 |
+
"model.layers.0.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 14 |
+
"model.layers.0.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 15 |
+
"model.layers.0.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 16 |
+
"model.layers.0.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 17 |
+
"model.layers.0.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 18 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 19 |
+
"model.layers.0.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 20 |
+
"model.layers.0.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 21 |
+
"model.layers.0.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 22 |
+
"model.layers.0.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 23 |
+
"model.layers.0.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 24 |
+
"model.layers.0.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 25 |
+
"model.layers.0.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 26 |
+
"model.layers.0.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 27 |
+
"model.layers.0.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 28 |
+
"model.layers.0.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 29 |
+
"model.layers.0.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 30 |
+
"model.layers.0.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 31 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 32 |
+
"model.layers.1.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 33 |
+
"model.layers.1.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 34 |
+
"model.layers.1.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 35 |
+
"model.layers.1.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 36 |
+
"model.layers.1.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 37 |
+
"model.layers.1.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 38 |
+
"model.layers.1.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 39 |
+
"model.layers.1.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 40 |
+
"model.layers.1.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 41 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 42 |
+
"model.layers.1.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 43 |
+
"model.layers.1.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 44 |
+
"model.layers.1.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 45 |
+
"model.layers.1.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 46 |
+
"model.layers.1.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 47 |
+
"model.layers.1.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 48 |
+
"model.layers.1.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 49 |
+
"model.layers.1.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 50 |
+
"model.layers.1.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 51 |
+
"model.layers.1.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 52 |
+
"model.layers.1.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 53 |
+
"model.layers.1.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 54 |
+
"model.layers.10.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 55 |
+
"model.layers.10.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 56 |
+
"model.layers.10.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 57 |
+
"model.layers.10.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 58 |
+
"model.layers.10.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 59 |
+
"model.layers.10.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 60 |
+
"model.layers.10.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 61 |
+
"model.layers.10.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 62 |
+
"model.layers.10.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 63 |
+
"model.layers.10.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 64 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 65 |
+
"model.layers.10.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 66 |
+
"model.layers.10.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 67 |
+
"model.layers.10.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 68 |
+
"model.layers.10.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 69 |
+
"model.layers.10.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 70 |
+
"model.layers.10.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 71 |
+
"model.layers.10.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 72 |
+
"model.layers.10.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 73 |
+
"model.layers.10.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 74 |
+
"model.layers.10.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 75 |
+
"model.layers.10.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 76 |
+
"model.layers.10.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 77 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 78 |
+
"model.layers.11.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 79 |
+
"model.layers.11.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 80 |
+
"model.layers.11.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 81 |
+
"model.layers.11.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 82 |
+
"model.layers.11.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 83 |
+
"model.layers.11.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 84 |
+
"model.layers.11.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 85 |
+
"model.layers.11.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 86 |
+
"model.layers.11.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 87 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 88 |
+
"model.layers.11.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 89 |
+
"model.layers.11.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 90 |
+
"model.layers.11.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 91 |
+
"model.layers.11.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 92 |
+
"model.layers.11.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 93 |
+
"model.layers.11.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 94 |
+
"model.layers.11.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 95 |
+
"model.layers.11.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 96 |
+
"model.layers.11.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 97 |
+
"model.layers.11.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 98 |
+
"model.layers.11.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 99 |
+
"model.layers.11.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 100 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 101 |
+
"model.layers.12.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 102 |
+
"model.layers.12.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 103 |
+
"model.layers.12.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 104 |
+
"model.layers.12.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 105 |
+
"model.layers.12.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 106 |
+
"model.layers.12.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 107 |
+
"model.layers.12.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 108 |
+
"model.layers.12.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 109 |
+
"model.layers.12.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 110 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 111 |
+
"model.layers.12.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 112 |
+
"model.layers.12.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 113 |
+
"model.layers.12.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 114 |
+
"model.layers.12.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 115 |
+
"model.layers.12.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 116 |
+
"model.layers.12.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 117 |
+
"model.layers.12.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 118 |
+
"model.layers.12.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 119 |
+
"model.layers.12.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 120 |
+
"model.layers.12.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 121 |
+
"model.layers.12.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 122 |
+
"model.layers.12.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 123 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 124 |
+
"model.layers.13.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 125 |
+
"model.layers.13.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 126 |
+
"model.layers.13.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 127 |
+
"model.layers.13.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 128 |
+
"model.layers.13.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 129 |
+
"model.layers.13.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 130 |
+
"model.layers.13.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 131 |
+
"model.layers.13.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 132 |
+
"model.layers.13.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 133 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 134 |
+
"model.layers.13.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 135 |
+
"model.layers.13.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 136 |
+
"model.layers.13.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 137 |
+
"model.layers.13.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 138 |
+
"model.layers.13.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 139 |
+
"model.layers.13.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 140 |
+
"model.layers.13.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 141 |
+
"model.layers.13.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 142 |
+
"model.layers.13.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 143 |
+
"model.layers.13.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 144 |
+
"model.layers.13.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 145 |
+
"model.layers.13.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 146 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 147 |
+
"model.layers.14.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 148 |
+
"model.layers.14.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 149 |
+
"model.layers.14.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 150 |
+
"model.layers.14.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 151 |
+
"model.layers.14.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 152 |
+
"model.layers.14.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 153 |
+
"model.layers.14.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 154 |
+
"model.layers.14.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 155 |
+
"model.layers.14.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 156 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 157 |
+
"model.layers.14.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 158 |
+
"model.layers.14.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 159 |
+
"model.layers.14.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 160 |
+
"model.layers.14.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 161 |
+
"model.layers.14.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 162 |
+
"model.layers.14.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 163 |
+
"model.layers.14.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 164 |
+
"model.layers.14.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 165 |
+
"model.layers.14.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 166 |
+
"model.layers.14.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 167 |
+
"model.layers.14.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 168 |
+
"model.layers.14.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 169 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 170 |
+
"model.layers.15.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 171 |
+
"model.layers.15.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 172 |
+
"model.layers.15.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 173 |
+
"model.layers.15.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 174 |
+
"model.layers.15.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 175 |
+
"model.layers.15.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 176 |
+
"model.layers.15.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 177 |
+
"model.layers.15.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 178 |
+
"model.layers.15.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 179 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 180 |
+
"model.layers.15.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 181 |
+
"model.layers.15.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 182 |
+
"model.layers.15.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 183 |
+
"model.layers.15.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 184 |
+
"model.layers.15.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 185 |
+
"model.layers.15.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 186 |
+
"model.layers.15.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 187 |
+
"model.layers.15.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 188 |
+
"model.layers.15.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 189 |
+
"model.layers.15.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 190 |
+
"model.layers.15.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 191 |
+
"model.layers.15.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 192 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 193 |
+
"model.layers.16.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 194 |
+
"model.layers.16.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 195 |
+
"model.layers.16.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 196 |
+
"model.layers.16.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 197 |
+
"model.layers.16.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 198 |
+
"model.layers.16.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 199 |
+
"model.layers.16.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 200 |
+
"model.layers.16.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 201 |
+
"model.layers.16.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 202 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 203 |
+
"model.layers.16.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 204 |
+
"model.layers.16.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 205 |
+
"model.layers.16.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 206 |
+
"model.layers.16.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 207 |
+
"model.layers.16.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 208 |
+
"model.layers.16.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 209 |
+
"model.layers.16.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 210 |
+
"model.layers.16.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 211 |
+
"model.layers.16.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 212 |
+
"model.layers.16.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 213 |
+
"model.layers.16.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 214 |
+
"model.layers.16.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 215 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 216 |
+
"model.layers.17.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 217 |
+
"model.layers.17.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 218 |
+
"model.layers.17.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 219 |
+
"model.layers.17.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 220 |
+
"model.layers.17.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 221 |
+
"model.layers.17.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 222 |
+
"model.layers.17.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 223 |
+
"model.layers.17.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 224 |
+
"model.layers.17.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 225 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 226 |
+
"model.layers.17.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 227 |
+
"model.layers.17.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 228 |
+
"model.layers.17.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 229 |
+
"model.layers.17.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 230 |
+
"model.layers.17.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 231 |
+
"model.layers.17.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 232 |
+
"model.layers.17.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 233 |
+
"model.layers.17.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 234 |
+
"model.layers.17.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 235 |
+
"model.layers.17.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 236 |
+
"model.layers.17.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 237 |
+
"model.layers.17.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 238 |
+
"model.layers.18.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 239 |
+
"model.layers.18.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 240 |
+
"model.layers.18.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 241 |
+
"model.layers.18.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 242 |
+
"model.layers.18.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 243 |
+
"model.layers.18.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 244 |
+
"model.layers.18.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 245 |
+
"model.layers.18.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 246 |
+
"model.layers.18.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 247 |
+
"model.layers.18.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 248 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 249 |
+
"model.layers.18.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 250 |
+
"model.layers.18.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 251 |
+
"model.layers.18.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 252 |
+
"model.layers.18.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 253 |
+
"model.layers.18.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 254 |
+
"model.layers.18.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 255 |
+
"model.layers.18.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 256 |
+
"model.layers.18.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 257 |
+
"model.layers.18.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 258 |
+
"model.layers.18.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 259 |
+
"model.layers.18.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 260 |
+
"model.layers.18.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 261 |
+
"model.layers.19.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 262 |
+
"model.layers.19.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 263 |
+
"model.layers.19.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 264 |
+
"model.layers.19.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 265 |
+
"model.layers.19.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 266 |
+
"model.layers.19.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 267 |
+
"model.layers.19.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 268 |
+
"model.layers.19.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 269 |
+
"model.layers.19.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 270 |
+
"model.layers.19.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 271 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 272 |
+
"model.layers.19.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 273 |
+
"model.layers.19.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 274 |
+
"model.layers.19.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 275 |
+
"model.layers.19.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 276 |
+
"model.layers.19.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 277 |
+
"model.layers.19.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 278 |
+
"model.layers.19.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 279 |
+
"model.layers.19.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 280 |
+
"model.layers.19.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 281 |
+
"model.layers.19.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 282 |
+
"model.layers.19.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 283 |
+
"model.layers.19.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 284 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 285 |
+
"model.layers.2.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 286 |
+
"model.layers.2.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 287 |
+
"model.layers.2.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 288 |
+
"model.layers.2.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 289 |
+
"model.layers.2.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 290 |
+
"model.layers.2.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 291 |
+
"model.layers.2.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 292 |
+
"model.layers.2.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 293 |
+
"model.layers.2.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 294 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 295 |
+
"model.layers.2.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 296 |
+
"model.layers.2.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 297 |
+
"model.layers.2.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 298 |
+
"model.layers.2.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 299 |
+
"model.layers.2.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 300 |
+
"model.layers.2.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 301 |
+
"model.layers.2.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 302 |
+
"model.layers.2.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 303 |
+
"model.layers.2.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 304 |
+
"model.layers.2.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 305 |
+
"model.layers.2.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 306 |
+
"model.layers.2.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 307 |
+
"model.layers.20.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 308 |
+
"model.layers.20.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 309 |
+
"model.layers.20.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 310 |
+
"model.layers.20.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 311 |
+
"model.layers.20.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 312 |
+
"model.layers.20.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 313 |
+
"model.layers.20.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 314 |
+
"model.layers.20.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 315 |
+
"model.layers.20.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 316 |
+
"model.layers.20.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 317 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 318 |
+
"model.layers.20.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 319 |
+
"model.layers.20.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 320 |
+
"model.layers.20.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 321 |
+
"model.layers.20.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 322 |
+
"model.layers.20.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 323 |
+
"model.layers.20.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 324 |
+
"model.layers.20.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 325 |
+
"model.layers.20.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 326 |
+
"model.layers.20.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 327 |
+
"model.layers.20.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 328 |
+
"model.layers.20.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 329 |
+
"model.layers.20.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 330 |
+
"model.layers.21.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 331 |
+
"model.layers.21.mlp.down_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 332 |
+
"model.layers.21.mlp.down_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 333 |
+
"model.layers.21.mlp.down_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 334 |
+
"model.layers.21.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 335 |
+
"model.layers.21.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 336 |
+
"model.layers.21.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 337 |
+
"model.layers.21.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 338 |
+
"model.layers.21.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 339 |
+
"model.layers.21.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 340 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 341 |
+
"model.layers.21.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 342 |
+
"model.layers.21.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 343 |
+
"model.layers.21.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 344 |
+
"model.layers.21.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 345 |
+
"model.layers.21.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 346 |
+
"model.layers.21.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 347 |
+
"model.layers.21.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 348 |
+
"model.layers.21.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 349 |
+
"model.layers.21.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 350 |
+
"model.layers.21.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 351 |
+
"model.layers.21.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 352 |
+
"model.layers.21.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 353 |
+
"model.layers.22.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 354 |
+
"model.layers.22.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 355 |
+
"model.layers.22.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 356 |
+
"model.layers.22.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 357 |
+
"model.layers.22.mlp.gate_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 358 |
+
"model.layers.22.mlp.gate_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 359 |
+
"model.layers.22.mlp.gate_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 360 |
+
"model.layers.22.mlp.up_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 361 |
+
"model.layers.22.mlp.up_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 362 |
+
"model.layers.22.mlp.up_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 363 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 364 |
+
"model.layers.22.self_attn.k_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 365 |
+
"model.layers.22.self_attn.k_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 366 |
+
"model.layers.22.self_attn.k_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 367 |
+
"model.layers.22.self_attn.o_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 368 |
+
"model.layers.22.self_attn.o_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 369 |
+
"model.layers.22.self_attn.o_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 370 |
+
"model.layers.22.self_attn.q_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 371 |
+
"model.layers.22.self_attn.q_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 372 |
+
"model.layers.22.self_attn.q_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 373 |
+
"model.layers.22.self_attn.v_proj.ALinear.weight": "model-00002-of-00003.safetensors",
|
| 374 |
+
"model.layers.22.self_attn.v_proj.BLinear.weight": "model-00002-of-00003.safetensors",
|
| 375 |
+
"model.layers.22.self_attn.v_proj.weight_residual": "model-00002-of-00003.safetensors",
|
| 376 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 377 |
+
"model.layers.23.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 378 |
+
"model.layers.23.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 379 |
+
"model.layers.23.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 380 |
+
"model.layers.23.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 381 |
+
"model.layers.23.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 382 |
+
"model.layers.23.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 383 |
+
"model.layers.23.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 384 |
+
"model.layers.23.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 385 |
+
"model.layers.23.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 386 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 387 |
+
"model.layers.23.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 388 |
+
"model.layers.23.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 389 |
+
"model.layers.23.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 390 |
+
"model.layers.23.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 391 |
+
"model.layers.23.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 392 |
+
"model.layers.23.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 393 |
+
"model.layers.23.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 394 |
+
"model.layers.23.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 395 |
+
"model.layers.23.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 396 |
+
"model.layers.23.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 397 |
+
"model.layers.23.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 398 |
+
"model.layers.23.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 399 |
+
"model.layers.24.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 400 |
+
"model.layers.24.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 401 |
+
"model.layers.24.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 402 |
+
"model.layers.24.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 403 |
+
"model.layers.24.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 404 |
+
"model.layers.24.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 405 |
+
"model.layers.24.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 406 |
+
"model.layers.24.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 407 |
+
"model.layers.24.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 408 |
+
"model.layers.24.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 409 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 410 |
+
"model.layers.24.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 411 |
+
"model.layers.24.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 412 |
+
"model.layers.24.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 413 |
+
"model.layers.24.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 414 |
+
"model.layers.24.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 415 |
+
"model.layers.24.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 416 |
+
"model.layers.24.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 417 |
+
"model.layers.24.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 418 |
+
"model.layers.24.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 419 |
+
"model.layers.24.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 420 |
+
"model.layers.24.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 421 |
+
"model.layers.24.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 422 |
+
"model.layers.25.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 423 |
+
"model.layers.25.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 424 |
+
"model.layers.25.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 425 |
+
"model.layers.25.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 426 |
+
"model.layers.25.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 427 |
+
"model.layers.25.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 428 |
+
"model.layers.25.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 429 |
+
"model.layers.25.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 430 |
+
"model.layers.25.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 431 |
+
"model.layers.25.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 432 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 433 |
+
"model.layers.25.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 434 |
+
"model.layers.25.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 435 |
+
"model.layers.25.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 436 |
+
"model.layers.25.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 437 |
+
"model.layers.25.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 438 |
+
"model.layers.25.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 439 |
+
"model.layers.25.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 440 |
+
"model.layers.25.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 441 |
+
"model.layers.25.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 442 |
+
"model.layers.25.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 443 |
+
"model.layers.25.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 444 |
+
"model.layers.25.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 445 |
+
"model.layers.26.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 446 |
+
"model.layers.26.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 447 |
+
"model.layers.26.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 448 |
+
"model.layers.26.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 449 |
+
"model.layers.26.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 450 |
+
"model.layers.26.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 451 |
+
"model.layers.26.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 452 |
+
"model.layers.26.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 453 |
+
"model.layers.26.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 454 |
+
"model.layers.26.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 455 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 456 |
+
"model.layers.26.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 457 |
+
"model.layers.26.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 458 |
+
"model.layers.26.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 459 |
+
"model.layers.26.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 460 |
+
"model.layers.26.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 461 |
+
"model.layers.26.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 462 |
+
"model.layers.26.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 463 |
+
"model.layers.26.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 464 |
+
"model.layers.26.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 465 |
+
"model.layers.26.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 466 |
+
"model.layers.26.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 467 |
+
"model.layers.26.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 468 |
+
"model.layers.27.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 469 |
+
"model.layers.27.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 470 |
+
"model.layers.27.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 471 |
+
"model.layers.27.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 472 |
+
"model.layers.27.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 473 |
+
"model.layers.27.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 474 |
+
"model.layers.27.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 475 |
+
"model.layers.27.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 476 |
+
"model.layers.27.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 477 |
+
"model.layers.27.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 478 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 479 |
+
"model.layers.27.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 480 |
+
"model.layers.27.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 481 |
+
"model.layers.27.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 482 |
+
"model.layers.27.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 483 |
+
"model.layers.27.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 484 |
+
"model.layers.27.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 485 |
+
"model.layers.27.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 486 |
+
"model.layers.27.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 487 |
+
"model.layers.27.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 488 |
+
"model.layers.27.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 489 |
+
"model.layers.27.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 490 |
+
"model.layers.27.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 491 |
+
"model.layers.28.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 492 |
+
"model.layers.28.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 493 |
+
"model.layers.28.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 494 |
+
"model.layers.28.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 495 |
+
"model.layers.28.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 496 |
+
"model.layers.28.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 497 |
+
"model.layers.28.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 498 |
+
"model.layers.28.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 499 |
+
"model.layers.28.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 500 |
+
"model.layers.28.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 501 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 502 |
+
"model.layers.28.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 503 |
+
"model.layers.28.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 504 |
+
"model.layers.28.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 505 |
+
"model.layers.28.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 506 |
+
"model.layers.28.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 507 |
+
"model.layers.28.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 508 |
+
"model.layers.28.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 509 |
+
"model.layers.28.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 510 |
+
"model.layers.28.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 511 |
+
"model.layers.28.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 512 |
+
"model.layers.28.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 513 |
+
"model.layers.28.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 514 |
+
"model.layers.29.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 515 |
+
"model.layers.29.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 516 |
+
"model.layers.29.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 517 |
+
"model.layers.29.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 518 |
+
"model.layers.29.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 519 |
+
"model.layers.29.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 520 |
+
"model.layers.29.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 521 |
+
"model.layers.29.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 522 |
+
"model.layers.29.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 523 |
+
"model.layers.29.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 524 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 525 |
+
"model.layers.29.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 526 |
+
"model.layers.29.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 527 |
+
"model.layers.29.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 528 |
+
"model.layers.29.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 529 |
+
"model.layers.29.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 530 |
+
"model.layers.29.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 531 |
+
"model.layers.29.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 532 |
+
"model.layers.29.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 533 |
+
"model.layers.29.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 534 |
+
"model.layers.29.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 535 |
+
"model.layers.29.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 536 |
+
"model.layers.29.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 537 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 538 |
+
"model.layers.3.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 539 |
+
"model.layers.3.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 540 |
+
"model.layers.3.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 541 |
+
"model.layers.3.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 542 |
+
"model.layers.3.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 543 |
+
"model.layers.3.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 544 |
+
"model.layers.3.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 545 |
+
"model.layers.3.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 546 |
+
"model.layers.3.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 547 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 548 |
+
"model.layers.3.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 549 |
+
"model.layers.3.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 550 |
+
"model.layers.3.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 551 |
+
"model.layers.3.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 552 |
+
"model.layers.3.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 553 |
+
"model.layers.3.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 554 |
+
"model.layers.3.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 555 |
+
"model.layers.3.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 556 |
+
"model.layers.3.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 557 |
+
"model.layers.3.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 558 |
+
"model.layers.3.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 559 |
+
"model.layers.3.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 560 |
+
"model.layers.30.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 561 |
+
"model.layers.30.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 562 |
+
"model.layers.30.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 563 |
+
"model.layers.30.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 564 |
+
"model.layers.30.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 565 |
+
"model.layers.30.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 566 |
+
"model.layers.30.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 567 |
+
"model.layers.30.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 568 |
+
"model.layers.30.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 569 |
+
"model.layers.30.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 570 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 571 |
+
"model.layers.30.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 572 |
+
"model.layers.30.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 573 |
+
"model.layers.30.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 574 |
+
"model.layers.30.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 575 |
+
"model.layers.30.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 576 |
+
"model.layers.30.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 577 |
+
"model.layers.30.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 578 |
+
"model.layers.30.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 579 |
+
"model.layers.30.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 580 |
+
"model.layers.30.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 581 |
+
"model.layers.30.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 582 |
+
"model.layers.30.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 583 |
+
"model.layers.31.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 584 |
+
"model.layers.31.mlp.down_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 585 |
+
"model.layers.31.mlp.down_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 586 |
+
"model.layers.31.mlp.down_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 587 |
+
"model.layers.31.mlp.gate_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 588 |
+
"model.layers.31.mlp.gate_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 589 |
+
"model.layers.31.mlp.gate_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 590 |
+
"model.layers.31.mlp.up_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 591 |
+
"model.layers.31.mlp.up_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 592 |
+
"model.layers.31.mlp.up_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 593 |
+
"model.layers.31.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 594 |
+
"model.layers.31.self_attn.k_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 595 |
+
"model.layers.31.self_attn.k_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 596 |
+
"model.layers.31.self_attn.k_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 597 |
+
"model.layers.31.self_attn.o_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 598 |
+
"model.layers.31.self_attn.o_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 599 |
+
"model.layers.31.self_attn.o_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 600 |
+
"model.layers.31.self_attn.q_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 601 |
+
"model.layers.31.self_attn.q_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 602 |
+
"model.layers.31.self_attn.q_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 603 |
+
"model.layers.31.self_attn.v_proj.ALinear.weight": "model-00003-of-00003.safetensors",
|
| 604 |
+
"model.layers.31.self_attn.v_proj.BLinear.weight": "model-00003-of-00003.safetensors",
|
| 605 |
+
"model.layers.31.self_attn.v_proj.weight_residual": "model-00003-of-00003.safetensors",
|
| 606 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 607 |
+
"model.layers.4.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 608 |
+
"model.layers.4.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 609 |
+
"model.layers.4.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 610 |
+
"model.layers.4.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 611 |
+
"model.layers.4.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 612 |
+
"model.layers.4.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 613 |
+
"model.layers.4.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 614 |
+
"model.layers.4.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 615 |
+
"model.layers.4.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 616 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 617 |
+
"model.layers.4.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 618 |
+
"model.layers.4.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 619 |
+
"model.layers.4.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 620 |
+
"model.layers.4.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 621 |
+
"model.layers.4.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 622 |
+
"model.layers.4.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 623 |
+
"model.layers.4.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 624 |
+
"model.layers.4.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 625 |
+
"model.layers.4.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 626 |
+
"model.layers.4.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 627 |
+
"model.layers.4.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 628 |
+
"model.layers.4.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 629 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 630 |
+
"model.layers.5.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 631 |
+
"model.layers.5.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 632 |
+
"model.layers.5.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 633 |
+
"model.layers.5.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 634 |
+
"model.layers.5.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 635 |
+
"model.layers.5.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 636 |
+
"model.layers.5.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 637 |
+
"model.layers.5.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 638 |
+
"model.layers.5.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 639 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 640 |
+
"model.layers.5.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 641 |
+
"model.layers.5.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 642 |
+
"model.layers.5.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 643 |
+
"model.layers.5.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 644 |
+
"model.layers.5.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 645 |
+
"model.layers.5.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 646 |
+
"model.layers.5.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 647 |
+
"model.layers.5.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 648 |
+
"model.layers.5.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 649 |
+
"model.layers.5.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 650 |
+
"model.layers.5.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 651 |
+
"model.layers.5.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 652 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 653 |
+
"model.layers.6.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 654 |
+
"model.layers.6.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 655 |
+
"model.layers.6.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 656 |
+
"model.layers.6.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 657 |
+
"model.layers.6.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 658 |
+
"model.layers.6.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 659 |
+
"model.layers.6.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 660 |
+
"model.layers.6.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 661 |
+
"model.layers.6.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 662 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 663 |
+
"model.layers.6.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 664 |
+
"model.layers.6.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 665 |
+
"model.layers.6.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 666 |
+
"model.layers.6.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 667 |
+
"model.layers.6.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 668 |
+
"model.layers.6.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 669 |
+
"model.layers.6.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 670 |
+
"model.layers.6.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 671 |
+
"model.layers.6.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 672 |
+
"model.layers.6.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 673 |
+
"model.layers.6.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 674 |
+
"model.layers.6.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 675 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 676 |
+
"model.layers.7.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 677 |
+
"model.layers.7.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 678 |
+
"model.layers.7.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 679 |
+
"model.layers.7.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 680 |
+
"model.layers.7.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 681 |
+
"model.layers.7.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 682 |
+
"model.layers.7.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 683 |
+
"model.layers.7.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 684 |
+
"model.layers.7.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 685 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 686 |
+
"model.layers.7.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 687 |
+
"model.layers.7.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 688 |
+
"model.layers.7.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 689 |
+
"model.layers.7.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 690 |
+
"model.layers.7.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 691 |
+
"model.layers.7.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 692 |
+
"model.layers.7.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 693 |
+
"model.layers.7.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 694 |
+
"model.layers.7.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 695 |
+
"model.layers.7.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 696 |
+
"model.layers.7.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 697 |
+
"model.layers.7.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 698 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 699 |
+
"model.layers.8.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 700 |
+
"model.layers.8.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 701 |
+
"model.layers.8.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 702 |
+
"model.layers.8.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 703 |
+
"model.layers.8.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 704 |
+
"model.layers.8.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 705 |
+
"model.layers.8.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 706 |
+
"model.layers.8.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 707 |
+
"model.layers.8.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 708 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 709 |
+
"model.layers.8.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 710 |
+
"model.layers.8.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 711 |
+
"model.layers.8.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 712 |
+
"model.layers.8.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 713 |
+
"model.layers.8.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 714 |
+
"model.layers.8.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 715 |
+
"model.layers.8.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 716 |
+
"model.layers.8.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 717 |
+
"model.layers.8.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 718 |
+
"model.layers.8.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 719 |
+
"model.layers.8.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 720 |
+
"model.layers.8.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 721 |
+
"model.layers.9.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 722 |
+
"model.layers.9.mlp.down_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 723 |
+
"model.layers.9.mlp.down_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 724 |
+
"model.layers.9.mlp.down_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 725 |
+
"model.layers.9.mlp.gate_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 726 |
+
"model.layers.9.mlp.gate_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 727 |
+
"model.layers.9.mlp.gate_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 728 |
+
"model.layers.9.mlp.up_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 729 |
+
"model.layers.9.mlp.up_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 730 |
+
"model.layers.9.mlp.up_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 731 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 732 |
+
"model.layers.9.self_attn.k_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 733 |
+
"model.layers.9.self_attn.k_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 734 |
+
"model.layers.9.self_attn.k_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 735 |
+
"model.layers.9.self_attn.o_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 736 |
+
"model.layers.9.self_attn.o_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 737 |
+
"model.layers.9.self_attn.o_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 738 |
+
"model.layers.9.self_attn.q_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 739 |
+
"model.layers.9.self_attn.q_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 740 |
+
"model.layers.9.self_attn.q_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 741 |
+
"model.layers.9.self_attn.v_proj.ALinear.weight": "model-00001-of-00003.safetensors",
|
| 742 |
+
"model.layers.9.self_attn.v_proj.BLinear.weight": "model-00001-of-00003.safetensors",
|
| 743 |
+
"model.layers.9.self_attn.v_proj.weight_residual": "model-00001-of-00003.safetensors",
|
| 744 |
+
"model.norm.weight": "model-00003-of-00003.safetensors"
|
| 745 |
+
}
|
| 746 |
+
}
|
modeling_oursvd_llama.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers import LlamaForCausalLM
|
| 2 |
+
from .configuration_oursvd_llama import CovSVDLlamaConfig
|
| 3 |
+
import torch.nn as nn
|
| 4 |
+
import torch.nn.functional as F
|
| 5 |
+
import torch
|
| 6 |
+
|
| 7 |
+
class CovSVDLinear(nn.Module):
|
| 8 |
+
def __init__(self, in_features, out_features, rank, bias=True):
|
| 9 |
+
super().__init__()
|
| 10 |
+
self.BLinear = nn.Linear(in_features, rank, bias=False)
|
| 11 |
+
self.ALinear = nn.Linear(rank, out_features, bias=bias)
|
| 12 |
+
self.weight_residual = nn.Parameter(torch.zeros(out_features, in_features))
|
| 13 |
+
self.weight_residual.requires_grad = False
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def forward(self, input):
|
| 17 |
+
y = self.BLinear(input)
|
| 18 |
+
y = self.ALinear(y) + F.linear(input, self.weight_residual)
|
| 19 |
+
return y
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class CovSVDLlamaForCausalLM(LlamaForCausalLM):
|
| 23 |
+
config_class = CovSVDLlamaConfig
|
| 24 |
+
def __init__(self, config:CovSVDLlamaConfig):
|
| 25 |
+
super().__init__(config)
|
| 26 |
+
|
| 27 |
+
self.lora_r = config.lora_r
|
| 28 |
+
full_name_dict = {module: name for name, module in self.named_modules()}
|
| 29 |
+
linear_info = {}
|
| 30 |
+
modules = [self]
|
| 31 |
+
while len(modules) > 0:
|
| 32 |
+
submodule = modules.pop()
|
| 33 |
+
for name, raw_linear in submodule.named_children():
|
| 34 |
+
if isinstance(raw_linear, nn.Linear):
|
| 35 |
+
full_name = full_name_dict[raw_linear]
|
| 36 |
+
linear_info[raw_linear] = {
|
| 37 |
+
"father": submodule,
|
| 38 |
+
"name": name,
|
| 39 |
+
"full_name": full_name,
|
| 40 |
+
}
|
| 41 |
+
else:
|
| 42 |
+
modules.append(raw_linear)
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
for name,module in self.named_modules():
|
| 46 |
+
if "lm_head" not in name and isinstance(module, nn.Linear):
|
| 47 |
+
info=linear_info[module]
|
| 48 |
+
new_layer=CovSVDLinear(module.in_features, module.out_features, self.lora_r, bias=module.bias is not None)
|
| 49 |
+
setattr(info["father"], info["name"], new_layer)
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|