ZwwWayne
commited on
Commit
•
aa8ab69
1
Parent(s):
1103ce7
update model weights
Browse files- .gitattributes +8 -0
- config.json +4 -6
- generation_config.json +1 -1
- pytorch_model-00001-of-00008.bin → model-00001-of-00008.safetensors +2 -2
- pytorch_model-00002-of-00008.bin → model-00002-of-00008.safetensors +2 -2
- pytorch_model-00003-of-00008.bin → model-00003-of-00008.safetensors +2 -2
- pytorch_model-00004-of-00008.bin → model-00004-of-00008.safetensors +2 -2
- model-00005-of-00008.safetensors +3 -0
- model-00006-of-00008.safetensors +3 -0
- model-00007-of-00008.safetensors +3 -0
- model-00008-of-00008.safetensors +3 -0
- model.safetensors.index.json +234 -0
- pytorch_model-00005-of-00008.bin +0 -3
- pytorch_model-00006-of-00008.bin +0 -3
- pytorch_model-00007-of-00008.bin +0 -3
- pytorch_model-00008-of-00008.bin +0 -3
- pytorch_model.bin.index.json +0 -234
- special_tokens_map.json +28 -4
- tokenization_internlm2_fast.py +8 -8
- tokenizer_config.json +31 -27
.gitattributes
CHANGED
@@ -42,3 +42,11 @@ pytorch_model-00003-of-00008.bin filter=lfs diff=lfs merge=lfs -text
|
|
42 |
pytorch_model-00004-of-00008.bin filter=lfs diff=lfs merge=lfs -text
|
43 |
pytorch_model-00005-of-00008.bin filter=lfs diff=lfs merge=lfs -text
|
44 |
tokenizer.model filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
pytorch_model-00004-of-00008.bin filter=lfs diff=lfs merge=lfs -text
|
43 |
pytorch_model-00005-of-00008.bin filter=lfs diff=lfs merge=lfs -text
|
44 |
tokenizer.model filter=lfs diff=lfs merge=lfs -text
|
45 |
+
model-00002-of-00008.safetensors filter=lfs diff=lfs merge=lfs -text
|
46 |
+
model-00003-of-00008.safetensors filter=lfs diff=lfs merge=lfs -text
|
47 |
+
model-00004-of-00008.safetensors filter=lfs diff=lfs merge=lfs -text
|
48 |
+
model-00005-of-00008.safetensors filter=lfs diff=lfs merge=lfs -text
|
49 |
+
model-00006-of-00008.safetensors filter=lfs diff=lfs merge=lfs -text
|
50 |
+
model-00007-of-00008.safetensors filter=lfs diff=lfs merge=lfs -text
|
51 |
+
model-00008-of-00008.safetensors filter=lfs diff=lfs merge=lfs -text
|
52 |
+
model-00001-of-00008.safetensors filter=lfs diff=lfs merge=lfs -text
|
config.json
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
"architectures": [
|
3 |
"InternLM2ForCausalLM"
|
4 |
],
|
|
|
5 |
"auto_map": {
|
6 |
"AutoConfig": "configuration_internlm2.InternLM2Config",
|
7 |
"AutoModelForCausalLM": "modeling_internlm2.InternLM2ForCausalLM",
|
@@ -21,14 +22,11 @@
|
|
21 |
"num_key_value_heads": 8,
|
22 |
"pad_token_id": 2,
|
23 |
"rms_norm_eps": 1e-05,
|
24 |
-
"rope_scaling":
|
25 |
-
"factor": 2.0,
|
26 |
-
"type": "dynamic"
|
27 |
-
},
|
28 |
"rope_theta": 1000000,
|
29 |
"tie_word_embeddings": false,
|
30 |
-
"torch_dtype": "
|
31 |
-
"transformers_version": "4.
|
32 |
"use_cache": true,
|
33 |
"vocab_size": 92544
|
34 |
}
|
|
|
2 |
"architectures": [
|
3 |
"InternLM2ForCausalLM"
|
4 |
],
|
5 |
+
"attn_implementation": "eager",
|
6 |
"auto_map": {
|
7 |
"AutoConfig": "configuration_internlm2.InternLM2Config",
|
8 |
"AutoModelForCausalLM": "modeling_internlm2.InternLM2ForCausalLM",
|
|
|
22 |
"num_key_value_heads": 8,
|
23 |
"pad_token_id": 2,
|
24 |
"rms_norm_eps": 1e-05,
|
25 |
+
"rope_scaling": null,
|
|
|
|
|
|
|
26 |
"rope_theta": 1000000,
|
27 |
"tie_word_embeddings": false,
|
28 |
+
"torch_dtype": "bfloat16",
|
29 |
+
"transformers_version": "4.37.1",
|
30 |
"use_cache": true,
|
31 |
"vocab_size": 92544
|
32 |
}
|
generation_config.json
CHANGED
@@ -3,5 +3,5 @@
|
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 2,
|
6 |
-
"transformers_version": "4.
|
7 |
}
|
|
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 2,
|
6 |
+
"transformers_version": "4.37.1"
|
7 |
}
|
pytorch_model-00001-of-00008.bin → model-00001-of-00008.safetensors
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd3794fc730ddd471282831ab4915aa8f9251a396e0ad64bbcb602b96e95c0c2
|
3 |
+
size 1949337704
|
pytorch_model-00002-of-00008.bin → model-00002-of-00008.safetensors
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46600c6686697efe4234e907dc756670e18a9ddc95f9061c73eab90bcf28eb3e
|
3 |
+
size 1946242696
|
pytorch_model-00003-of-00008.bin → model-00003-of-00008.safetensors
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d53d767ea6fb3cb6ae3b44b93e145fa99074339845cd50293fc89f4b2f4961a
|
3 |
+
size 1979780440
|
pytorch_model-00004-of-00008.bin → model-00004-of-00008.safetensors
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f2b6ae6bde2bce37e90b9b9c6e087e3b920e84024be9a6ac52b3e17e18702665
|
3 |
+
size 1946242728
|
model-00005-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18af6a7eaa32dd491be8fa43d0c038a6a80fc662fd67f9e5d67b2f71c809ada9
|
3 |
+
size 1979780456
|
model-00006-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f715e4262c12ab0f5473b31a300f5c49dcf41ec5e1471d9da3d67a4eb5b1770
|
3 |
+
size 1946242728
|
model-00007-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92caa2b51c815faf6092a203221368fea6e6890f8c04b30a7dee463f917ac054
|
3 |
+
size 1979780456
|
model-00008-of-00008.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:023b3d18868b5d41d96b7ba1a50348dbf58369caed88db53bdabdbc9e9155aef
|
3 |
+
size 1748035640
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 15475417088
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"model.layers.0.attention.wo.weight": "model-00001-of-00008.safetensors",
|
7 |
+
"model.layers.0.attention.wqkv.weight": "model-00001-of-00008.safetensors",
|
8 |
+
"model.layers.0.attention_norm.weight": "model-00001-of-00008.safetensors",
|
9 |
+
"model.layers.0.feed_forward.w1.weight": "model-00001-of-00008.safetensors",
|
10 |
+
"model.layers.0.feed_forward.w2.weight": "model-00001-of-00008.safetensors",
|
11 |
+
"model.layers.0.feed_forward.w3.weight": "model-00001-of-00008.safetensors",
|
12 |
+
"model.layers.0.ffn_norm.weight": "model-00001-of-00008.safetensors",
|
13 |
+
"model.layers.1.attention.wo.weight": "model-00001-of-00008.safetensors",
|
14 |
+
"model.layers.1.attention.wqkv.weight": "model-00001-of-00008.safetensors",
|
15 |
+
"model.layers.1.attention_norm.weight": "model-00001-of-00008.safetensors",
|
16 |
+
"model.layers.1.feed_forward.w1.weight": "model-00001-of-00008.safetensors",
|
17 |
+
"model.layers.1.feed_forward.w2.weight": "model-00001-of-00008.safetensors",
|
18 |
+
"model.layers.1.feed_forward.w3.weight": "model-00001-of-00008.safetensors",
|
19 |
+
"model.layers.1.ffn_norm.weight": "model-00001-of-00008.safetensors",
|
20 |
+
"model.layers.10.attention.wo.weight": "model-00003-of-00008.safetensors",
|
21 |
+
"model.layers.10.attention.wqkv.weight": "model-00003-of-00008.safetensors",
|
22 |
+
"model.layers.10.attention_norm.weight": "model-00003-of-00008.safetensors",
|
23 |
+
"model.layers.10.feed_forward.w1.weight": "model-00003-of-00008.safetensors",
|
24 |
+
"model.layers.10.feed_forward.w2.weight": "model-00003-of-00008.safetensors",
|
25 |
+
"model.layers.10.feed_forward.w3.weight": "model-00003-of-00008.safetensors",
|
26 |
+
"model.layers.10.ffn_norm.weight": "model-00003-of-00008.safetensors",
|
27 |
+
"model.layers.11.attention.wo.weight": "model-00003-of-00008.safetensors",
|
28 |
+
"model.layers.11.attention.wqkv.weight": "model-00003-of-00008.safetensors",
|
29 |
+
"model.layers.11.attention_norm.weight": "model-00004-of-00008.safetensors",
|
30 |
+
"model.layers.11.feed_forward.w1.weight": "model-00003-of-00008.safetensors",
|
31 |
+
"model.layers.11.feed_forward.w2.weight": "model-00004-of-00008.safetensors",
|
32 |
+
"model.layers.11.feed_forward.w3.weight": "model-00003-of-00008.safetensors",
|
33 |
+
"model.layers.11.ffn_norm.weight": "model-00004-of-00008.safetensors",
|
34 |
+
"model.layers.12.attention.wo.weight": "model-00004-of-00008.safetensors",
|
35 |
+
"model.layers.12.attention.wqkv.weight": "model-00004-of-00008.safetensors",
|
36 |
+
"model.layers.12.attention_norm.weight": "model-00004-of-00008.safetensors",
|
37 |
+
"model.layers.12.feed_forward.w1.weight": "model-00004-of-00008.safetensors",
|
38 |
+
"model.layers.12.feed_forward.w2.weight": "model-00004-of-00008.safetensors",
|
39 |
+
"model.layers.12.feed_forward.w3.weight": "model-00004-of-00008.safetensors",
|
40 |
+
"model.layers.12.ffn_norm.weight": "model-00004-of-00008.safetensors",
|
41 |
+
"model.layers.13.attention.wo.weight": "model-00004-of-00008.safetensors",
|
42 |
+
"model.layers.13.attention.wqkv.weight": "model-00004-of-00008.safetensors",
|
43 |
+
"model.layers.13.attention_norm.weight": "model-00004-of-00008.safetensors",
|
44 |
+
"model.layers.13.feed_forward.w1.weight": "model-00004-of-00008.safetensors",
|
45 |
+
"model.layers.13.feed_forward.w2.weight": "model-00004-of-00008.safetensors",
|
46 |
+
"model.layers.13.feed_forward.w3.weight": "model-00004-of-00008.safetensors",
|
47 |
+
"model.layers.13.ffn_norm.weight": "model-00004-of-00008.safetensors",
|
48 |
+
"model.layers.14.attention.wo.weight": "model-00004-of-00008.safetensors",
|
49 |
+
"model.layers.14.attention.wqkv.weight": "model-00004-of-00008.safetensors",
|
50 |
+
"model.layers.14.attention_norm.weight": "model-00004-of-00008.safetensors",
|
51 |
+
"model.layers.14.feed_forward.w1.weight": "model-00004-of-00008.safetensors",
|
52 |
+
"model.layers.14.feed_forward.w2.weight": "model-00004-of-00008.safetensors",
|
53 |
+
"model.layers.14.feed_forward.w3.weight": "model-00004-of-00008.safetensors",
|
54 |
+
"model.layers.14.ffn_norm.weight": "model-00004-of-00008.safetensors",
|
55 |
+
"model.layers.15.attention.wo.weight": "model-00004-of-00008.safetensors",
|
56 |
+
"model.layers.15.attention.wqkv.weight": "model-00004-of-00008.safetensors",
|
57 |
+
"model.layers.15.attention_norm.weight": "model-00004-of-00008.safetensors",
|
58 |
+
"model.layers.15.feed_forward.w1.weight": "model-00004-of-00008.safetensors",
|
59 |
+
"model.layers.15.feed_forward.w2.weight": "model-00004-of-00008.safetensors",
|
60 |
+
"model.layers.15.feed_forward.w3.weight": "model-00004-of-00008.safetensors",
|
61 |
+
"model.layers.15.ffn_norm.weight": "model-00004-of-00008.safetensors",
|
62 |
+
"model.layers.16.attention.wo.weight": "model-00004-of-00008.safetensors",
|
63 |
+
"model.layers.16.attention.wqkv.weight": "model-00004-of-00008.safetensors",
|
64 |
+
"model.layers.16.attention_norm.weight": "model-00005-of-00008.safetensors",
|
65 |
+
"model.layers.16.feed_forward.w1.weight": "model-00005-of-00008.safetensors",
|
66 |
+
"model.layers.16.feed_forward.w2.weight": "model-00005-of-00008.safetensors",
|
67 |
+
"model.layers.16.feed_forward.w3.weight": "model-00005-of-00008.safetensors",
|
68 |
+
"model.layers.16.ffn_norm.weight": "model-00005-of-00008.safetensors",
|
69 |
+
"model.layers.17.attention.wo.weight": "model-00005-of-00008.safetensors",
|
70 |
+
"model.layers.17.attention.wqkv.weight": "model-00005-of-00008.safetensors",
|
71 |
+
"model.layers.17.attention_norm.weight": "model-00005-of-00008.safetensors",
|
72 |
+
"model.layers.17.feed_forward.w1.weight": "model-00005-of-00008.safetensors",
|
73 |
+
"model.layers.17.feed_forward.w2.weight": "model-00005-of-00008.safetensors",
|
74 |
+
"model.layers.17.feed_forward.w3.weight": "model-00005-of-00008.safetensors",
|
75 |
+
"model.layers.17.ffn_norm.weight": "model-00005-of-00008.safetensors",
|
76 |
+
"model.layers.18.attention.wo.weight": "model-00005-of-00008.safetensors",
|
77 |
+
"model.layers.18.attention.wqkv.weight": "model-00005-of-00008.safetensors",
|
78 |
+
"model.layers.18.attention_norm.weight": "model-00005-of-00008.safetensors",
|
79 |
+
"model.layers.18.feed_forward.w1.weight": "model-00005-of-00008.safetensors",
|
80 |
+
"model.layers.18.feed_forward.w2.weight": "model-00005-of-00008.safetensors",
|
81 |
+
"model.layers.18.feed_forward.w3.weight": "model-00005-of-00008.safetensors",
|
82 |
+
"model.layers.18.ffn_norm.weight": "model-00005-of-00008.safetensors",
|
83 |
+
"model.layers.19.attention.wo.weight": "model-00005-of-00008.safetensors",
|
84 |
+
"model.layers.19.attention.wqkv.weight": "model-00005-of-00008.safetensors",
|
85 |
+
"model.layers.19.attention_norm.weight": "model-00005-of-00008.safetensors",
|
86 |
+
"model.layers.19.feed_forward.w1.weight": "model-00005-of-00008.safetensors",
|
87 |
+
"model.layers.19.feed_forward.w2.weight": "model-00005-of-00008.safetensors",
|
88 |
+
"model.layers.19.feed_forward.w3.weight": "model-00005-of-00008.safetensors",
|
89 |
+
"model.layers.19.ffn_norm.weight": "model-00005-of-00008.safetensors",
|
90 |
+
"model.layers.2.attention.wo.weight": "model-00001-of-00008.safetensors",
|
91 |
+
"model.layers.2.attention.wqkv.weight": "model-00001-of-00008.safetensors",
|
92 |
+
"model.layers.2.attention_norm.weight": "model-00002-of-00008.safetensors",
|
93 |
+
"model.layers.2.feed_forward.w1.weight": "model-00001-of-00008.safetensors",
|
94 |
+
"model.layers.2.feed_forward.w2.weight": "model-00002-of-00008.safetensors",
|
95 |
+
"model.layers.2.feed_forward.w3.weight": "model-00001-of-00008.safetensors",
|
96 |
+
"model.layers.2.ffn_norm.weight": "model-00002-of-00008.safetensors",
|
97 |
+
"model.layers.20.attention.wo.weight": "model-00005-of-00008.safetensors",
|
98 |
+
"model.layers.20.attention.wqkv.weight": "model-00005-of-00008.safetensors",
|
99 |
+
"model.layers.20.attention_norm.weight": "model-00006-of-00008.safetensors",
|
100 |
+
"model.layers.20.feed_forward.w1.weight": "model-00005-of-00008.safetensors",
|
101 |
+
"model.layers.20.feed_forward.w2.weight": "model-00006-of-00008.safetensors",
|
102 |
+
"model.layers.20.feed_forward.w3.weight": "model-00005-of-00008.safetensors",
|
103 |
+
"model.layers.20.ffn_norm.weight": "model-00006-of-00008.safetensors",
|
104 |
+
"model.layers.21.attention.wo.weight": "model-00006-of-00008.safetensors",
|
105 |
+
"model.layers.21.attention.wqkv.weight": "model-00006-of-00008.safetensors",
|
106 |
+
"model.layers.21.attention_norm.weight": "model-00006-of-00008.safetensors",
|
107 |
+
"model.layers.21.feed_forward.w1.weight": "model-00006-of-00008.safetensors",
|
108 |
+
"model.layers.21.feed_forward.w2.weight": "model-00006-of-00008.safetensors",
|
109 |
+
"model.layers.21.feed_forward.w3.weight": "model-00006-of-00008.safetensors",
|
110 |
+
"model.layers.21.ffn_norm.weight": "model-00006-of-00008.safetensors",
|
111 |
+
"model.layers.22.attention.wo.weight": "model-00006-of-00008.safetensors",
|
112 |
+
"model.layers.22.attention.wqkv.weight": "model-00006-of-00008.safetensors",
|
113 |
+
"model.layers.22.attention_norm.weight": "model-00006-of-00008.safetensors",
|
114 |
+
"model.layers.22.feed_forward.w1.weight": "model-00006-of-00008.safetensors",
|
115 |
+
"model.layers.22.feed_forward.w2.weight": "model-00006-of-00008.safetensors",
|
116 |
+
"model.layers.22.feed_forward.w3.weight": "model-00006-of-00008.safetensors",
|
117 |
+
"model.layers.22.ffn_norm.weight": "model-00006-of-00008.safetensors",
|
118 |
+
"model.layers.23.attention.wo.weight": "model-00006-of-00008.safetensors",
|
119 |
+
"model.layers.23.attention.wqkv.weight": "model-00006-of-00008.safetensors",
|
120 |
+
"model.layers.23.attention_norm.weight": "model-00006-of-00008.safetensors",
|
121 |
+
"model.layers.23.feed_forward.w1.weight": "model-00006-of-00008.safetensors",
|
122 |
+
"model.layers.23.feed_forward.w2.weight": "model-00006-of-00008.safetensors",
|
123 |
+
"model.layers.23.feed_forward.w3.weight": "model-00006-of-00008.safetensors",
|
124 |
+
"model.layers.23.ffn_norm.weight": "model-00006-of-00008.safetensors",
|
125 |
+
"model.layers.24.attention.wo.weight": "model-00006-of-00008.safetensors",
|
126 |
+
"model.layers.24.attention.wqkv.weight": "model-00006-of-00008.safetensors",
|
127 |
+
"model.layers.24.attention_norm.weight": "model-00006-of-00008.safetensors",
|
128 |
+
"model.layers.24.feed_forward.w1.weight": "model-00006-of-00008.safetensors",
|
129 |
+
"model.layers.24.feed_forward.w2.weight": "model-00006-of-00008.safetensors",
|
130 |
+
"model.layers.24.feed_forward.w3.weight": "model-00006-of-00008.safetensors",
|
131 |
+
"model.layers.24.ffn_norm.weight": "model-00006-of-00008.safetensors",
|
132 |
+
"model.layers.25.attention.wo.weight": "model-00006-of-00008.safetensors",
|
133 |
+
"model.layers.25.attention.wqkv.weight": "model-00006-of-00008.safetensors",
|
134 |
+
"model.layers.25.attention_norm.weight": "model-00007-of-00008.safetensors",
|
135 |
+
"model.layers.25.feed_forward.w1.weight": "model-00007-of-00008.safetensors",
|
136 |
+
"model.layers.25.feed_forward.w2.weight": "model-00007-of-00008.safetensors",
|
137 |
+
"model.layers.25.feed_forward.w3.weight": "model-00007-of-00008.safetensors",
|
138 |
+
"model.layers.25.ffn_norm.weight": "model-00007-of-00008.safetensors",
|
139 |
+
"model.layers.26.attention.wo.weight": "model-00007-of-00008.safetensors",
|
140 |
+
"model.layers.26.attention.wqkv.weight": "model-00007-of-00008.safetensors",
|
141 |
+
"model.layers.26.attention_norm.weight": "model-00007-of-00008.safetensors",
|
142 |
+
"model.layers.26.feed_forward.w1.weight": "model-00007-of-00008.safetensors",
|
143 |
+
"model.layers.26.feed_forward.w2.weight": "model-00007-of-00008.safetensors",
|
144 |
+
"model.layers.26.feed_forward.w3.weight": "model-00007-of-00008.safetensors",
|
145 |
+
"model.layers.26.ffn_norm.weight": "model-00007-of-00008.safetensors",
|
146 |
+
"model.layers.27.attention.wo.weight": "model-00007-of-00008.safetensors",
|
147 |
+
"model.layers.27.attention.wqkv.weight": "model-00007-of-00008.safetensors",
|
148 |
+
"model.layers.27.attention_norm.weight": "model-00007-of-00008.safetensors",
|
149 |
+
"model.layers.27.feed_forward.w1.weight": "model-00007-of-00008.safetensors",
|
150 |
+
"model.layers.27.feed_forward.w2.weight": "model-00007-of-00008.safetensors",
|
151 |
+
"model.layers.27.feed_forward.w3.weight": "model-00007-of-00008.safetensors",
|
152 |
+
"model.layers.27.ffn_norm.weight": "model-00007-of-00008.safetensors",
|
153 |
+
"model.layers.28.attention.wo.weight": "model-00007-of-00008.safetensors",
|
154 |
+
"model.layers.28.attention.wqkv.weight": "model-00007-of-00008.safetensors",
|
155 |
+
"model.layers.28.attention_norm.weight": "model-00007-of-00008.safetensors",
|
156 |
+
"model.layers.28.feed_forward.w1.weight": "model-00007-of-00008.safetensors",
|
157 |
+
"model.layers.28.feed_forward.w2.weight": "model-00007-of-00008.safetensors",
|
158 |
+
"model.layers.28.feed_forward.w3.weight": "model-00007-of-00008.safetensors",
|
159 |
+
"model.layers.28.ffn_norm.weight": "model-00007-of-00008.safetensors",
|
160 |
+
"model.layers.29.attention.wo.weight": "model-00007-of-00008.safetensors",
|
161 |
+
"model.layers.29.attention.wqkv.weight": "model-00007-of-00008.safetensors",
|
162 |
+
"model.layers.29.attention_norm.weight": "model-00008-of-00008.safetensors",
|
163 |
+
"model.layers.29.feed_forward.w1.weight": "model-00007-of-00008.safetensors",
|
164 |
+
"model.layers.29.feed_forward.w2.weight": "model-00008-of-00008.safetensors",
|
165 |
+
"model.layers.29.feed_forward.w3.weight": "model-00007-of-00008.safetensors",
|
166 |
+
"model.layers.29.ffn_norm.weight": "model-00008-of-00008.safetensors",
|
167 |
+
"model.layers.3.attention.wo.weight": "model-00002-of-00008.safetensors",
|
168 |
+
"model.layers.3.attention.wqkv.weight": "model-00002-of-00008.safetensors",
|
169 |
+
"model.layers.3.attention_norm.weight": "model-00002-of-00008.safetensors",
|
170 |
+
"model.layers.3.feed_forward.w1.weight": "model-00002-of-00008.safetensors",
|
171 |
+
"model.layers.3.feed_forward.w2.weight": "model-00002-of-00008.safetensors",
|
172 |
+
"model.layers.3.feed_forward.w3.weight": "model-00002-of-00008.safetensors",
|
173 |
+
"model.layers.3.ffn_norm.weight": "model-00002-of-00008.safetensors",
|
174 |
+
"model.layers.30.attention.wo.weight": "model-00008-of-00008.safetensors",
|
175 |
+
"model.layers.30.attention.wqkv.weight": "model-00008-of-00008.safetensors",
|
176 |
+
"model.layers.30.attention_norm.weight": "model-00008-of-00008.safetensors",
|
177 |
+
"model.layers.30.feed_forward.w1.weight": "model-00008-of-00008.safetensors",
|
178 |
+
"model.layers.30.feed_forward.w2.weight": "model-00008-of-00008.safetensors",
|
179 |
+
"model.layers.30.feed_forward.w3.weight": "model-00008-of-00008.safetensors",
|
180 |
+
"model.layers.30.ffn_norm.weight": "model-00008-of-00008.safetensors",
|
181 |
+
"model.layers.31.attention.wo.weight": "model-00008-of-00008.safetensors",
|
182 |
+
"model.layers.31.attention.wqkv.weight": "model-00008-of-00008.safetensors",
|
183 |
+
"model.layers.31.attention_norm.weight": "model-00008-of-00008.safetensors",
|
184 |
+
"model.layers.31.feed_forward.w1.weight": "model-00008-of-00008.safetensors",
|
185 |
+
"model.layers.31.feed_forward.w2.weight": "model-00008-of-00008.safetensors",
|
186 |
+
"model.layers.31.feed_forward.w3.weight": "model-00008-of-00008.safetensors",
|
187 |
+
"model.layers.31.ffn_norm.weight": "model-00008-of-00008.safetensors",
|
188 |
+
"model.layers.4.attention.wo.weight": "model-00002-of-00008.safetensors",
|
189 |
+
"model.layers.4.attention.wqkv.weight": "model-00002-of-00008.safetensors",
|
190 |
+
"model.layers.4.attention_norm.weight": "model-00002-of-00008.safetensors",
|
191 |
+
"model.layers.4.feed_forward.w1.weight": "model-00002-of-00008.safetensors",
|
192 |
+
"model.layers.4.feed_forward.w2.weight": "model-00002-of-00008.safetensors",
|
193 |
+
"model.layers.4.feed_forward.w3.weight": "model-00002-of-00008.safetensors",
|
194 |
+
"model.layers.4.ffn_norm.weight": "model-00002-of-00008.safetensors",
|
195 |
+
"model.layers.5.attention.wo.weight": "model-00002-of-00008.safetensors",
|
196 |
+
"model.layers.5.attention.wqkv.weight": "model-00002-of-00008.safetensors",
|
197 |
+
"model.layers.5.attention_norm.weight": "model-00002-of-00008.safetensors",
|
198 |
+
"model.layers.5.feed_forward.w1.weight": "model-00002-of-00008.safetensors",
|
199 |
+
"model.layers.5.feed_forward.w2.weight": "model-00002-of-00008.safetensors",
|
200 |
+
"model.layers.5.feed_forward.w3.weight": "model-00002-of-00008.safetensors",
|
201 |
+
"model.layers.5.ffn_norm.weight": "model-00002-of-00008.safetensors",
|
202 |
+
"model.layers.6.attention.wo.weight": "model-00002-of-00008.safetensors",
|
203 |
+
"model.layers.6.attention.wqkv.weight": "model-00002-of-00008.safetensors",
|
204 |
+
"model.layers.6.attention_norm.weight": "model-00002-of-00008.safetensors",
|
205 |
+
"model.layers.6.feed_forward.w1.weight": "model-00002-of-00008.safetensors",
|
206 |
+
"model.layers.6.feed_forward.w2.weight": "model-00002-of-00008.safetensors",
|
207 |
+
"model.layers.6.feed_forward.w3.weight": "model-00002-of-00008.safetensors",
|
208 |
+
"model.layers.6.ffn_norm.weight": "model-00002-of-00008.safetensors",
|
209 |
+
"model.layers.7.attention.wo.weight": "model-00002-of-00008.safetensors",
|
210 |
+
"model.layers.7.attention.wqkv.weight": "model-00002-of-00008.safetensors",
|
211 |
+
"model.layers.7.attention_norm.weight": "model-00003-of-00008.safetensors",
|
212 |
+
"model.layers.7.feed_forward.w1.weight": "model-00003-of-00008.safetensors",
|
213 |
+
"model.layers.7.feed_forward.w2.weight": "model-00003-of-00008.safetensors",
|
214 |
+
"model.layers.7.feed_forward.w3.weight": "model-00003-of-00008.safetensors",
|
215 |
+
"model.layers.7.ffn_norm.weight": "model-00003-of-00008.safetensors",
|
216 |
+
"model.layers.8.attention.wo.weight": "model-00003-of-00008.safetensors",
|
217 |
+
"model.layers.8.attention.wqkv.weight": "model-00003-of-00008.safetensors",
|
218 |
+
"model.layers.8.attention_norm.weight": "model-00003-of-00008.safetensors",
|
219 |
+
"model.layers.8.feed_forward.w1.weight": "model-00003-of-00008.safetensors",
|
220 |
+
"model.layers.8.feed_forward.w2.weight": "model-00003-of-00008.safetensors",
|
221 |
+
"model.layers.8.feed_forward.w3.weight": "model-00003-of-00008.safetensors",
|
222 |
+
"model.layers.8.ffn_norm.weight": "model-00003-of-00008.safetensors",
|
223 |
+
"model.layers.9.attention.wo.weight": "model-00003-of-00008.safetensors",
|
224 |
+
"model.layers.9.attention.wqkv.weight": "model-00003-of-00008.safetensors",
|
225 |
+
"model.layers.9.attention_norm.weight": "model-00003-of-00008.safetensors",
|
226 |
+
"model.layers.9.feed_forward.w1.weight": "model-00003-of-00008.safetensors",
|
227 |
+
"model.layers.9.feed_forward.w2.weight": "model-00003-of-00008.safetensors",
|
228 |
+
"model.layers.9.feed_forward.w3.weight": "model-00003-of-00008.safetensors",
|
229 |
+
"model.layers.9.ffn_norm.weight": "model-00003-of-00008.safetensors",
|
230 |
+
"model.norm.weight": "model-00008-of-00008.safetensors",
|
231 |
+
"model.tok_embeddings.weight": "model-00001-of-00008.safetensors",
|
232 |
+
"output.weight": "model-00008-of-00008.safetensors"
|
233 |
+
}
|
234 |
+
}
|
pytorch_model-00005-of-00008.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:c4d3bc6256ce4a3784940548316f8166011ca2af121bb657ea7c05d6deddba65
|
3 |
-
size 1979786987
|
|
|
|
|
|
|
|
pytorch_model-00006-of-00008.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d6fd9ee55f7d9044e5c619a714548ae9823af3a93b5e528e0627457cffd77768
|
3 |
-
size 1946249889
|
|
|
|
|
|
|
|
pytorch_model-00007-of-00008.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:aebe5a5e12bdc2153c39d03ce6837ade6dca15eb3987600f784cb1f3a4206c39
|
3 |
-
size 1979786987
|
|
|
|
|
|
|
|
pytorch_model-00008-of-00008.bin
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:7bb6b2cf4edb4e18aa477adb422837d0a74b9a2ec2a0c48b40fac7c177505a17
|
3 |
-
size 1748039973
|
|
|
|
|
|
|
|
pytorch_model.bin.index.json
DELETED
@@ -1,234 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"metadata": {
|
3 |
-
"total_size": 15475417088
|
4 |
-
},
|
5 |
-
"weight_map": {
|
6 |
-
"model.layers.0.attention.wo.weight": "pytorch_model-00001-of-00008.bin",
|
7 |
-
"model.layers.0.attention.wqkv.weight": "pytorch_model-00001-of-00008.bin",
|
8 |
-
"model.layers.0.attention_norm.weight": "pytorch_model-00001-of-00008.bin",
|
9 |
-
"model.layers.0.feed_forward.w1.weight": "pytorch_model-00001-of-00008.bin",
|
10 |
-
"model.layers.0.feed_forward.w2.weight": "pytorch_model-00001-of-00008.bin",
|
11 |
-
"model.layers.0.feed_forward.w3.weight": "pytorch_model-00001-of-00008.bin",
|
12 |
-
"model.layers.0.ffn_norm.weight": "pytorch_model-00001-of-00008.bin",
|
13 |
-
"model.layers.1.attention.wo.weight": "pytorch_model-00001-of-00008.bin",
|
14 |
-
"model.layers.1.attention.wqkv.weight": "pytorch_model-00001-of-00008.bin",
|
15 |
-
"model.layers.1.attention_norm.weight": "pytorch_model-00001-of-00008.bin",
|
16 |
-
"model.layers.1.feed_forward.w1.weight": "pytorch_model-00001-of-00008.bin",
|
17 |
-
"model.layers.1.feed_forward.w2.weight": "pytorch_model-00001-of-00008.bin",
|
18 |
-
"model.layers.1.feed_forward.w3.weight": "pytorch_model-00001-of-00008.bin",
|
19 |
-
"model.layers.1.ffn_norm.weight": "pytorch_model-00001-of-00008.bin",
|
20 |
-
"model.layers.10.attention.wo.weight": "pytorch_model-00003-of-00008.bin",
|
21 |
-
"model.layers.10.attention.wqkv.weight": "pytorch_model-00003-of-00008.bin",
|
22 |
-
"model.layers.10.attention_norm.weight": "pytorch_model-00003-of-00008.bin",
|
23 |
-
"model.layers.10.feed_forward.w1.weight": "pytorch_model-00003-of-00008.bin",
|
24 |
-
"model.layers.10.feed_forward.w2.weight": "pytorch_model-00003-of-00008.bin",
|
25 |
-
"model.layers.10.feed_forward.w3.weight": "pytorch_model-00003-of-00008.bin",
|
26 |
-
"model.layers.10.ffn_norm.weight": "pytorch_model-00003-of-00008.bin",
|
27 |
-
"model.layers.11.attention.wo.weight": "pytorch_model-00003-of-00008.bin",
|
28 |
-
"model.layers.11.attention.wqkv.weight": "pytorch_model-00003-of-00008.bin",
|
29 |
-
"model.layers.11.attention_norm.weight": "pytorch_model-00004-of-00008.bin",
|
30 |
-
"model.layers.11.feed_forward.w1.weight": "pytorch_model-00003-of-00008.bin",
|
31 |
-
"model.layers.11.feed_forward.w2.weight": "pytorch_model-00004-of-00008.bin",
|
32 |
-
"model.layers.11.feed_forward.w3.weight": "pytorch_model-00003-of-00008.bin",
|
33 |
-
"model.layers.11.ffn_norm.weight": "pytorch_model-00004-of-00008.bin",
|
34 |
-
"model.layers.12.attention.wo.weight": "pytorch_model-00004-of-00008.bin",
|
35 |
-
"model.layers.12.attention.wqkv.weight": "pytorch_model-00004-of-00008.bin",
|
36 |
-
"model.layers.12.attention_norm.weight": "pytorch_model-00004-of-00008.bin",
|
37 |
-
"model.layers.12.feed_forward.w1.weight": "pytorch_model-00004-of-00008.bin",
|
38 |
-
"model.layers.12.feed_forward.w2.weight": "pytorch_model-00004-of-00008.bin",
|
39 |
-
"model.layers.12.feed_forward.w3.weight": "pytorch_model-00004-of-00008.bin",
|
40 |
-
"model.layers.12.ffn_norm.weight": "pytorch_model-00004-of-00008.bin",
|
41 |
-
"model.layers.13.attention.wo.weight": "pytorch_model-00004-of-00008.bin",
|
42 |
-
"model.layers.13.attention.wqkv.weight": "pytorch_model-00004-of-00008.bin",
|
43 |
-
"model.layers.13.attention_norm.weight": "pytorch_model-00004-of-00008.bin",
|
44 |
-
"model.layers.13.feed_forward.w1.weight": "pytorch_model-00004-of-00008.bin",
|
45 |
-
"model.layers.13.feed_forward.w2.weight": "pytorch_model-00004-of-00008.bin",
|
46 |
-
"model.layers.13.feed_forward.w3.weight": "pytorch_model-00004-of-00008.bin",
|
47 |
-
"model.layers.13.ffn_norm.weight": "pytorch_model-00004-of-00008.bin",
|
48 |
-
"model.layers.14.attention.wo.weight": "pytorch_model-00004-of-00008.bin",
|
49 |
-
"model.layers.14.attention.wqkv.weight": "pytorch_model-00004-of-00008.bin",
|
50 |
-
"model.layers.14.attention_norm.weight": "pytorch_model-00004-of-00008.bin",
|
51 |
-
"model.layers.14.feed_forward.w1.weight": "pytorch_model-00004-of-00008.bin",
|
52 |
-
"model.layers.14.feed_forward.w2.weight": "pytorch_model-00004-of-00008.bin",
|
53 |
-
"model.layers.14.feed_forward.w3.weight": "pytorch_model-00004-of-00008.bin",
|
54 |
-
"model.layers.14.ffn_norm.weight": "pytorch_model-00004-of-00008.bin",
|
55 |
-
"model.layers.15.attention.wo.weight": "pytorch_model-00004-of-00008.bin",
|
56 |
-
"model.layers.15.attention.wqkv.weight": "pytorch_model-00004-of-00008.bin",
|
57 |
-
"model.layers.15.attention_norm.weight": "pytorch_model-00004-of-00008.bin",
|
58 |
-
"model.layers.15.feed_forward.w1.weight": "pytorch_model-00004-of-00008.bin",
|
59 |
-
"model.layers.15.feed_forward.w2.weight": "pytorch_model-00004-of-00008.bin",
|
60 |
-
"model.layers.15.feed_forward.w3.weight": "pytorch_model-00004-of-00008.bin",
|
61 |
-
"model.layers.15.ffn_norm.weight": "pytorch_model-00004-of-00008.bin",
|
62 |
-
"model.layers.16.attention.wo.weight": "pytorch_model-00004-of-00008.bin",
|
63 |
-
"model.layers.16.attention.wqkv.weight": "pytorch_model-00004-of-00008.bin",
|
64 |
-
"model.layers.16.attention_norm.weight": "pytorch_model-00005-of-00008.bin",
|
65 |
-
"model.layers.16.feed_forward.w1.weight": "pytorch_model-00005-of-00008.bin",
|
66 |
-
"model.layers.16.feed_forward.w2.weight": "pytorch_model-00005-of-00008.bin",
|
67 |
-
"model.layers.16.feed_forward.w3.weight": "pytorch_model-00005-of-00008.bin",
|
68 |
-
"model.layers.16.ffn_norm.weight": "pytorch_model-00005-of-00008.bin",
|
69 |
-
"model.layers.17.attention.wo.weight": "pytorch_model-00005-of-00008.bin",
|
70 |
-
"model.layers.17.attention.wqkv.weight": "pytorch_model-00005-of-00008.bin",
|
71 |
-
"model.layers.17.attention_norm.weight": "pytorch_model-00005-of-00008.bin",
|
72 |
-
"model.layers.17.feed_forward.w1.weight": "pytorch_model-00005-of-00008.bin",
|
73 |
-
"model.layers.17.feed_forward.w2.weight": "pytorch_model-00005-of-00008.bin",
|
74 |
-
"model.layers.17.feed_forward.w3.weight": "pytorch_model-00005-of-00008.bin",
|
75 |
-
"model.layers.17.ffn_norm.weight": "pytorch_model-00005-of-00008.bin",
|
76 |
-
"model.layers.18.attention.wo.weight": "pytorch_model-00005-of-00008.bin",
|
77 |
-
"model.layers.18.attention.wqkv.weight": "pytorch_model-00005-of-00008.bin",
|
78 |
-
"model.layers.18.attention_norm.weight": "pytorch_model-00005-of-00008.bin",
|
79 |
-
"model.layers.18.feed_forward.w1.weight": "pytorch_model-00005-of-00008.bin",
|
80 |
-
"model.layers.18.feed_forward.w2.weight": "pytorch_model-00005-of-00008.bin",
|
81 |
-
"model.layers.18.feed_forward.w3.weight": "pytorch_model-00005-of-00008.bin",
|
82 |
-
"model.layers.18.ffn_norm.weight": "pytorch_model-00005-of-00008.bin",
|
83 |
-
"model.layers.19.attention.wo.weight": "pytorch_model-00005-of-00008.bin",
|
84 |
-
"model.layers.19.attention.wqkv.weight": "pytorch_model-00005-of-00008.bin",
|
85 |
-
"model.layers.19.attention_norm.weight": "pytorch_model-00005-of-00008.bin",
|
86 |
-
"model.layers.19.feed_forward.w1.weight": "pytorch_model-00005-of-00008.bin",
|
87 |
-
"model.layers.19.feed_forward.w2.weight": "pytorch_model-00005-of-00008.bin",
|
88 |
-
"model.layers.19.feed_forward.w3.weight": "pytorch_model-00005-of-00008.bin",
|
89 |
-
"model.layers.19.ffn_norm.weight": "pytorch_model-00005-of-00008.bin",
|
90 |
-
"model.layers.2.attention.wo.weight": "pytorch_model-00001-of-00008.bin",
|
91 |
-
"model.layers.2.attention.wqkv.weight": "pytorch_model-00001-of-00008.bin",
|
92 |
-
"model.layers.2.attention_norm.weight": "pytorch_model-00002-of-00008.bin",
|
93 |
-
"model.layers.2.feed_forward.w1.weight": "pytorch_model-00001-of-00008.bin",
|
94 |
-
"model.layers.2.feed_forward.w2.weight": "pytorch_model-00002-of-00008.bin",
|
95 |
-
"model.layers.2.feed_forward.w3.weight": "pytorch_model-00001-of-00008.bin",
|
96 |
-
"model.layers.2.ffn_norm.weight": "pytorch_model-00002-of-00008.bin",
|
97 |
-
"model.layers.20.attention.wo.weight": "pytorch_model-00005-of-00008.bin",
|
98 |
-
"model.layers.20.attention.wqkv.weight": "pytorch_model-00005-of-00008.bin",
|
99 |
-
"model.layers.20.attention_norm.weight": "pytorch_model-00006-of-00008.bin",
|
100 |
-
"model.layers.20.feed_forward.w1.weight": "pytorch_model-00005-of-00008.bin",
|
101 |
-
"model.layers.20.feed_forward.w2.weight": "pytorch_model-00006-of-00008.bin",
|
102 |
-
"model.layers.20.feed_forward.w3.weight": "pytorch_model-00005-of-00008.bin",
|
103 |
-
"model.layers.20.ffn_norm.weight": "pytorch_model-00006-of-00008.bin",
|
104 |
-
"model.layers.21.attention.wo.weight": "pytorch_model-00006-of-00008.bin",
|
105 |
-
"model.layers.21.attention.wqkv.weight": "pytorch_model-00006-of-00008.bin",
|
106 |
-
"model.layers.21.attention_norm.weight": "pytorch_model-00006-of-00008.bin",
|
107 |
-
"model.layers.21.feed_forward.w1.weight": "pytorch_model-00006-of-00008.bin",
|
108 |
-
"model.layers.21.feed_forward.w2.weight": "pytorch_model-00006-of-00008.bin",
|
109 |
-
"model.layers.21.feed_forward.w3.weight": "pytorch_model-00006-of-00008.bin",
|
110 |
-
"model.layers.21.ffn_norm.weight": "pytorch_model-00006-of-00008.bin",
|
111 |
-
"model.layers.22.attention.wo.weight": "pytorch_model-00006-of-00008.bin",
|
112 |
-
"model.layers.22.attention.wqkv.weight": "pytorch_model-00006-of-00008.bin",
|
113 |
-
"model.layers.22.attention_norm.weight": "pytorch_model-00006-of-00008.bin",
|
114 |
-
"model.layers.22.feed_forward.w1.weight": "pytorch_model-00006-of-00008.bin",
|
115 |
-
"model.layers.22.feed_forward.w2.weight": "pytorch_model-00006-of-00008.bin",
|
116 |
-
"model.layers.22.feed_forward.w3.weight": "pytorch_model-00006-of-00008.bin",
|
117 |
-
"model.layers.22.ffn_norm.weight": "pytorch_model-00006-of-00008.bin",
|
118 |
-
"model.layers.23.attention.wo.weight": "pytorch_model-00006-of-00008.bin",
|
119 |
-
"model.layers.23.attention.wqkv.weight": "pytorch_model-00006-of-00008.bin",
|
120 |
-
"model.layers.23.attention_norm.weight": "pytorch_model-00006-of-00008.bin",
|
121 |
-
"model.layers.23.feed_forward.w1.weight": "pytorch_model-00006-of-00008.bin",
|
122 |
-
"model.layers.23.feed_forward.w2.weight": "pytorch_model-00006-of-00008.bin",
|
123 |
-
"model.layers.23.feed_forward.w3.weight": "pytorch_model-00006-of-00008.bin",
|
124 |
-
"model.layers.23.ffn_norm.weight": "pytorch_model-00006-of-00008.bin",
|
125 |
-
"model.layers.24.attention.wo.weight": "pytorch_model-00006-of-00008.bin",
|
126 |
-
"model.layers.24.attention.wqkv.weight": "pytorch_model-00006-of-00008.bin",
|
127 |
-
"model.layers.24.attention_norm.weight": "pytorch_model-00006-of-00008.bin",
|
128 |
-
"model.layers.24.feed_forward.w1.weight": "pytorch_model-00006-of-00008.bin",
|
129 |
-
"model.layers.24.feed_forward.w2.weight": "pytorch_model-00006-of-00008.bin",
|
130 |
-
"model.layers.24.feed_forward.w3.weight": "pytorch_model-00006-of-00008.bin",
|
131 |
-
"model.layers.24.ffn_norm.weight": "pytorch_model-00006-of-00008.bin",
|
132 |
-
"model.layers.25.attention.wo.weight": "pytorch_model-00006-of-00008.bin",
|
133 |
-
"model.layers.25.attention.wqkv.weight": "pytorch_model-00006-of-00008.bin",
|
134 |
-
"model.layers.25.attention_norm.weight": "pytorch_model-00007-of-00008.bin",
|
135 |
-
"model.layers.25.feed_forward.w1.weight": "pytorch_model-00007-of-00008.bin",
|
136 |
-
"model.layers.25.feed_forward.w2.weight": "pytorch_model-00007-of-00008.bin",
|
137 |
-
"model.layers.25.feed_forward.w3.weight": "pytorch_model-00007-of-00008.bin",
|
138 |
-
"model.layers.25.ffn_norm.weight": "pytorch_model-00007-of-00008.bin",
|
139 |
-
"model.layers.26.attention.wo.weight": "pytorch_model-00007-of-00008.bin",
|
140 |
-
"model.layers.26.attention.wqkv.weight": "pytorch_model-00007-of-00008.bin",
|
141 |
-
"model.layers.26.attention_norm.weight": "pytorch_model-00007-of-00008.bin",
|
142 |
-
"model.layers.26.feed_forward.w1.weight": "pytorch_model-00007-of-00008.bin",
|
143 |
-
"model.layers.26.feed_forward.w2.weight": "pytorch_model-00007-of-00008.bin",
|
144 |
-
"model.layers.26.feed_forward.w3.weight": "pytorch_model-00007-of-00008.bin",
|
145 |
-
"model.layers.26.ffn_norm.weight": "pytorch_model-00007-of-00008.bin",
|
146 |
-
"model.layers.27.attention.wo.weight": "pytorch_model-00007-of-00008.bin",
|
147 |
-
"model.layers.27.attention.wqkv.weight": "pytorch_model-00007-of-00008.bin",
|
148 |
-
"model.layers.27.attention_norm.weight": "pytorch_model-00007-of-00008.bin",
|
149 |
-
"model.layers.27.feed_forward.w1.weight": "pytorch_model-00007-of-00008.bin",
|
150 |
-
"model.layers.27.feed_forward.w2.weight": "pytorch_model-00007-of-00008.bin",
|
151 |
-
"model.layers.27.feed_forward.w3.weight": "pytorch_model-00007-of-00008.bin",
|
152 |
-
"model.layers.27.ffn_norm.weight": "pytorch_model-00007-of-00008.bin",
|
153 |
-
"model.layers.28.attention.wo.weight": "pytorch_model-00007-of-00008.bin",
|
154 |
-
"model.layers.28.attention.wqkv.weight": "pytorch_model-00007-of-00008.bin",
|
155 |
-
"model.layers.28.attention_norm.weight": "pytorch_model-00007-of-00008.bin",
|
156 |
-
"model.layers.28.feed_forward.w1.weight": "pytorch_model-00007-of-00008.bin",
|
157 |
-
"model.layers.28.feed_forward.w2.weight": "pytorch_model-00007-of-00008.bin",
|
158 |
-
"model.layers.28.feed_forward.w3.weight": "pytorch_model-00007-of-00008.bin",
|
159 |
-
"model.layers.28.ffn_norm.weight": "pytorch_model-00007-of-00008.bin",
|
160 |
-
"model.layers.29.attention.wo.weight": "pytorch_model-00007-of-00008.bin",
|
161 |
-
"model.layers.29.attention.wqkv.weight": "pytorch_model-00007-of-00008.bin",
|
162 |
-
"model.layers.29.attention_norm.weight": "pytorch_model-00008-of-00008.bin",
|
163 |
-
"model.layers.29.feed_forward.w1.weight": "pytorch_model-00007-of-00008.bin",
|
164 |
-
"model.layers.29.feed_forward.w2.weight": "pytorch_model-00008-of-00008.bin",
|
165 |
-
"model.layers.29.feed_forward.w3.weight": "pytorch_model-00007-of-00008.bin",
|
166 |
-
"model.layers.29.ffn_norm.weight": "pytorch_model-00008-of-00008.bin",
|
167 |
-
"model.layers.3.attention.wo.weight": "pytorch_model-00002-of-00008.bin",
|
168 |
-
"model.layers.3.attention.wqkv.weight": "pytorch_model-00002-of-00008.bin",
|
169 |
-
"model.layers.3.attention_norm.weight": "pytorch_model-00002-of-00008.bin",
|
170 |
-
"model.layers.3.feed_forward.w1.weight": "pytorch_model-00002-of-00008.bin",
|
171 |
-
"model.layers.3.feed_forward.w2.weight": "pytorch_model-00002-of-00008.bin",
|
172 |
-
"model.layers.3.feed_forward.w3.weight": "pytorch_model-00002-of-00008.bin",
|
173 |
-
"model.layers.3.ffn_norm.weight": "pytorch_model-00002-of-00008.bin",
|
174 |
-
"model.layers.30.attention.wo.weight": "pytorch_model-00008-of-00008.bin",
|
175 |
-
"model.layers.30.attention.wqkv.weight": "pytorch_model-00008-of-00008.bin",
|
176 |
-
"model.layers.30.attention_norm.weight": "pytorch_model-00008-of-00008.bin",
|
177 |
-
"model.layers.30.feed_forward.w1.weight": "pytorch_model-00008-of-00008.bin",
|
178 |
-
"model.layers.30.feed_forward.w2.weight": "pytorch_model-00008-of-00008.bin",
|
179 |
-
"model.layers.30.feed_forward.w3.weight": "pytorch_model-00008-of-00008.bin",
|
180 |
-
"model.layers.30.ffn_norm.weight": "pytorch_model-00008-of-00008.bin",
|
181 |
-
"model.layers.31.attention.wo.weight": "pytorch_model-00008-of-00008.bin",
|
182 |
-
"model.layers.31.attention.wqkv.weight": "pytorch_model-00008-of-00008.bin",
|
183 |
-
"model.layers.31.attention_norm.weight": "pytorch_model-00008-of-00008.bin",
|
184 |
-
"model.layers.31.feed_forward.w1.weight": "pytorch_model-00008-of-00008.bin",
|
185 |
-
"model.layers.31.feed_forward.w2.weight": "pytorch_model-00008-of-00008.bin",
|
186 |
-
"model.layers.31.feed_forward.w3.weight": "pytorch_model-00008-of-00008.bin",
|
187 |
-
"model.layers.31.ffn_norm.weight": "pytorch_model-00008-of-00008.bin",
|
188 |
-
"model.layers.4.attention.wo.weight": "pytorch_model-00002-of-00008.bin",
|
189 |
-
"model.layers.4.attention.wqkv.weight": "pytorch_model-00002-of-00008.bin",
|
190 |
-
"model.layers.4.attention_norm.weight": "pytorch_model-00002-of-00008.bin",
|
191 |
-
"model.layers.4.feed_forward.w1.weight": "pytorch_model-00002-of-00008.bin",
|
192 |
-
"model.layers.4.feed_forward.w2.weight": "pytorch_model-00002-of-00008.bin",
|
193 |
-
"model.layers.4.feed_forward.w3.weight": "pytorch_model-00002-of-00008.bin",
|
194 |
-
"model.layers.4.ffn_norm.weight": "pytorch_model-00002-of-00008.bin",
|
195 |
-
"model.layers.5.attention.wo.weight": "pytorch_model-00002-of-00008.bin",
|
196 |
-
"model.layers.5.attention.wqkv.weight": "pytorch_model-00002-of-00008.bin",
|
197 |
-
"model.layers.5.attention_norm.weight": "pytorch_model-00002-of-00008.bin",
|
198 |
-
"model.layers.5.feed_forward.w1.weight": "pytorch_model-00002-of-00008.bin",
|
199 |
-
"model.layers.5.feed_forward.w2.weight": "pytorch_model-00002-of-00008.bin",
|
200 |
-
"model.layers.5.feed_forward.w3.weight": "pytorch_model-00002-of-00008.bin",
|
201 |
-
"model.layers.5.ffn_norm.weight": "pytorch_model-00002-of-00008.bin",
|
202 |
-
"model.layers.6.attention.wo.weight": "pytorch_model-00002-of-00008.bin",
|
203 |
-
"model.layers.6.attention.wqkv.weight": "pytorch_model-00002-of-00008.bin",
|
204 |
-
"model.layers.6.attention_norm.weight": "pytorch_model-00002-of-00008.bin",
|
205 |
-
"model.layers.6.feed_forward.w1.weight": "pytorch_model-00002-of-00008.bin",
|
206 |
-
"model.layers.6.feed_forward.w2.weight": "pytorch_model-00002-of-00008.bin",
|
207 |
-
"model.layers.6.feed_forward.w3.weight": "pytorch_model-00002-of-00008.bin",
|
208 |
-
"model.layers.6.ffn_norm.weight": "pytorch_model-00002-of-00008.bin",
|
209 |
-
"model.layers.7.attention.wo.weight": "pytorch_model-00002-of-00008.bin",
|
210 |
-
"model.layers.7.attention.wqkv.weight": "pytorch_model-00002-of-00008.bin",
|
211 |
-
"model.layers.7.attention_norm.weight": "pytorch_model-00003-of-00008.bin",
|
212 |
-
"model.layers.7.feed_forward.w1.weight": "pytorch_model-00003-of-00008.bin",
|
213 |
-
"model.layers.7.feed_forward.w2.weight": "pytorch_model-00003-of-00008.bin",
|
214 |
-
"model.layers.7.feed_forward.w3.weight": "pytorch_model-00003-of-00008.bin",
|
215 |
-
"model.layers.7.ffn_norm.weight": "pytorch_model-00003-of-00008.bin",
|
216 |
-
"model.layers.8.attention.wo.weight": "pytorch_model-00003-of-00008.bin",
|
217 |
-
"model.layers.8.attention.wqkv.weight": "pytorch_model-00003-of-00008.bin",
|
218 |
-
"model.layers.8.attention_norm.weight": "pytorch_model-00003-of-00008.bin",
|
219 |
-
"model.layers.8.feed_forward.w1.weight": "pytorch_model-00003-of-00008.bin",
|
220 |
-
"model.layers.8.feed_forward.w2.weight": "pytorch_model-00003-of-00008.bin",
|
221 |
-
"model.layers.8.feed_forward.w3.weight": "pytorch_model-00003-of-00008.bin",
|
222 |
-
"model.layers.8.ffn_norm.weight": "pytorch_model-00003-of-00008.bin",
|
223 |
-
"model.layers.9.attention.wo.weight": "pytorch_model-00003-of-00008.bin",
|
224 |
-
"model.layers.9.attention.wqkv.weight": "pytorch_model-00003-of-00008.bin",
|
225 |
-
"model.layers.9.attention_norm.weight": "pytorch_model-00003-of-00008.bin",
|
226 |
-
"model.layers.9.feed_forward.w1.weight": "pytorch_model-00003-of-00008.bin",
|
227 |
-
"model.layers.9.feed_forward.w2.weight": "pytorch_model-00003-of-00008.bin",
|
228 |
-
"model.layers.9.feed_forward.w3.weight": "pytorch_model-00003-of-00008.bin",
|
229 |
-
"model.layers.9.ffn_norm.weight": "pytorch_model-00003-of-00008.bin",
|
230 |
-
"model.norm.weight": "pytorch_model-00008-of-00008.bin",
|
231 |
-
"model.tok_embeddings.weight": "pytorch_model-00001-of-00008.bin",
|
232 |
-
"output.weight": "pytorch_model-00008-of-00008.bin"
|
233 |
-
}
|
234 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
special_tokens_map.json
CHANGED
@@ -7,8 +7,32 @@
|
|
7 |
"<|interpreter|>",
|
8 |
"<|plugin|>"
|
9 |
],
|
10 |
-
"bos_token":
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
|
|
7 |
"<|interpreter|>",
|
8 |
"<|plugin|>"
|
9 |
],
|
10 |
+
"bos_token": {
|
11 |
+
"content": "<s>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
"eos_token": {
|
18 |
+
"content": "</s>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
},
|
24 |
+
"pad_token": {
|
25 |
+
"content": "</s>",
|
26 |
+
"lstrip": false,
|
27 |
+
"normalized": false,
|
28 |
+
"rstrip": false,
|
29 |
+
"single_word": false
|
30 |
+
},
|
31 |
+
"unk_token": {
|
32 |
+
"content": "<unk>",
|
33 |
+
"lstrip": false,
|
34 |
+
"normalized": false,
|
35 |
+
"rstrip": false,
|
36 |
+
"single_word": false
|
37 |
+
}
|
38 |
}
|
tokenization_internlm2_fast.py
CHANGED
@@ -56,14 +56,14 @@ class InternLM2Converter(SpmConverter):
|
|
56 |
return unk_id
|
57 |
|
58 |
def decoder(self, replacement, add_prefix_space):
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
|
68 |
def tokenizer(self, proto):
|
69 |
model_type = proto.trainer_spec.model_type
|
|
|
56 |
return unk_id
|
57 |
|
58 |
def decoder(self, replacement, add_prefix_space):
|
59 |
+
return decoders.Sequence(
|
60 |
+
[
|
61 |
+
decoders.Replace("▁", " "),
|
62 |
+
decoders.ByteFallback(),
|
63 |
+
decoders.Fuse(),
|
64 |
+
decoders.Strip(content=" ", left=1),
|
65 |
+
]
|
66 |
+
)
|
67 |
|
68 |
def tokenizer(self, proto):
|
69 |
model_type = proto.trainer_spec.model_type
|
tokenizer_config.json
CHANGED
@@ -1,17 +1,6 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
"tokenization_internlm2.InternLM2Tokenizer",
|
5 |
-
"tokenization_internlm2_fast.InternLM2TokenizerFast"
|
6 |
-
]
|
7 |
-
},
|
8 |
-
"bos_token": "<s>",
|
9 |
-
"clean_up_tokenization_spaces": false,
|
10 |
-
"eos_token": "</s>",
|
11 |
-
"model_max_length": 1000000000000000019884624838656,
|
12 |
-
"pad_token": "</s>",
|
13 |
-
"tokenizer_class": "InternLM2Tokenizer",
|
14 |
-
"unk_token": "<unk>",
|
15 |
"added_tokens_decoder": {
|
16 |
"0": {
|
17 |
"content": "<unk>",
|
@@ -37,48 +26,48 @@
|
|
37 |
"single_word": false,
|
38 |
"special": true
|
39 |
},
|
40 |
-
"
|
41 |
-
"content": "<|
|
42 |
"lstrip": false,
|
43 |
"normalized": false,
|
44 |
"rstrip": false,
|
45 |
"single_word": false,
|
46 |
"special": true
|
47 |
},
|
48 |
-
"
|
49 |
-
"content": "<|
|
50 |
"lstrip": false,
|
51 |
"normalized": false,
|
52 |
"rstrip": false,
|
53 |
"single_word": false,
|
54 |
"special": true
|
55 |
},
|
56 |
-
"
|
57 |
-
"content": "<|
|
58 |
"lstrip": false,
|
59 |
"normalized": false,
|
60 |
"rstrip": false,
|
61 |
"single_word": false,
|
62 |
"special": true
|
63 |
},
|
64 |
-
"
|
65 |
-
"content": "<|
|
66 |
"lstrip": false,
|
67 |
"normalized": false,
|
68 |
"rstrip": false,
|
69 |
"single_word": false,
|
70 |
"special": true
|
71 |
},
|
72 |
-
"
|
73 |
-
"content": "<|
|
74 |
"lstrip": false,
|
75 |
"normalized": false,
|
76 |
"rstrip": false,
|
77 |
"single_word": false,
|
78 |
"special": true
|
79 |
},
|
80 |
-
"
|
81 |
-
"content": "<|
|
82 |
"lstrip": false,
|
83 |
"normalized": false,
|
84 |
"rstrip": false,
|
@@ -94,5 +83,20 @@
|
|
94 |
"<|interpreter|>",
|
95 |
"<|plugin|>"
|
96 |
],
|
97 |
-
"
|
98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"added_tokens_decoder": {
|
5 |
"0": {
|
6 |
"content": "<unk>",
|
|
|
26 |
"single_word": false,
|
27 |
"special": true
|
28 |
},
|
29 |
+
"92538": {
|
30 |
+
"content": "<|plugin|>",
|
31 |
"lstrip": false,
|
32 |
"normalized": false,
|
33 |
"rstrip": false,
|
34 |
"single_word": false,
|
35 |
"special": true
|
36 |
},
|
37 |
+
"92539": {
|
38 |
+
"content": "<|interpreter|>",
|
39 |
"lstrip": false,
|
40 |
"normalized": false,
|
41 |
"rstrip": false,
|
42 |
"single_word": false,
|
43 |
"special": true
|
44 |
},
|
45 |
+
"92540": {
|
46 |
+
"content": "<|action_end|>",
|
47 |
"lstrip": false,
|
48 |
"normalized": false,
|
49 |
"rstrip": false,
|
50 |
"single_word": false,
|
51 |
"special": true
|
52 |
},
|
53 |
+
"92541": {
|
54 |
+
"content": "<|action_start|>",
|
55 |
"lstrip": false,
|
56 |
"normalized": false,
|
57 |
"rstrip": false,
|
58 |
"single_word": false,
|
59 |
"special": true
|
60 |
},
|
61 |
+
"92542": {
|
62 |
+
"content": "<|im_end|>",
|
63 |
"lstrip": false,
|
64 |
"normalized": false,
|
65 |
"rstrip": false,
|
66 |
"single_word": false,
|
67 |
"special": true
|
68 |
},
|
69 |
+
"92543": {
|
70 |
+
"content": "<|im_start|>",
|
71 |
"lstrip": false,
|
72 |
"normalized": false,
|
73 |
"rstrip": false,
|
|
|
83 |
"<|interpreter|>",
|
84 |
"<|plugin|>"
|
85 |
],
|
86 |
+
"auto_map": {
|
87 |
+
"AutoTokenizer": [
|
88 |
+
"tokenization_internlm2.InternLM2Tokenizer",
|
89 |
+
"tokenization_internlm2_fast.InternLM2TokenizerFast"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
"bos_token": "<s>",
|
93 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
94 |
+
"clean_up_tokenization_spaces": false,
|
95 |
+
"decode_with_prefix_space": false,
|
96 |
+
"eos_token": "</s>",
|
97 |
+
"model_max_length": 1000000000000000019884624838656,
|
98 |
+
"pad_token": "</s>",
|
99 |
+
"sp_model_kwargs": null,
|
100 |
+
"tokenizer_class": "InternLM2Tokenizer",
|
101 |
+
"unk_token": "<unk>"
|
102 |
+
}
|