Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +36 -0
- config.json +29 -0
- mergekit_config.yml +16 -0
- model-00001-of-00018.safetensors +3 -0
- model-00002-of-00018.safetensors +3 -0
- model-00003-of-00018.safetensors +3 -0
- model-00004-of-00018.safetensors +3 -0
- model-00005-of-00018.safetensors +3 -0
- model-00006-of-00018.safetensors +3 -0
- model-00007-of-00018.safetensors +3 -0
- model-00008-of-00018.safetensors +3 -0
- model-00009-of-00018.safetensors +3 -0
- model-00010-of-00018.safetensors +3 -0
- model-00011-of-00018.safetensors +3 -0
- model-00012-of-00018.safetensors +3 -0
- model-00013-of-00018.safetensors +3 -0
- model-00014-of-00018.safetensors +3 -0
- model-00015-of-00018.safetensors +3 -0
- model-00016-of-00018.safetensors +3 -0
- model-00017-of-00018.safetensors +3 -0
- model-00018-of-00018.safetensors +3 -0
- model.safetensors.index.json +1 -0
- special_tokens_map.json +34 -0
- tokenizer.json +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +70 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- merge
|
5 |
+
- mergekit
|
6 |
+
- lazymergekit
|
7 |
+
- beomi/gemma-ko-7b
|
8 |
+
- lemon-mint/gemma-ko-7b-instruct-v0.62
|
9 |
+
---
|
10 |
+
|
11 |
+
# Merge-gemma-ko-7B
|
12 |
+
|
13 |
+
Merge-gemma-ko-7B is a merge of the following models using [mergekit](https://github.com/cg123/mergekit):
|
14 |
+
* [beomi/gemma-ko-7b](https://huggingface.co/beomi/gemma-ko-7b)
|
15 |
+
* [lemon-mint/gemma-ko-7b-instruct-v0.62](https://huggingface.co/lemon-mint/gemma-ko-7b-instruct-v0.62)
|
16 |
+
|
17 |
+
## 🧩 Configuration
|
18 |
+
|
19 |
+
'''yaml
|
20 |
+
slices:
|
21 |
+
- sources:
|
22 |
+
- model: beomi/gemma-ko-7b
|
23 |
+
layer_range: [0, 28]
|
24 |
+
- model: lemon-mint/gemma-ko-7b-instruct-v0.62
|
25 |
+
layer_range: [0, 28]
|
26 |
+
merge_method: slerp
|
27 |
+
base_model: lemon-mint/gemma-ko-7b-instruct-v0.62
|
28 |
+
parameters:
|
29 |
+
t:
|
30 |
+
- filter: self_attn
|
31 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
32 |
+
- filter: mlp
|
33 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
34 |
+
- value: 0.5
|
35 |
+
dtype: bfloat16
|
36 |
+
'''
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "lemon-mint/gemma-ko-7b-instruct-v0.62",
|
3 |
+
"architectures": [
|
4 |
+
"GemmaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 2,
|
9 |
+
"eos_token_id": 107,
|
10 |
+
"head_dim": 256,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_activation": null,
|
13 |
+
"hidden_size": 3072,
|
14 |
+
"initializer_range": 0.003,
|
15 |
+
"intermediate_size": 24576,
|
16 |
+
"max_position_embeddings": 8192,
|
17 |
+
"model_type": "gemma",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 28,
|
20 |
+
"num_key_value_heads": 16,
|
21 |
+
"pad_token_id": 0,
|
22 |
+
"rms_norm_eps": 1e-06,
|
23 |
+
"rope_scaling": null,
|
24 |
+
"rope_theta": 10000.0,
|
25 |
+
"torch_dtype": "bfloat16",
|
26 |
+
"transformers_version": "4.45.2",
|
27 |
+
"use_cache": true,
|
28 |
+
"vocab_size": 256000
|
29 |
+
}
|
mergekit_config.yml
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
slices:
|
2 |
+
- sources:
|
3 |
+
- model: beomi/gemma-ko-7b
|
4 |
+
layer_range: [0, 28]
|
5 |
+
- model: lemon-mint/gemma-ko-7b-instruct-v0.62
|
6 |
+
layer_range: [0, 28]
|
7 |
+
merge_method: slerp
|
8 |
+
base_model: lemon-mint/gemma-ko-7b-instruct-v0.62
|
9 |
+
parameters:
|
10 |
+
t:
|
11 |
+
- filter: self_attn
|
12 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
13 |
+
- filter: mlp
|
14 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
15 |
+
- value: 0.5
|
16 |
+
dtype: bfloat16
|
model-00001-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95f106f108a0542f56e24b727b6d4a29f5272e9a3529f28b8945c93528cc5306
|
3 |
+
size 1572864144
|
model-00002-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5507368a9645012e92514c6e460bbd2338a069133ea572b73a2c1b171df736f9
|
3 |
+
size 855657832
|
model-00003-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0f520e452bf7226bd460652786b7084bd631b2f27482202ce6f3449b5cd65aa
|
3 |
+
size 956327872
|
model-00004-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee6eaf77e2bf8ed6608c32fafa09cd5efe3370fba57865437dd0fd73614dc8d6
|
3 |
+
size 956327872
|
model-00005-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c9bf5d918172bf269732a97a6c7264dcc337245c7c0795946d78078bec16096
|
3 |
+
size 855651600
|
model-00006-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0773bbdca07592a81472472059e3a4408cd3dbd1b343e16e17eceb7ab46be06d
|
3 |
+
size 956327872
|
model-00007-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:404f6ec150bfc459c46feb5ca5eb83494a59b80aecd5b78c03d58115e60fe0c2
|
3 |
+
size 956327872
|
model-00008-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec315561b9238594fab0c0203e63015459f673f84ea501e9549659c0cb2d6333
|
3 |
+
size 855651600
|
model-00009-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3cfad97761d0b288c45db89b098dad8d2aba19b4754245ae1cb5103558d11f7b
|
3 |
+
size 956327864
|
model-00010-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d88de24a1cf8aa10c62521230a2e0edcdaeb01667e958ad7731b5ceeb4ea017
|
3 |
+
size 956327872
|
model-00011-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dacfb59d19023f30c111fcafee7b7aa14cc08c75535b9bf22dcfc1c24f54b1bf
|
3 |
+
size 855651600
|
model-00012-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4dbbbe3faaf3632d2ba43f64db93c64f4a419dae5f5076cbd05097e3b1375c1
|
3 |
+
size 956327872
|
model-00013-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74d49cbfa643b752b3675c9d801923efd35193834bde76d197af08ed354b64a4
|
3 |
+
size 956327872
|
model-00014-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d326b7633189f122e88f99c0237d87fdd93ba9e838daca8a65d4572f3be402b
|
3 |
+
size 855651600
|
model-00015-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7231c6d11c00be46eee213d1c58e0fd2c419422249a8bbb5763347d814901b6
|
3 |
+
size 956327856
|
model-00016-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:288a88d7039733df921c2c6db618703b74b18d5c02d6e6c6459b48f9ea2e8148
|
3 |
+
size 956327856
|
model-00017-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0edcb56643b6c60345b89c1596788ea90f720bf70589283ed7ede53cc8685972
|
3 |
+
size 855651592
|
model-00018-of-00018.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aba0c9fe752967411d26f7be6c5af5331eb65e14ac098749d60fc0833896f8bd
|
3 |
+
size 805332784
|
model.safetensors.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"metadata": {"mergekit_version": "0.0.4.4", "total_size": 17075361792}, "weight_map": {"model.embed_tokens.weight": "model-00001-of-00018.safetensors", "model.layers.0.input_layernorm.weight": "model-00002-of-00018.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00002-of-00018.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00002-of-00018.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00002-of-00018.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00002-of-00018.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00002-of-00018.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00002-of-00018.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00002-of-00018.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00002-of-00018.safetensors", "model.layers.1.input_layernorm.weight": "model-00002-of-00018.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00002-of-00018.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00002-of-00018.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00003-of-00018.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00003-of-00018.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00003-of-00018.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00003-of-00018.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00003-of-00018.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00003-of-00018.safetensors", "model.layers.10.input_layernorm.weight": "model-00003-of-00018.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00003-of-00018.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00003-of-00018.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00003-of-00018.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00003-of-00018.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00003-of-00018.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00003-of-00018.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00003-of-00018.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00003-of-00018.safetensors", "model.layers.11.input_layernorm.weight": "model-00003-of-00018.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00003-of-00018.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00004-of-00018.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00004-of-00018.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00004-of-00018.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00004-of-00018.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00004-of-00018.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00004-of-00018.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00004-of-00018.safetensors", "model.layers.12.input_layernorm.weight": "model-00004-of-00018.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00004-of-00018.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00004-of-00018.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00004-of-00018.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00004-of-00018.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00004-of-00018.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00004-of-00018.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00004-of-00018.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00004-of-00018.safetensors", "model.layers.13.input_layernorm.weight": "model-00004-of-00018.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00005-of-00018.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00005-of-00018.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00005-of-00018.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00005-of-00018.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00005-of-00018.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00005-of-00018.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00005-of-00018.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00005-of-00018.safetensors", "model.layers.14.input_layernorm.weight": "model-00005-of-00018.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00005-of-00018.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00005-of-00018.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00006-of-00018.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00006-of-00018.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00006-of-00018.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00006-of-00018.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00006-of-00018.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00006-of-00018.safetensors", "model.layers.15.input_layernorm.weight": "model-00006-of-00018.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00006-of-00018.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00006-of-00018.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00006-of-00018.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00006-of-00018.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00006-of-00018.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00006-of-00018.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00006-of-00018.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00006-of-00018.safetensors", "model.layers.16.input_layernorm.weight": "model-00006-of-00018.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00006-of-00018.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00007-of-00018.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00007-of-00018.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00007-of-00018.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00007-of-00018.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00007-of-00018.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00007-of-00018.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00007-of-00018.safetensors", "model.layers.17.input_layernorm.weight": "model-00007-of-00018.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00007-of-00018.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00007-of-00018.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00007-of-00018.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00007-of-00018.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00007-of-00018.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00007-of-00018.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00007-of-00018.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00007-of-00018.safetensors", "model.layers.18.input_layernorm.weight": "model-00007-of-00018.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00008-of-00018.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00008-of-00018.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00008-of-00018.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00008-of-00018.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00008-of-00018.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00008-of-00018.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00008-of-00018.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00008-of-00018.safetensors", "model.layers.19.input_layernorm.weight": "model-00008-of-00018.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00008-of-00018.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00008-of-00018.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00009-of-00018.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00009-of-00018.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00009-of-00018.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00009-of-00018.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00009-of-00018.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00009-of-00018.safetensors", "model.layers.2.input_layernorm.weight": "model-00009-of-00018.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00009-of-00018.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00009-of-00018.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00009-of-00018.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00009-of-00018.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00009-of-00018.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00009-of-00018.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00009-of-00018.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00009-of-00018.safetensors", "model.layers.20.input_layernorm.weight": "model-00009-of-00018.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00009-of-00018.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00010-of-00018.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00010-of-00018.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00010-of-00018.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00010-of-00018.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00010-of-00018.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00010-of-00018.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00010-of-00018.safetensors", "model.layers.21.input_layernorm.weight": "model-00010-of-00018.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00010-of-00018.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00010-of-00018.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00010-of-00018.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00010-of-00018.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00010-of-00018.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00010-of-00018.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00010-of-00018.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00010-of-00018.safetensors", "model.layers.22.input_layernorm.weight": "model-00010-of-00018.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00011-of-00018.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00011-of-00018.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00011-of-00018.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00011-of-00018.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00011-of-00018.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00011-of-00018.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00011-of-00018.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00011-of-00018.safetensors", "model.layers.23.input_layernorm.weight": "model-00011-of-00018.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00011-of-00018.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00011-of-00018.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00012-of-00018.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00012-of-00018.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00012-of-00018.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00012-of-00018.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00012-of-00018.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00012-of-00018.safetensors", "model.layers.24.input_layernorm.weight": "model-00012-of-00018.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00012-of-00018.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00012-of-00018.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00012-of-00018.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00012-of-00018.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00012-of-00018.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00012-of-00018.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00012-of-00018.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00012-of-00018.safetensors", "model.layers.25.input_layernorm.weight": "model-00012-of-00018.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00012-of-00018.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00013-of-00018.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00013-of-00018.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00013-of-00018.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00013-of-00018.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00013-of-00018.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00013-of-00018.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00013-of-00018.safetensors", "model.layers.26.input_layernorm.weight": "model-00013-of-00018.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00013-of-00018.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00013-of-00018.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00013-of-00018.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00013-of-00018.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00013-of-00018.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00013-of-00018.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00013-of-00018.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00013-of-00018.safetensors", "model.layers.27.input_layernorm.weight": "model-00013-of-00018.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00014-of-00018.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00014-of-00018.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00014-of-00018.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00014-of-00018.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00014-of-00018.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00014-of-00018.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00014-of-00018.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00014-of-00018.safetensors", "model.layers.3.input_layernorm.weight": "model-00014-of-00018.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00014-of-00018.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00014-of-00018.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00015-of-00018.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00015-of-00018.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00015-of-00018.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00015-of-00018.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00015-of-00018.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00015-of-00018.safetensors", "model.layers.4.input_layernorm.weight": "model-00015-of-00018.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00015-of-00018.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00015-of-00018.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00015-of-00018.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00015-of-00018.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00015-of-00018.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00015-of-00018.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00015-of-00018.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00015-of-00018.safetensors", "model.layers.5.input_layernorm.weight": "model-00015-of-00018.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00015-of-00018.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00016-of-00018.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00016-of-00018.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00016-of-00018.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00016-of-00018.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00016-of-00018.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00016-of-00018.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00016-of-00018.safetensors", "model.layers.6.input_layernorm.weight": "model-00016-of-00018.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00016-of-00018.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00016-of-00018.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00016-of-00018.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00016-of-00018.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00016-of-00018.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00016-of-00018.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00016-of-00018.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00016-of-00018.safetensors", "model.layers.7.input_layernorm.weight": "model-00016-of-00018.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00017-of-00018.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00017-of-00018.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00017-of-00018.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00017-of-00018.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00017-of-00018.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00017-of-00018.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00017-of-00018.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00017-of-00018.safetensors", "model.layers.8.input_layernorm.weight": "model-00017-of-00018.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00017-of-00018.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00017-of-00018.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00018-of-00018.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00018-of-00018.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00018-of-00018.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00018-of-00018.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00018-of-00018.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00018-of-00018.safetensors", "model.layers.9.input_layernorm.weight": "model-00018-of-00018.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00018-of-00018.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00018-of-00018.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00018-of-00018.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00018-of-00018.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00018-of-00018.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00018-of-00018.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00018-of-00018.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00018-of-00018.safetensors", "model.norm.weight": "model-00018-of-00018.safetensors"}}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<start_of_turn>",
|
4 |
+
"<end_of_turn>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<bos>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": {
|
21 |
+
"content": "<pad>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"unk_token": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:547c0e52df3d3df3f60b259eb50cfe3bc5175623ef3ad49023ee4287dbd617ea
|
3 |
+
size 34315473
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61a7b147390c64585d6c3543dd6fc636906c9af3865a5548f27f31aee1d4c8e2
|
3 |
+
size 4241003
|
tokenizer_config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<pad>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<eos>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<bos>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<unk>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"106": {
|
38 |
+
"content": "<start_of_turn>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"107": {
|
46 |
+
"content": "<end_of_turn>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
}
|
53 |
+
},
|
54 |
+
"additional_special_tokens": [
|
55 |
+
"<start_of_turn>",
|
56 |
+
"<end_of_turn>"
|
57 |
+
],
|
58 |
+
"bos_token": "<bos>",
|
59 |
+
"chat_template": "{{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
|
60 |
+
"clean_up_tokenization_spaces": false,
|
61 |
+
"eos_token": "<eos>",
|
62 |
+
"legacy": null,
|
63 |
+
"model_max_length": 1000000000000000019884624838656,
|
64 |
+
"pad_token": "<pad>",
|
65 |
+
"sp_model_kwargs": {},
|
66 |
+
"spaces_between_special_tokens": false,
|
67 |
+
"tokenizer_class": "GemmaTokenizer",
|
68 |
+
"unk_token": "<unk>",
|
69 |
+
"use_default_system_prompt": false
|
70 |
+
}
|