Upload folder using huggingface_hub
Browse files- README.md +248 -0
- added_tokens.json +7 -0
- config.json +29 -0
- mergekit_config.yml +205 -0
- model-00001-of-00001.safetensors +3 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +1 -0
- special_tokens_map.json +37 -0
- tokenizer.model +3 -0
- tokenizer_config.json +95 -0
README.md
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- DewEfresh/neo_7b
|
| 4 |
+
tags:
|
| 5 |
+
- merge
|
| 6 |
+
- mergekit
|
| 7 |
+
- lazymergekit
|
| 8 |
+
- DewEfresh/neo_7b
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Neo_7b-merge6
|
| 12 |
+
|
| 13 |
+
Neo_7b-merge6 is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
| 14 |
+
* [DewEfresh/neo_7b](https://huggingface.co/DewEfresh/neo_7b)
|
| 15 |
+
|
| 16 |
+
## 🧩 Configuration
|
| 17 |
+
|
| 18 |
+
```yaml
|
| 19 |
+
models:
|
| 20 |
+
- model: m-a-p/neo_7b
|
| 21 |
+
- model: DewEfresh/neo_7b
|
| 22 |
+
parameters:
|
| 23 |
+
weight: 0.5
|
| 24 |
+
merge_method: slerp
|
| 25 |
+
base_model: m-a-p/neo_7b
|
| 26 |
+
parameters:
|
| 27 |
+
t: 0.5
|
| 28 |
+
dtype: bfloat16
|
| 29 |
+
|
| 30 |
+
custom_layers:
|
| 31 |
+
- sources:
|
| 32 |
+
- model: m-a-p/neo_7b
|
| 33 |
+
layers: [0, 3]
|
| 34 |
+
- model: DewEfresh/neo_7b
|
| 35 |
+
layers: [0, 3]
|
| 36 |
+
method: weighted_average
|
| 37 |
+
target_layers: [0]
|
| 38 |
+
layer_weights: [0.75, 0.25]
|
| 39 |
+
- sources:
|
| 40 |
+
- model: m-a-p/neo_7b
|
| 41 |
+
layers: [1, 3]
|
| 42 |
+
- model: DewEfresh/neo_7b
|
| 43 |
+
layers: [1, 3]
|
| 44 |
+
method: weighted_average
|
| 45 |
+
target_layers: [1]
|
| 46 |
+
layer_weights: [0.75, 0.25]
|
| 47 |
+
- sources:
|
| 48 |
+
- model: m-a-p/neo_7b
|
| 49 |
+
layers: [2, 3]
|
| 50 |
+
- model: DewEfresh/neo_7b
|
| 51 |
+
layers: [2, 3]
|
| 52 |
+
method: weighted_average
|
| 53 |
+
target_layers: [2]
|
| 54 |
+
layer_weights: [0.75, 0.25]
|
| 55 |
+
- sources:
|
| 56 |
+
- model: m-a-p/neo_7b
|
| 57 |
+
layers: [4, 7]
|
| 58 |
+
- model: DewEfresh/neo_7b
|
| 59 |
+
layers: [4, 7]
|
| 60 |
+
method: weighted_average
|
| 61 |
+
target_layers: [3]
|
| 62 |
+
layer_weights: [0.75, 0.25]
|
| 63 |
+
- sources:
|
| 64 |
+
- model: m-a-p/neo_7b
|
| 65 |
+
layers: [5, 7]
|
| 66 |
+
- model: DewEfresh/neo_7b
|
| 67 |
+
layers: [5, 7]
|
| 68 |
+
method: weighted_average
|
| 69 |
+
target_layers: [4]
|
| 70 |
+
layer_weights: [0.75, 0.25]
|
| 71 |
+
- sources:
|
| 72 |
+
- model: m-a-p/neo_7b
|
| 73 |
+
layers: [6, 7]
|
| 74 |
+
- model: DewEfresh/neo_7b
|
| 75 |
+
layers: [6, 7]
|
| 76 |
+
method: weighted_average
|
| 77 |
+
target_layers: [5]
|
| 78 |
+
layer_weights: [0.75, 0.25]
|
| 79 |
+
- sources:
|
| 80 |
+
- model: m-a-p/neo_7b
|
| 81 |
+
layers: [8, 11]
|
| 82 |
+
- model: DewEfresh/neo_7b
|
| 83 |
+
layers: [8, 11]
|
| 84 |
+
method: weighted_average
|
| 85 |
+
target_layers: [6]
|
| 86 |
+
layer_weights: [0.75, 0.25]
|
| 87 |
+
- sources:
|
| 88 |
+
- model: m-a-p/neo_7b
|
| 89 |
+
layers: [9, 11]
|
| 90 |
+
- model: DewEfresh/neo_7b
|
| 91 |
+
layers: [9, 11]
|
| 92 |
+
method: weighted_average
|
| 93 |
+
target_layers: [7]
|
| 94 |
+
layer_weights: [0.75, 0.25]
|
| 95 |
+
- sources:
|
| 96 |
+
- model: m-a-p/neo_7b
|
| 97 |
+
layers: [10, 11]
|
| 98 |
+
- model: DewEfresh/neo_7b
|
| 99 |
+
layers: [10, 11]
|
| 100 |
+
method: weighted_average
|
| 101 |
+
target_layers: [8]
|
| 102 |
+
layer_weights: [0.75, 0.25]
|
| 103 |
+
- sources:
|
| 104 |
+
- model: m-a-p/neo_7b
|
| 105 |
+
layers: [12, 15]
|
| 106 |
+
- model: DewEfresh/neo_7b
|
| 107 |
+
layers: [12, 15]
|
| 108 |
+
method: weighted_average
|
| 109 |
+
target_layers: [9]
|
| 110 |
+
layer_weights: [0.75, 0.25]
|
| 111 |
+
- sources:
|
| 112 |
+
- model: m-a-p/neo_7b
|
| 113 |
+
layers: [13, 15]
|
| 114 |
+
- model: DewEfresh/neo_7b
|
| 115 |
+
layers: [13, 15]
|
| 116 |
+
method: weighted_average
|
| 117 |
+
target_layers: [10]
|
| 118 |
+
layer_weights: [0.75, 0.25]
|
| 119 |
+
- sources:
|
| 120 |
+
- model: m-a-p/neo_7b
|
| 121 |
+
layers: [14, 15]
|
| 122 |
+
- model: DewEfresh/neo_7b
|
| 123 |
+
layers: [14, 15]
|
| 124 |
+
method: weighted_average
|
| 125 |
+
target_layers: [11]
|
| 126 |
+
layer_weights: [0.75, 0.25]
|
| 127 |
+
- sources:
|
| 128 |
+
- model: m-a-p/neo_7b
|
| 129 |
+
layers: [16, 19]
|
| 130 |
+
- model: DewEfresh/neo_7b
|
| 131 |
+
layers: [16, 19]
|
| 132 |
+
method: weighted_average
|
| 133 |
+
target_layers: [12]
|
| 134 |
+
layer_weights: [0.75, 0.25]
|
| 135 |
+
- sources:
|
| 136 |
+
- model: m-a-p/neo_7b
|
| 137 |
+
layers: [17, 19]
|
| 138 |
+
- model: DewEfresh/neo_7b
|
| 139 |
+
layers: [17, 19]
|
| 140 |
+
method: weighted_average
|
| 141 |
+
target_layers: [13]
|
| 142 |
+
layer_weights: [0.75, 0.25]
|
| 143 |
+
- sources:
|
| 144 |
+
- model: m-a-p/neo_7b
|
| 145 |
+
layers: [18, 19]
|
| 146 |
+
- model: DewEfresh/neo_7b
|
| 147 |
+
layers: [18, 19]
|
| 148 |
+
method: weighted_average
|
| 149 |
+
target_layers: [14]
|
| 150 |
+
layer_weights: [0.75, 0.25]
|
| 151 |
+
- sources:
|
| 152 |
+
- model: m-a-p/neo_7b
|
| 153 |
+
layers: [20, 23]
|
| 154 |
+
- model: DewEfresh/neo_7b
|
| 155 |
+
layers: [20, 23]
|
| 156 |
+
method: weighted_average
|
| 157 |
+
target_layers: [15]
|
| 158 |
+
layer_weights: [0.75, 0.25]
|
| 159 |
+
- sources:
|
| 160 |
+
- model: m-a-p/neo_7b
|
| 161 |
+
layers: [21, 23]
|
| 162 |
+
- model: DewEfresh/neo_7b
|
| 163 |
+
layers: [21, 23]
|
| 164 |
+
method: weighted_average
|
| 165 |
+
target_layers: [16]
|
| 166 |
+
layer_weights: [0.75, 0.25]
|
| 167 |
+
- sources:
|
| 168 |
+
- model: m-a-p/neo_7b
|
| 169 |
+
layers: [22, 23]
|
| 170 |
+
- model: DewEfresh/neo_7b
|
| 171 |
+
layers: [22, 23]
|
| 172 |
+
method: weighted_average
|
| 173 |
+
target_layers: [17]
|
| 174 |
+
layer_weights: [0.75, 0.25]
|
| 175 |
+
- sources:
|
| 176 |
+
- model: m-a-p/neo_7b
|
| 177 |
+
layers: [24, 27]
|
| 178 |
+
- model: DewEfresh/neo_7b
|
| 179 |
+
layers: [24, 27]
|
| 180 |
+
method: weighted_average
|
| 181 |
+
target_layers: [18]
|
| 182 |
+
layer_weights: [0.75, 0.25]
|
| 183 |
+
- sources:
|
| 184 |
+
- model: m-a-p/neo_7b
|
| 185 |
+
layers: [25, 27]
|
| 186 |
+
- model: DewEfresh/neo_7b
|
| 187 |
+
layers: [25, 27]
|
| 188 |
+
method: weighted_average
|
| 189 |
+
target_layers: [19]
|
| 190 |
+
layer_weights: [0.75, 0.25]
|
| 191 |
+
- sources:
|
| 192 |
+
- model: m-a-p/neo_7b
|
| 193 |
+
layers: [26, 27]
|
| 194 |
+
- model: DewEfresh/neo_7b
|
| 195 |
+
layers: [26, 27]
|
| 196 |
+
method: weighted_average
|
| 197 |
+
target_layers: [20]
|
| 198 |
+
layer_weights: [0.75, 0.25]
|
| 199 |
+
- sources:
|
| 200 |
+
- model: m-a-p/neo_7b
|
| 201 |
+
layers: [28, 31]
|
| 202 |
+
- model: DewEfresh/neo_7b
|
| 203 |
+
layers: [28, 31]
|
| 204 |
+
method: weighted_average
|
| 205 |
+
target_layers: [21]
|
| 206 |
+
layer_weights: [0.75, 0.25]
|
| 207 |
+
- sources:
|
| 208 |
+
- model: m-a-p/neo_7b
|
| 209 |
+
layers: [29, 31]
|
| 210 |
+
- model: DewEfresh/neo_7b
|
| 211 |
+
layers: [29, 31]
|
| 212 |
+
method: weighted_average
|
| 213 |
+
target_layers: [22]
|
| 214 |
+
layer_weights: [0.75, 0.25]
|
| 215 |
+
- sources:
|
| 216 |
+
- model: m-a-p/neo_7b
|
| 217 |
+
layers: [30, 31]
|
| 218 |
+
- model: DewEfresh/neo_7b
|
| 219 |
+
layers: [30, 31]
|
| 220 |
+
method: weighted_average
|
| 221 |
+
target_layers: [23]
|
| 222 |
+
layer_weights: [0.75, 0.25]
|
| 223 |
+
```
|
| 224 |
+
|
| 225 |
+
## 💻 Usage
|
| 226 |
+
|
| 227 |
+
```python
|
| 228 |
+
!pip install -qU transformers accelerate
|
| 229 |
+
|
| 230 |
+
from transformers import AutoTokenizer
|
| 231 |
+
import transformers
|
| 232 |
+
import torch
|
| 233 |
+
|
| 234 |
+
model = "DewEfresh/Neo_7b-merge6"
|
| 235 |
+
messages = [{"role": "user", "content": "What is a large language model?"}]
|
| 236 |
+
|
| 237 |
+
tokenizer = AutoTokenizer.from_pretrained(model)
|
| 238 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 239 |
+
pipeline = transformers.pipeline(
|
| 240 |
+
"text-generation",
|
| 241 |
+
model=model,
|
| 242 |
+
torch_dtype=torch.float16,
|
| 243 |
+
device_map="auto",
|
| 244 |
+
)
|
| 245 |
+
|
| 246 |
+
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
| 247 |
+
print(outputs[0]["generated_text"])
|
| 248 |
+
```
|
added_tokens.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|CLS|>": 64000,
|
| 3 |
+
"<|EOD|>": 64002,
|
| 4 |
+
"<|MASK|>": 64003,
|
| 5 |
+
"<|PAD|>": 64004,
|
| 6 |
+
"<|SEP|>": 64001
|
| 7 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "m-a-p/neo_7b",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"LlamaForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 1,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 3072,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 24576,
|
| 14 |
+
"max_position_embeddings": 8192,
|
| 15 |
+
"mlp_bias": false,
|
| 16 |
+
"model_type": "llama",
|
| 17 |
+
"num_attention_heads": 16,
|
| 18 |
+
"num_hidden_layers": 28,
|
| 19 |
+
"num_key_value_heads": 16,
|
| 20 |
+
"pretraining_tp": 1,
|
| 21 |
+
"rms_norm_eps": 1e-05,
|
| 22 |
+
"rope_scaling": null,
|
| 23 |
+
"rope_theta": 10000.0,
|
| 24 |
+
"tie_word_embeddings": false,
|
| 25 |
+
"torch_dtype": "bfloat16",
|
| 26 |
+
"transformers_version": "4.42.3",
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"vocab_size": 64256
|
| 29 |
+
}
|
mergekit_config.yml
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
models:
|
| 3 |
+
- model: m-a-p/neo_7b
|
| 4 |
+
- model: DewEfresh/neo_7b
|
| 5 |
+
parameters:
|
| 6 |
+
weight: 0.5
|
| 7 |
+
merge_method: slerp
|
| 8 |
+
base_model: m-a-p/neo_7b
|
| 9 |
+
parameters:
|
| 10 |
+
t: 0.5
|
| 11 |
+
dtype: bfloat16
|
| 12 |
+
|
| 13 |
+
custom_layers:
|
| 14 |
+
- sources:
|
| 15 |
+
- model: m-a-p/neo_7b
|
| 16 |
+
layers: [0, 3]
|
| 17 |
+
- model: DewEfresh/neo_7b
|
| 18 |
+
layers: [0, 3]
|
| 19 |
+
method: weighted_average
|
| 20 |
+
target_layers: [0]
|
| 21 |
+
layer_weights: [0.75, 0.25]
|
| 22 |
+
- sources:
|
| 23 |
+
- model: m-a-p/neo_7b
|
| 24 |
+
layers: [1, 3]
|
| 25 |
+
- model: DewEfresh/neo_7b
|
| 26 |
+
layers: [1, 3]
|
| 27 |
+
method: weighted_average
|
| 28 |
+
target_layers: [1]
|
| 29 |
+
layer_weights: [0.75, 0.25]
|
| 30 |
+
- sources:
|
| 31 |
+
- model: m-a-p/neo_7b
|
| 32 |
+
layers: [2, 3]
|
| 33 |
+
- model: DewEfresh/neo_7b
|
| 34 |
+
layers: [2, 3]
|
| 35 |
+
method: weighted_average
|
| 36 |
+
target_layers: [2]
|
| 37 |
+
layer_weights: [0.75, 0.25]
|
| 38 |
+
- sources:
|
| 39 |
+
- model: m-a-p/neo_7b
|
| 40 |
+
layers: [4, 7]
|
| 41 |
+
- model: DewEfresh/neo_7b
|
| 42 |
+
layers: [4, 7]
|
| 43 |
+
method: weighted_average
|
| 44 |
+
target_layers: [3]
|
| 45 |
+
layer_weights: [0.75, 0.25]
|
| 46 |
+
- sources:
|
| 47 |
+
- model: m-a-p/neo_7b
|
| 48 |
+
layers: [5, 7]
|
| 49 |
+
- model: DewEfresh/neo_7b
|
| 50 |
+
layers: [5, 7]
|
| 51 |
+
method: weighted_average
|
| 52 |
+
target_layers: [4]
|
| 53 |
+
layer_weights: [0.75, 0.25]
|
| 54 |
+
- sources:
|
| 55 |
+
- model: m-a-p/neo_7b
|
| 56 |
+
layers: [6, 7]
|
| 57 |
+
- model: DewEfresh/neo_7b
|
| 58 |
+
layers: [6, 7]
|
| 59 |
+
method: weighted_average
|
| 60 |
+
target_layers: [5]
|
| 61 |
+
layer_weights: [0.75, 0.25]
|
| 62 |
+
- sources:
|
| 63 |
+
- model: m-a-p/neo_7b
|
| 64 |
+
layers: [8, 11]
|
| 65 |
+
- model: DewEfresh/neo_7b
|
| 66 |
+
layers: [8, 11]
|
| 67 |
+
method: weighted_average
|
| 68 |
+
target_layers: [6]
|
| 69 |
+
layer_weights: [0.75, 0.25]
|
| 70 |
+
- sources:
|
| 71 |
+
- model: m-a-p/neo_7b
|
| 72 |
+
layers: [9, 11]
|
| 73 |
+
- model: DewEfresh/neo_7b
|
| 74 |
+
layers: [9, 11]
|
| 75 |
+
method: weighted_average
|
| 76 |
+
target_layers: [7]
|
| 77 |
+
layer_weights: [0.75, 0.25]
|
| 78 |
+
- sources:
|
| 79 |
+
- model: m-a-p/neo_7b
|
| 80 |
+
layers: [10, 11]
|
| 81 |
+
- model: DewEfresh/neo_7b
|
| 82 |
+
layers: [10, 11]
|
| 83 |
+
method: weighted_average
|
| 84 |
+
target_layers: [8]
|
| 85 |
+
layer_weights: [0.75, 0.25]
|
| 86 |
+
- sources:
|
| 87 |
+
- model: m-a-p/neo_7b
|
| 88 |
+
layers: [12, 15]
|
| 89 |
+
- model: DewEfresh/neo_7b
|
| 90 |
+
layers: [12, 15]
|
| 91 |
+
method: weighted_average
|
| 92 |
+
target_layers: [9]
|
| 93 |
+
layer_weights: [0.75, 0.25]
|
| 94 |
+
- sources:
|
| 95 |
+
- model: m-a-p/neo_7b
|
| 96 |
+
layers: [13, 15]
|
| 97 |
+
- model: DewEfresh/neo_7b
|
| 98 |
+
layers: [13, 15]
|
| 99 |
+
method: weighted_average
|
| 100 |
+
target_layers: [10]
|
| 101 |
+
layer_weights: [0.75, 0.25]
|
| 102 |
+
- sources:
|
| 103 |
+
- model: m-a-p/neo_7b
|
| 104 |
+
layers: [14, 15]
|
| 105 |
+
- model: DewEfresh/neo_7b
|
| 106 |
+
layers: [14, 15]
|
| 107 |
+
method: weighted_average
|
| 108 |
+
target_layers: [11]
|
| 109 |
+
layer_weights: [0.75, 0.25]
|
| 110 |
+
- sources:
|
| 111 |
+
- model: m-a-p/neo_7b
|
| 112 |
+
layers: [16, 19]
|
| 113 |
+
- model: DewEfresh/neo_7b
|
| 114 |
+
layers: [16, 19]
|
| 115 |
+
method: weighted_average
|
| 116 |
+
target_layers: [12]
|
| 117 |
+
layer_weights: [0.75, 0.25]
|
| 118 |
+
- sources:
|
| 119 |
+
- model: m-a-p/neo_7b
|
| 120 |
+
layers: [17, 19]
|
| 121 |
+
- model: DewEfresh/neo_7b
|
| 122 |
+
layers: [17, 19]
|
| 123 |
+
method: weighted_average
|
| 124 |
+
target_layers: [13]
|
| 125 |
+
layer_weights: [0.75, 0.25]
|
| 126 |
+
- sources:
|
| 127 |
+
- model: m-a-p/neo_7b
|
| 128 |
+
layers: [18, 19]
|
| 129 |
+
- model: DewEfresh/neo_7b
|
| 130 |
+
layers: [18, 19]
|
| 131 |
+
method: weighted_average
|
| 132 |
+
target_layers: [14]
|
| 133 |
+
layer_weights: [0.75, 0.25]
|
| 134 |
+
- sources:
|
| 135 |
+
- model: m-a-p/neo_7b
|
| 136 |
+
layers: [20, 23]
|
| 137 |
+
- model: DewEfresh/neo_7b
|
| 138 |
+
layers: [20, 23]
|
| 139 |
+
method: weighted_average
|
| 140 |
+
target_layers: [15]
|
| 141 |
+
layer_weights: [0.75, 0.25]
|
| 142 |
+
- sources:
|
| 143 |
+
- model: m-a-p/neo_7b
|
| 144 |
+
layers: [21, 23]
|
| 145 |
+
- model: DewEfresh/neo_7b
|
| 146 |
+
layers: [21, 23]
|
| 147 |
+
method: weighted_average
|
| 148 |
+
target_layers: [16]
|
| 149 |
+
layer_weights: [0.75, 0.25]
|
| 150 |
+
- sources:
|
| 151 |
+
- model: m-a-p/neo_7b
|
| 152 |
+
layers: [22, 23]
|
| 153 |
+
- model: DewEfresh/neo_7b
|
| 154 |
+
layers: [22, 23]
|
| 155 |
+
method: weighted_average
|
| 156 |
+
target_layers: [17]
|
| 157 |
+
layer_weights: [0.75, 0.25]
|
| 158 |
+
- sources:
|
| 159 |
+
- model: m-a-p/neo_7b
|
| 160 |
+
layers: [24, 27]
|
| 161 |
+
- model: DewEfresh/neo_7b
|
| 162 |
+
layers: [24, 27]
|
| 163 |
+
method: weighted_average
|
| 164 |
+
target_layers: [18]
|
| 165 |
+
layer_weights: [0.75, 0.25]
|
| 166 |
+
- sources:
|
| 167 |
+
- model: m-a-p/neo_7b
|
| 168 |
+
layers: [25, 27]
|
| 169 |
+
- model: DewEfresh/neo_7b
|
| 170 |
+
layers: [25, 27]
|
| 171 |
+
method: weighted_average
|
| 172 |
+
target_layers: [19]
|
| 173 |
+
layer_weights: [0.75, 0.25]
|
| 174 |
+
- sources:
|
| 175 |
+
- model: m-a-p/neo_7b
|
| 176 |
+
layers: [26, 27]
|
| 177 |
+
- model: DewEfresh/neo_7b
|
| 178 |
+
layers: [26, 27]
|
| 179 |
+
method: weighted_average
|
| 180 |
+
target_layers: [20]
|
| 181 |
+
layer_weights: [0.75, 0.25]
|
| 182 |
+
- sources:
|
| 183 |
+
- model: m-a-p/neo_7b
|
| 184 |
+
layers: [28, 31]
|
| 185 |
+
- model: DewEfresh/neo_7b
|
| 186 |
+
layers: [28, 31]
|
| 187 |
+
method: weighted_average
|
| 188 |
+
target_layers: [21]
|
| 189 |
+
layer_weights: [0.75, 0.25]
|
| 190 |
+
- sources:
|
| 191 |
+
- model: m-a-p/neo_7b
|
| 192 |
+
layers: [29, 31]
|
| 193 |
+
- model: DewEfresh/neo_7b
|
| 194 |
+
layers: [29, 31]
|
| 195 |
+
method: weighted_average
|
| 196 |
+
target_layers: [22]
|
| 197 |
+
layer_weights: [0.75, 0.25]
|
| 198 |
+
- sources:
|
| 199 |
+
- model: m-a-p/neo_7b
|
| 200 |
+
layers: [30, 31]
|
| 201 |
+
- model: DewEfresh/neo_7b
|
| 202 |
+
layers: [30, 31]
|
| 203 |
+
method: weighted_average
|
| 204 |
+
target_layers: [23]
|
| 205 |
+
layer_weights: [0.75, 0.25]
|
model-00001-of-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41209159383a6438fa1e73146df470aae582c40bf510ec2495a3f8780477ce87
|
| 3 |
+
size 789584192
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93f2a7f3db85521671732789bb8fd1bb3ae3a7e0d33170ea530f53a25346fcdd
|
| 3 |
+
size 4998668592
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1227a57ac0fc74f5a2c223e5e41dd53ba09f50acbf6d63e5f166a8e1fc740c5e
|
| 3 |
+
size 4926336584
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:842f7380860bf7fcbc76d2380d90cadd65d691872aea7b707c770947a2456da6
|
| 3 |
+
size 4907455800
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c646eb68fbc0f40d473ef6eb80dd23fcb436002f2f32848ec9e4c3e46ad8e216
|
| 3 |
+
size 755001136
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"metadata": {"mergekit_version": "0.0.4.4", "total_size": 15587432448}, "weight_map": {"lm_head.weight": "model-00001-of-00004.safetensors", "model.embed_tokens.weight": "model-00001-of-00004.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors", "model.layers.10.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00004.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00001-of-00004.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00004.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00004.safetensors", "model.layers.11.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00001-of-00004.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00001-of-00004.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00001-of-00004.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00001-of-00004.safetensors", "model.layers.12.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00001-of-00004.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00001-of-00004.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00001-of-00004.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00001-of-00004.safetensors", "model.layers.13.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00001-of-00004.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00001-of-00004.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00001-of-00004.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00001-of-00004.safetensors", "model.layers.14.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00001-of-00004.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00001-of-00004.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00001-of-00004.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00001-of-00004.safetensors", "model.layers.15.input_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00001-of-00004.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00001-of-00004.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00001-of-00004.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00001-of-00004.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00001-of-00004.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00001-of-00004.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00001-of-00004.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.19.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.2.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.20.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.21.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.22.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.23.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00002-of-00004.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00002-of-00004.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00002-of-00004.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00002-of-00004.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00002-of-00004.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00002-of-00004.safetensors", "model.layers.24.input_layernorm.weight": "model-00002-of-00004.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00002-of-00004.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.3.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.4.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.5.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.6.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.7.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00003-of-00004.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00003-of-00004.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00003-of-00004.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00003-of-00004.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00003-of-00004.safetensors", "model.layers.8.input_layernorm.weight": "model-00003-of-00004.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00003-of-00004.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00003-of-00004.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00004-of-00004.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00004-of-00004.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00004-of-00004.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00004-of-00004.safetensors", "model.layers.9.input_layernorm.weight": "model-00004-of-00004.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00004-of-00004.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00004-of-00004.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00004-of-00004.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00004-of-00004.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00004-of-00004.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00004-of-00004.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00004-of-00004.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00004-of-00004.safetensors", "model.norm.weight": "model-00004-of-00004.safetensors"}}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|CLS|>",
|
| 4 |
+
"<|SEP|>",
|
| 5 |
+
"<|EOD|>",
|
| 6 |
+
"<|MASK|>",
|
| 7 |
+
"<|PAD|>"
|
| 8 |
+
],
|
| 9 |
+
"bos_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": true,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": true
|
| 22 |
+
},
|
| 23 |
+
"pad_token": {
|
| 24 |
+
"content": "<unk>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": true,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": true
|
| 29 |
+
},
|
| 30 |
+
"unk_token": {
|
| 31 |
+
"content": "<unk>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": true,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": true
|
| 36 |
+
}
|
| 37 |
+
}
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6a2447b0e5664cabb2481587597102d82f42f0ccb7ef22e1c2d95494a8b03c5
|
| 3 |
+
size 1002561
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"0": {
|
| 6 |
+
"content": "<unk>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": true,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": true,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"1": {
|
| 14 |
+
"content": "<s>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": true,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"2": {
|
| 22 |
+
"content": "</s>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": true,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": true,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"64000": {
|
| 30 |
+
"content": "<|CLS|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"64001": {
|
| 38 |
+
"content": "<|SEP|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"64002": {
|
| 46 |
+
"content": "<|EOD|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"64003": {
|
| 54 |
+
"content": "<|MASK|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"64004": {
|
| 62 |
+
"content": "<|PAD|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
"additional_special_tokens": [
|
| 71 |
+
"<|CLS|>",
|
| 72 |
+
"<|SEP|>",
|
| 73 |
+
"<|EOD|>",
|
| 74 |
+
"<|MASK|>",
|
| 75 |
+
"<|PAD|>"
|
| 76 |
+
],
|
| 77 |
+
"auto_map": {
|
| 78 |
+
"AutoTokenizer": [
|
| 79 |
+
"m-a-p/neo_7b--tokenization_neo.NEOTokenizer",
|
| 80 |
+
null
|
| 81 |
+
]
|
| 82 |
+
},
|
| 83 |
+
"bos_token": "<s>",
|
| 84 |
+
"chat_template": "{% set system_message = 'You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\\n\\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don\\'t know the answer to a question, please don\\'t share false information.' %}{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if loop.index0 == 0 and system_message is defined %}{% set content = '<<SYS>>\\n' + system_message + '\\n<</SYS>>\\n\\n' + message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ '<s>' + '[INST] ' + content + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ content + '</s>' }}{% endif %}{% endfor %}",
|
| 85 |
+
"clean_up_tokenization_spaces": false,
|
| 86 |
+
"eos_token": "</s>",
|
| 87 |
+
"model_max_length": 4096,
|
| 88 |
+
"pad_token": "<unk>",
|
| 89 |
+
"padding_side": "right",
|
| 90 |
+
"sp_model_kwargs": {},
|
| 91 |
+
"split_special_tokens": false,
|
| 92 |
+
"tokenizer_class": "NEOTokenizer",
|
| 93 |
+
"unk_token": "<unk>",
|
| 94 |
+
"use_fast": false
|
| 95 |
+
}
|