Upload folder using huggingface_hub
Browse files- README.md +80 -0
- config.json +30 -0
- mergekit_config.yml +34 -0
- model-00001-of-00015.safetensors +3 -0
- model-00002-of-00015.safetensors +3 -0
- model-00003-of-00015.safetensors +3 -0
- model-00004-of-00015.safetensors +3 -0
- model-00005-of-00015.safetensors +3 -0
- model-00006-of-00015.safetensors +3 -0
- model-00007-of-00015.safetensors +3 -0
- model-00008-of-00015.safetensors +3 -0
- model-00009-of-00015.safetensors +3 -0
- model-00010-of-00015.safetensors +3 -0
- model-00011-of-00015.safetensors +3 -0
- model-00012-of-00015.safetensors +3 -0
- model-00013-of-00015.safetensors +3 -0
- model-00014-of-00015.safetensors +3 -0
- model-00015-of-00015.safetensors +3 -0
- model.safetensors.index.json +1 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer_config.json +137 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- deepseek-ai/deepseek-llm-7b-base
|
4 |
+
- deepseek-ai/deepseek-coder-7b-base-v1.5
|
5 |
+
tags:
|
6 |
+
- merge
|
7 |
+
- mergekit
|
8 |
+
- lazymergekit
|
9 |
+
- deepseek-ai/deepseek-llm-7b-base
|
10 |
+
- deepseek-ai/deepseek-coder-7b-base-v1.5
|
11 |
+
---
|
12 |
+
|
13 |
+
# SeekDeep-CodeLM-7B-Base-Ties
|
14 |
+
|
15 |
+
SeekDeep-CodeLM-7B-Base-Ties is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
16 |
+
* [deepseek-ai/deepseek-llm-7b-base](https://huggingface.co/deepseek-ai/deepseek-llm-7b-base)
|
17 |
+
* [deepseek-ai/deepseek-coder-7b-base-v1.5](https://huggingface.co/deepseek-ai/deepseek-coder-7b-base-v1.5)
|
18 |
+
|
19 |
+
## 🧩 Configuration
|
20 |
+
|
21 |
+
```yaml
|
22 |
+
models:
|
23 |
+
|
24 |
+
- model: deepseek-ai/deepseek-llm-7b-base
|
25 |
+
|
26 |
+
parameters:
|
27 |
+
|
28 |
+
weight: 1
|
29 |
+
|
30 |
+
density: 1
|
31 |
+
|
32 |
+
- model: deepseek-ai/deepseek-coder-7b-base-v1.5
|
33 |
+
|
34 |
+
parameters:
|
35 |
+
|
36 |
+
weight: 1
|
37 |
+
|
38 |
+
density: 1
|
39 |
+
|
40 |
+
merge_method: ties
|
41 |
+
|
42 |
+
base_model: deepseek-ai/deepseek-llm-7b-base
|
43 |
+
|
44 |
+
parameters:
|
45 |
+
|
46 |
+
weight: 1
|
47 |
+
|
48 |
+
density: 1
|
49 |
+
|
50 |
+
normalize: true
|
51 |
+
|
52 |
+
int8_mask: true
|
53 |
+
|
54 |
+
dtype: bfloat16
|
55 |
+
```
|
56 |
+
|
57 |
+
## 💻 Usage
|
58 |
+
|
59 |
+
```python
|
60 |
+
!pip install -qU transformers accelerate
|
61 |
+
|
62 |
+
from transformers import AutoTokenizer
|
63 |
+
import transformers
|
64 |
+
import torch
|
65 |
+
|
66 |
+
model = "JoPmt/SeekDeep-CodeLM-7B-Base-Ties"
|
67 |
+
messages = [{"role": "user", "content": "What is a large language model?"}]
|
68 |
+
|
69 |
+
tokenizer = AutoTokenizer.from_pretrained(model)
|
70 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
71 |
+
pipeline = transformers.pipeline(
|
72 |
+
"text-generation",
|
73 |
+
model=model,
|
74 |
+
torch_dtype=torch.float16,
|
75 |
+
device_map="auto",
|
76 |
+
)
|
77 |
+
|
78 |
+
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
79 |
+
print(outputs[0]["generated_text"])
|
80 |
+
```
|
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "deepseek-ai/deepseek-llm-7b-base",
|
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 |
+
"head_dim": 128,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 4096,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 11008,
|
15 |
+
"max_position_embeddings": 4096,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 30,
|
20 |
+
"num_key_value_heads": 32,
|
21 |
+
"pretraining_tp": 1,
|
22 |
+
"rms_norm_eps": 1e-06,
|
23 |
+
"rope_scaling": null,
|
24 |
+
"rope_theta": 10000.0,
|
25 |
+
"tie_word_embeddings": false,
|
26 |
+
"torch_dtype": "bfloat16",
|
27 |
+
"transformers_version": "4.46.0.dev0",
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 102400
|
30 |
+
}
|
mergekit_config.yml
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
models:
|
3 |
+
|
4 |
+
- model: deepseek-ai/deepseek-llm-7b-base
|
5 |
+
|
6 |
+
parameters:
|
7 |
+
|
8 |
+
weight: 1
|
9 |
+
|
10 |
+
density: 1
|
11 |
+
|
12 |
+
- model: deepseek-ai/deepseek-coder-7b-base-v1.5
|
13 |
+
|
14 |
+
parameters:
|
15 |
+
|
16 |
+
weight: 1
|
17 |
+
|
18 |
+
density: 1
|
19 |
+
|
20 |
+
merge_method: ties
|
21 |
+
|
22 |
+
base_model: deepseek-ai/deepseek-llm-7b-base
|
23 |
+
|
24 |
+
parameters:
|
25 |
+
|
26 |
+
weight: 1
|
27 |
+
|
28 |
+
density: 1
|
29 |
+
|
30 |
+
normalize: true
|
31 |
+
|
32 |
+
int8_mask: true
|
33 |
+
|
34 |
+
dtype: bfloat16
|
model-00001-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b0b0c18ccd15a804af585d3c3787cb0bdf4de6613bd3ac0a3f5e87b13861821
|
3 |
+
size 838860928
|
model-00002-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:780700cb7b40a78291060d450c980b25eadbb92b707af91849e1679ec1593d14
|
3 |
+
size 929046888
|
model-00003-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9c0e245a15ccc9d755b7d58f7892bb2ed9d55668e8fb4d854b12213aaaf0bc82
|
3 |
+
size 989899136
|
model-00004-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5d379bab2d9209f577b480ec700c709f534ed51424d06df2c6c73405e95c15a
|
3 |
+
size 943762032
|
model-00005-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef960123bcdf72e41c3ebde4ba2a348a0cd8d12c35931b7bdbcbb7bfc4821dcd
|
3 |
+
size 989890840
|
model-00006-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4a2560dbea3f30a218b92550ef6076ae57146030384f65c3b18787a17196f951
|
3 |
+
size 966830592
|
model-00007-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3601b802c917bd6d8d270e84053c6a7e231c77ffb881a16d3d607712fb891fd2
|
3 |
+
size 966830584
|
model-00008-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6314779068052e717f77b2919ecdc0a30937896131cbaed83ea96acb8d6f510f
|
3 |
+
size 989899144
|
model-00009-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2ae7b2361499391ed2f7419849fb39e7f34916a372c02c66cbdda4bddfc9f5e
|
3 |
+
size 943762032
|
model-00010-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdc2e5475596b352d5336ea79dbfa78f3e25c1afe46b895e5e1c0c8927cee274
|
3 |
+
size 989890840
|
model-00011-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81df7a17dfc50d21bc9068cffcb6722c5a91e66af623dd5fd8ff01c284784efc
|
3 |
+
size 966830592
|
model-00012-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:536c669e5703f908771b60a3e0f8aadeeb3e903b29d27f2eaff11748f49bb1d7
|
3 |
+
size 966830576
|
model-00013-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:631c2e2c554039992c35e0b6f0da5223f78ce42f009cf7ca21dec6e75d1f32c4
|
3 |
+
size 989899128
|
model-00014-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45b02701ad2373f560cbb6f2e7ce25d85873e73315d6c6bba744eafd33eccff1
|
3 |
+
size 943762008
|
model-00015-of-00015.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc276b7758f07589734fea918e477d3dcd3c4b1156c051446a11be7e1d6812db
|
3 |
+
size 404767760
|
model.safetensors.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"metadata": {"mergekit_version": "0.0.4.4", "total_size": 13820731392}, "weight_map": {"lm_head.weight": "model-00001-of-00015.safetensors", "model.embed_tokens.weight": "model-00002-of-00015.safetensors", "model.layers.0.input_layernorm.weight": "model-00002-of-00015.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00002-of-00015.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00003-of-00015.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00003-of-00015.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00003-of-00015.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00003-of-00015.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00003-of-00015.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00003-of-00015.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00003-of-00015.safetensors", "model.layers.1.input_layernorm.weight": "model-00003-of-00015.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00003-of-00015.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00003-of-00015.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00003-of-00015.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00003-of-00015.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00003-of-00015.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00003-of-00015.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00003-of-00015.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00003-of-00015.safetensors", "model.layers.10.input_layernorm.weight": "model-00003-of-00015.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00003-of-00015.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00003-of-00015.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00003-of-00015.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00003-of-00015.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00004-of-00015.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00004-of-00015.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00004-of-00015.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00004-of-00015.safetensors", "model.layers.11.input_layernorm.weight": "model-00004-of-00015.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00004-of-00015.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00004-of-00015.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00004-of-00015.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00004-of-00015.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00004-of-00015.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00004-of-00015.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00004-of-00015.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00004-of-00015.safetensors", "model.layers.12.input_layernorm.weight": "model-00004-of-00015.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00004-of-00015.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00004-of-00015.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00004-of-00015.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00004-of-00015.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00004-of-00015.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00004-of-00015.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00004-of-00015.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00004-of-00015.safetensors", "model.layers.13.input_layernorm.weight": "model-00004-of-00015.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00005-of-00015.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00005-of-00015.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00005-of-00015.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00005-of-00015.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00005-of-00015.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00005-of-00015.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00005-of-00015.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00005-of-00015.safetensors", "model.layers.14.input_layernorm.weight": "model-00005-of-00015.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00005-of-00015.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00005-of-00015.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00005-of-00015.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00005-of-00015.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00005-of-00015.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00005-of-00015.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00005-of-00015.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00005-of-00015.safetensors", "model.layers.15.input_layernorm.weight": "model-00005-of-00015.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00005-of-00015.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00005-of-00015.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00006-of-00015.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00006-of-00015.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00006-of-00015.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00006-of-00015.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00006-of-00015.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00006-of-00015.safetensors", "model.layers.16.input_layernorm.weight": "model-00006-of-00015.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00006-of-00015.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00006-of-00015.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00006-of-00015.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00006-of-00015.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00006-of-00015.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00006-of-00015.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00006-of-00015.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00006-of-00015.safetensors", "model.layers.17.input_layernorm.weight": "model-00006-of-00015.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00006-of-00015.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00006-of-00015.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00006-of-00015.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00006-of-00015.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00006-of-00015.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00006-of-00015.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00007-of-00015.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00007-of-00015.safetensors", "model.layers.18.input_layernorm.weight": "model-00007-of-00015.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00007-of-00015.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00007-of-00015.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00007-of-00015.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00007-of-00015.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00007-of-00015.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00007-of-00015.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00007-of-00015.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00007-of-00015.safetensors", "model.layers.19.input_layernorm.weight": "model-00007-of-00015.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00007-of-00015.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00007-of-00015.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00007-of-00015.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00007-of-00015.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00007-of-00015.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00007-of-00015.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00007-of-00015.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00007-of-00015.safetensors", "model.layers.2.input_layernorm.weight": "model-00007-of-00015.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00007-of-00015.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00008-of-00015.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00008-of-00015.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00008-of-00015.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00008-of-00015.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00008-of-00015.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00008-of-00015.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00008-of-00015.safetensors", "model.layers.20.input_layernorm.weight": "model-00008-of-00015.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00008-of-00015.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00008-of-00015.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00008-of-00015.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00008-of-00015.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00008-of-00015.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00008-of-00015.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00008-of-00015.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00008-of-00015.safetensors", "model.layers.21.input_layernorm.weight": "model-00008-of-00015.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00008-of-00015.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00008-of-00015.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00008-of-00015.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00008-of-00015.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00009-of-00015.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00009-of-00015.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00009-of-00015.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00009-of-00015.safetensors", "model.layers.22.input_layernorm.weight": "model-00009-of-00015.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00009-of-00015.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00009-of-00015.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00009-of-00015.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00009-of-00015.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00009-of-00015.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00009-of-00015.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00009-of-00015.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00009-of-00015.safetensors", "model.layers.23.input_layernorm.weight": "model-00009-of-00015.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00009-of-00015.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00009-of-00015.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00009-of-00015.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00009-of-00015.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00009-of-00015.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00009-of-00015.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00009-of-00015.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00009-of-00015.safetensors", "model.layers.24.input_layernorm.weight": "model-00009-of-00015.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00010-of-00015.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00010-of-00015.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00010-of-00015.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00010-of-00015.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00010-of-00015.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00010-of-00015.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00010-of-00015.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00010-of-00015.safetensors", "model.layers.25.input_layernorm.weight": "model-00010-of-00015.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00010-of-00015.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00010-of-00015.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00010-of-00015.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00010-of-00015.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00010-of-00015.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00010-of-00015.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00010-of-00015.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00010-of-00015.safetensors", "model.layers.26.input_layernorm.weight": "model-00010-of-00015.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00010-of-00015.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00010-of-00015.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00011-of-00015.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00011-of-00015.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00011-of-00015.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00011-of-00015.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00011-of-00015.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00011-of-00015.safetensors", "model.layers.27.input_layernorm.weight": "model-00011-of-00015.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00011-of-00015.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00011-of-00015.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00011-of-00015.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00011-of-00015.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00011-of-00015.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00011-of-00015.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00011-of-00015.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00011-of-00015.safetensors", "model.layers.28.input_layernorm.weight": "model-00011-of-00015.safetensors", "model.layers.28.mlp.down_proj.weight": "model-00011-of-00015.safetensors", "model.layers.28.mlp.gate_proj.weight": "model-00011-of-00015.safetensors", "model.layers.28.mlp.up_proj.weight": "model-00011-of-00015.safetensors", "model.layers.28.post_attention_layernorm.weight": "model-00011-of-00015.safetensors", "model.layers.28.self_attn.k_proj.weight": "model-00011-of-00015.safetensors", "model.layers.28.self_attn.o_proj.weight": "model-00011-of-00015.safetensors", "model.layers.28.self_attn.q_proj.weight": "model-00012-of-00015.safetensors", "model.layers.28.self_attn.v_proj.weight": "model-00012-of-00015.safetensors", "model.layers.29.input_layernorm.weight": "model-00012-of-00015.safetensors", "model.layers.29.mlp.down_proj.weight": "model-00012-of-00015.safetensors", "model.layers.29.mlp.gate_proj.weight": "model-00012-of-00015.safetensors", "model.layers.29.mlp.up_proj.weight": "model-00012-of-00015.safetensors", "model.layers.29.post_attention_layernorm.weight": "model-00012-of-00015.safetensors", "model.layers.29.self_attn.k_proj.weight": "model-00012-of-00015.safetensors", "model.layers.29.self_attn.o_proj.weight": "model-00012-of-00015.safetensors", "model.layers.29.self_attn.q_proj.weight": "model-00012-of-00015.safetensors", "model.layers.29.self_attn.v_proj.weight": "model-00012-of-00015.safetensors", "model.layers.3.input_layernorm.weight": "model-00012-of-00015.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00012-of-00015.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00012-of-00015.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00012-of-00015.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00012-of-00015.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00012-of-00015.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00012-of-00015.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00012-of-00015.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00012-of-00015.safetensors", "model.layers.4.input_layernorm.weight": "model-00012-of-00015.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00012-of-00015.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00013-of-00015.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00013-of-00015.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00013-of-00015.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00013-of-00015.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00013-of-00015.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00013-of-00015.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00013-of-00015.safetensors", "model.layers.5.input_layernorm.weight": "model-00013-of-00015.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00013-of-00015.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00013-of-00015.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00013-of-00015.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00013-of-00015.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00013-of-00015.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00013-of-00015.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00013-of-00015.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00013-of-00015.safetensors", "model.layers.6.input_layernorm.weight": "model-00013-of-00015.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00013-of-00015.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00013-of-00015.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00013-of-00015.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00013-of-00015.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00014-of-00015.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00014-of-00015.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00014-of-00015.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00014-of-00015.safetensors", "model.layers.7.input_layernorm.weight": "model-00014-of-00015.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00014-of-00015.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00014-of-00015.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00014-of-00015.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00014-of-00015.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00014-of-00015.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00014-of-00015.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00014-of-00015.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00014-of-00015.safetensors", "model.layers.8.input_layernorm.weight": "model-00014-of-00015.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00014-of-00015.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00014-of-00015.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00014-of-00015.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00014-of-00015.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00014-of-00015.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00014-of-00015.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00014-of-00015.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00014-of-00015.safetensors", "model.layers.9.input_layernorm.weight": "model-00014-of-00015.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00015-of-00015.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00015-of-00015.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00015-of-00015.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00015-of-00015.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00015-of-00015.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00015-of-00015.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00015-of-00015.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00015-of-00015.safetensors", "model.norm.weight": "model-00015-of-00015.safetensors"}}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|begin▁of▁sentence|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|end▁of▁sentence|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|end▁of▁sentence|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"100000": {
|
7 |
+
"content": "<|begin▁of▁sentence|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"100001": {
|
15 |
+
"content": "<|end▁of▁sentence|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"100002": {
|
23 |
+
"content": "ø",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": true,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": false
|
29 |
+
},
|
30 |
+
"100003": {
|
31 |
+
"content": "ö",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false,
|
36 |
+
"special": false
|
37 |
+
},
|
38 |
+
"100004": {
|
39 |
+
"content": "ú",
|
40 |
+
"lstrip": false,
|
41 |
+
"normalized": true,
|
42 |
+
"rstrip": false,
|
43 |
+
"single_word": false,
|
44 |
+
"special": false
|
45 |
+
},
|
46 |
+
"100005": {
|
47 |
+
"content": "ÿ",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": true,
|
50 |
+
"rstrip": false,
|
51 |
+
"single_word": false,
|
52 |
+
"special": false
|
53 |
+
},
|
54 |
+
"100006": {
|
55 |
+
"content": "õ",
|
56 |
+
"lstrip": false,
|
57 |
+
"normalized": true,
|
58 |
+
"rstrip": false,
|
59 |
+
"single_word": false,
|
60 |
+
"special": false
|
61 |
+
},
|
62 |
+
"100007": {
|
63 |
+
"content": "÷",
|
64 |
+
"lstrip": false,
|
65 |
+
"normalized": true,
|
66 |
+
"rstrip": false,
|
67 |
+
"single_word": false,
|
68 |
+
"special": false
|
69 |
+
},
|
70 |
+
"100008": {
|
71 |
+
"content": "û",
|
72 |
+
"lstrip": false,
|
73 |
+
"normalized": true,
|
74 |
+
"rstrip": false,
|
75 |
+
"single_word": false,
|
76 |
+
"special": false
|
77 |
+
},
|
78 |
+
"100009": {
|
79 |
+
"content": "ý",
|
80 |
+
"lstrip": false,
|
81 |
+
"normalized": true,
|
82 |
+
"rstrip": false,
|
83 |
+
"single_word": false,
|
84 |
+
"special": false
|
85 |
+
},
|
86 |
+
"100010": {
|
87 |
+
"content": "À",
|
88 |
+
"lstrip": false,
|
89 |
+
"normalized": true,
|
90 |
+
"rstrip": false,
|
91 |
+
"single_word": false,
|
92 |
+
"special": false
|
93 |
+
},
|
94 |
+
"100011": {
|
95 |
+
"content": "ù",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": true,
|
98 |
+
"rstrip": false,
|
99 |
+
"single_word": false,
|
100 |
+
"special": false
|
101 |
+
},
|
102 |
+
"100012": {
|
103 |
+
"content": "Á",
|
104 |
+
"lstrip": false,
|
105 |
+
"normalized": true,
|
106 |
+
"rstrip": false,
|
107 |
+
"single_word": false,
|
108 |
+
"special": false
|
109 |
+
},
|
110 |
+
"100013": {
|
111 |
+
"content": "þ",
|
112 |
+
"lstrip": false,
|
113 |
+
"normalized": true,
|
114 |
+
"rstrip": false,
|
115 |
+
"single_word": false,
|
116 |
+
"special": false
|
117 |
+
},
|
118 |
+
"100014": {
|
119 |
+
"content": "ü",
|
120 |
+
"lstrip": false,
|
121 |
+
"normalized": true,
|
122 |
+
"rstrip": false,
|
123 |
+
"single_word": false,
|
124 |
+
"special": false
|
125 |
+
}
|
126 |
+
},
|
127 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
128 |
+
"clean_up_tokenization_spaces": false,
|
129 |
+
"eos_token": "<|end▁of▁sentence|>",
|
130 |
+
"legacy": true,
|
131 |
+
"model_max_length": 4096,
|
132 |
+
"pad_token": "<|end▁of▁sentence|>",
|
133 |
+
"sp_model_kwargs": {},
|
134 |
+
"tokenizer_class": "LlamaTokenizer",
|
135 |
+
"unk_token": null,
|
136 |
+
"use_default_system_prompt": false
|
137 |
+
}
|