Upload RWKV6ForCausalLM
Browse files- config.json +36 -0
- generation_config.json +6 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +781 -0
- special_tokens_map.json +23 -0
- tokenization_rwkv5.py +229 -0
- tokenizer_config.json +26 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "fla-hub/rwkv6-7B-finch",
|
3 |
+
"architectures": [
|
4 |
+
"RWKV6ForCausalLM"
|
5 |
+
],
|
6 |
+
"attn_mode": "chunk",
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"clamp_min": null,
|
9 |
+
"conv_size": 4,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"expand_k": 1,
|
12 |
+
"expand_v": 1,
|
13 |
+
"fuse_cross_entropy": true,
|
14 |
+
"fuse_norm": true,
|
15 |
+
"gate_low_rank_dim": 128,
|
16 |
+
"hidden_act": "sqrelu",
|
17 |
+
"hidden_ratio": 3.5,
|
18 |
+
"hidden_size": 4096,
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": null,
|
21 |
+
"max_position_embeddings": 2048,
|
22 |
+
"model_type": "rwkv6",
|
23 |
+
"norm_bias": true,
|
24 |
+
"norm_eps": 1e-05,
|
25 |
+
"norm_first": true,
|
26 |
+
"num_heads": 64,
|
27 |
+
"num_hidden_layers": 32,
|
28 |
+
"proj_low_rank_dim": 64,
|
29 |
+
"share_conv_kernel": true,
|
30 |
+
"tie_word_embeddings": false,
|
31 |
+
"torch_dtype": "bfloat16",
|
32 |
+
"transformers_version": "4.40.2",
|
33 |
+
"use_cache": true,
|
34 |
+
"use_glu": false,
|
35 |
+
"vocab_size": 65536
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.40.2"
|
6 |
+
}
|
model-00001-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80c154954adb3e8e831f3d33375b386ef98f539b43bd659d7645b7ec9403340b
|
3 |
+
size 4979018912
|
model-00002-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a519916b85f1c8282e71e17db064e00b53bee6fcd46e4897ebacb3aca200ea68
|
3 |
+
size 4983264920
|
model-00003-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ac4c96282a46bfcfe0361680ca90a2109a41d818bda4bf43898f38759c2d080
|
3 |
+
size 4772425368
|
model-00004-of-00004.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41e58fe98aad6f868d1e2f8ecaa87b1bc2fc1b0b1cd54cb3dd2d2587c473c9a3
|
3 |
+
size 536871040
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,781 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 15271493632
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
7 |
+
"model.embeddings.weight": "model-00001-of-00004.safetensors",
|
8 |
+
"model.layers.0.attn.bonus": "model-00001-of-00004.safetensors",
|
9 |
+
"model.layers.0.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
10 |
+
"model.layers.0.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
11 |
+
"model.layers.0.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
12 |
+
"model.layers.0.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
13 |
+
"model.layers.0.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
14 |
+
"model.layers.0.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
15 |
+
"model.layers.0.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
16 |
+
"model.layers.0.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
17 |
+
"model.layers.0.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
18 |
+
"model.layers.0.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
19 |
+
"model.layers.0.attn.x_bias": "model-00001-of-00004.safetensors",
|
20 |
+
"model.layers.0.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
21 |
+
"model.layers.0.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
22 |
+
"model.layers.0.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
23 |
+
"model.layers.0.attn_norm.bias": "model-00001-of-00004.safetensors",
|
24 |
+
"model.layers.0.attn_norm.weight": "model-00001-of-00004.safetensors",
|
25 |
+
"model.layers.0.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
26 |
+
"model.layers.0.ffn.key.mu": "model-00001-of-00004.safetensors",
|
27 |
+
"model.layers.0.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
28 |
+
"model.layers.0.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
29 |
+
"model.layers.0.ffn.value.weight": "model-00001-of-00004.safetensors",
|
30 |
+
"model.layers.0.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
31 |
+
"model.layers.0.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
32 |
+
"model.layers.0.pre_norm.bias": "model-00001-of-00004.safetensors",
|
33 |
+
"model.layers.0.pre_norm.weight": "model-00001-of-00004.safetensors",
|
34 |
+
"model.layers.1.attn.bonus": "model-00001-of-00004.safetensors",
|
35 |
+
"model.layers.1.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
36 |
+
"model.layers.1.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
37 |
+
"model.layers.1.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
38 |
+
"model.layers.1.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
39 |
+
"model.layers.1.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
40 |
+
"model.layers.1.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
41 |
+
"model.layers.1.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
42 |
+
"model.layers.1.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
43 |
+
"model.layers.1.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
44 |
+
"model.layers.1.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
45 |
+
"model.layers.1.attn.x_bias": "model-00001-of-00004.safetensors",
|
46 |
+
"model.layers.1.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
47 |
+
"model.layers.1.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
48 |
+
"model.layers.1.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
49 |
+
"model.layers.1.attn_norm.bias": "model-00001-of-00004.safetensors",
|
50 |
+
"model.layers.1.attn_norm.weight": "model-00001-of-00004.safetensors",
|
51 |
+
"model.layers.1.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
52 |
+
"model.layers.1.ffn.key.mu": "model-00001-of-00004.safetensors",
|
53 |
+
"model.layers.1.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
54 |
+
"model.layers.1.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
55 |
+
"model.layers.1.ffn.value.weight": "model-00001-of-00004.safetensors",
|
56 |
+
"model.layers.1.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
57 |
+
"model.layers.1.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
58 |
+
"model.layers.10.attn.bonus": "model-00001-of-00004.safetensors",
|
59 |
+
"model.layers.10.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
60 |
+
"model.layers.10.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
61 |
+
"model.layers.10.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
62 |
+
"model.layers.10.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
63 |
+
"model.layers.10.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
64 |
+
"model.layers.10.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
65 |
+
"model.layers.10.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
66 |
+
"model.layers.10.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
67 |
+
"model.layers.10.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
68 |
+
"model.layers.10.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
69 |
+
"model.layers.10.attn.x_bias": "model-00001-of-00004.safetensors",
|
70 |
+
"model.layers.10.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
71 |
+
"model.layers.10.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
72 |
+
"model.layers.10.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
73 |
+
"model.layers.10.attn_norm.bias": "model-00001-of-00004.safetensors",
|
74 |
+
"model.layers.10.attn_norm.weight": "model-00001-of-00004.safetensors",
|
75 |
+
"model.layers.10.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
76 |
+
"model.layers.10.ffn.key.mu": "model-00002-of-00004.safetensors",
|
77 |
+
"model.layers.10.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
78 |
+
"model.layers.10.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
79 |
+
"model.layers.10.ffn.value.weight": "model-00002-of-00004.safetensors",
|
80 |
+
"model.layers.10.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
81 |
+
"model.layers.10.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
82 |
+
"model.layers.11.attn.bonus": "model-00002-of-00004.safetensors",
|
83 |
+
"model.layers.11.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
84 |
+
"model.layers.11.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
85 |
+
"model.layers.11.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
86 |
+
"model.layers.11.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
87 |
+
"model.layers.11.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
88 |
+
"model.layers.11.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
89 |
+
"model.layers.11.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
90 |
+
"model.layers.11.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
91 |
+
"model.layers.11.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
92 |
+
"model.layers.11.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
93 |
+
"model.layers.11.attn.x_bias": "model-00002-of-00004.safetensors",
|
94 |
+
"model.layers.11.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
95 |
+
"model.layers.11.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
96 |
+
"model.layers.11.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
97 |
+
"model.layers.11.attn_norm.bias": "model-00002-of-00004.safetensors",
|
98 |
+
"model.layers.11.attn_norm.weight": "model-00002-of-00004.safetensors",
|
99 |
+
"model.layers.11.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
100 |
+
"model.layers.11.ffn.key.mu": "model-00002-of-00004.safetensors",
|
101 |
+
"model.layers.11.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
102 |
+
"model.layers.11.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
103 |
+
"model.layers.11.ffn.value.weight": "model-00002-of-00004.safetensors",
|
104 |
+
"model.layers.11.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
105 |
+
"model.layers.11.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
106 |
+
"model.layers.12.attn.bonus": "model-00002-of-00004.safetensors",
|
107 |
+
"model.layers.12.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
108 |
+
"model.layers.12.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
109 |
+
"model.layers.12.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
110 |
+
"model.layers.12.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
111 |
+
"model.layers.12.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
112 |
+
"model.layers.12.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
113 |
+
"model.layers.12.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
114 |
+
"model.layers.12.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
115 |
+
"model.layers.12.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
116 |
+
"model.layers.12.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
117 |
+
"model.layers.12.attn.x_bias": "model-00002-of-00004.safetensors",
|
118 |
+
"model.layers.12.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
119 |
+
"model.layers.12.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
120 |
+
"model.layers.12.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
121 |
+
"model.layers.12.attn_norm.bias": "model-00002-of-00004.safetensors",
|
122 |
+
"model.layers.12.attn_norm.weight": "model-00002-of-00004.safetensors",
|
123 |
+
"model.layers.12.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
124 |
+
"model.layers.12.ffn.key.mu": "model-00002-of-00004.safetensors",
|
125 |
+
"model.layers.12.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
126 |
+
"model.layers.12.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
127 |
+
"model.layers.12.ffn.value.weight": "model-00002-of-00004.safetensors",
|
128 |
+
"model.layers.12.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
129 |
+
"model.layers.12.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
130 |
+
"model.layers.13.attn.bonus": "model-00002-of-00004.safetensors",
|
131 |
+
"model.layers.13.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
132 |
+
"model.layers.13.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
133 |
+
"model.layers.13.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
134 |
+
"model.layers.13.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
135 |
+
"model.layers.13.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
136 |
+
"model.layers.13.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
137 |
+
"model.layers.13.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
138 |
+
"model.layers.13.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
139 |
+
"model.layers.13.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
140 |
+
"model.layers.13.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
141 |
+
"model.layers.13.attn.x_bias": "model-00002-of-00004.safetensors",
|
142 |
+
"model.layers.13.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
143 |
+
"model.layers.13.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
144 |
+
"model.layers.13.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
145 |
+
"model.layers.13.attn_norm.bias": "model-00002-of-00004.safetensors",
|
146 |
+
"model.layers.13.attn_norm.weight": "model-00002-of-00004.safetensors",
|
147 |
+
"model.layers.13.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
148 |
+
"model.layers.13.ffn.key.mu": "model-00002-of-00004.safetensors",
|
149 |
+
"model.layers.13.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
150 |
+
"model.layers.13.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
151 |
+
"model.layers.13.ffn.value.weight": "model-00002-of-00004.safetensors",
|
152 |
+
"model.layers.13.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
153 |
+
"model.layers.13.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
154 |
+
"model.layers.14.attn.bonus": "model-00002-of-00004.safetensors",
|
155 |
+
"model.layers.14.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
156 |
+
"model.layers.14.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
157 |
+
"model.layers.14.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
158 |
+
"model.layers.14.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
159 |
+
"model.layers.14.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
160 |
+
"model.layers.14.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
161 |
+
"model.layers.14.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
162 |
+
"model.layers.14.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
163 |
+
"model.layers.14.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
164 |
+
"model.layers.14.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
165 |
+
"model.layers.14.attn.x_bias": "model-00002-of-00004.safetensors",
|
166 |
+
"model.layers.14.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
167 |
+
"model.layers.14.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
168 |
+
"model.layers.14.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
169 |
+
"model.layers.14.attn_norm.bias": "model-00002-of-00004.safetensors",
|
170 |
+
"model.layers.14.attn_norm.weight": "model-00002-of-00004.safetensors",
|
171 |
+
"model.layers.14.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
172 |
+
"model.layers.14.ffn.key.mu": "model-00002-of-00004.safetensors",
|
173 |
+
"model.layers.14.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
174 |
+
"model.layers.14.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
175 |
+
"model.layers.14.ffn.value.weight": "model-00002-of-00004.safetensors",
|
176 |
+
"model.layers.14.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
177 |
+
"model.layers.14.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
178 |
+
"model.layers.15.attn.bonus": "model-00002-of-00004.safetensors",
|
179 |
+
"model.layers.15.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
180 |
+
"model.layers.15.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
181 |
+
"model.layers.15.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
182 |
+
"model.layers.15.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
183 |
+
"model.layers.15.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
184 |
+
"model.layers.15.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
185 |
+
"model.layers.15.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
186 |
+
"model.layers.15.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
187 |
+
"model.layers.15.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
188 |
+
"model.layers.15.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
189 |
+
"model.layers.15.attn.x_bias": "model-00002-of-00004.safetensors",
|
190 |
+
"model.layers.15.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
191 |
+
"model.layers.15.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
192 |
+
"model.layers.15.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
193 |
+
"model.layers.15.attn_norm.bias": "model-00002-of-00004.safetensors",
|
194 |
+
"model.layers.15.attn_norm.weight": "model-00002-of-00004.safetensors",
|
195 |
+
"model.layers.15.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
196 |
+
"model.layers.15.ffn.key.mu": "model-00002-of-00004.safetensors",
|
197 |
+
"model.layers.15.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
198 |
+
"model.layers.15.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
199 |
+
"model.layers.15.ffn.value.weight": "model-00002-of-00004.safetensors",
|
200 |
+
"model.layers.15.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
201 |
+
"model.layers.15.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
202 |
+
"model.layers.16.attn.bonus": "model-00002-of-00004.safetensors",
|
203 |
+
"model.layers.16.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
204 |
+
"model.layers.16.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
205 |
+
"model.layers.16.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
206 |
+
"model.layers.16.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
207 |
+
"model.layers.16.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
208 |
+
"model.layers.16.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
209 |
+
"model.layers.16.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
210 |
+
"model.layers.16.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
211 |
+
"model.layers.16.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
212 |
+
"model.layers.16.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
213 |
+
"model.layers.16.attn.x_bias": "model-00002-of-00004.safetensors",
|
214 |
+
"model.layers.16.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
215 |
+
"model.layers.16.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
216 |
+
"model.layers.16.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
217 |
+
"model.layers.16.attn_norm.bias": "model-00002-of-00004.safetensors",
|
218 |
+
"model.layers.16.attn_norm.weight": "model-00002-of-00004.safetensors",
|
219 |
+
"model.layers.16.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
220 |
+
"model.layers.16.ffn.key.mu": "model-00002-of-00004.safetensors",
|
221 |
+
"model.layers.16.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
222 |
+
"model.layers.16.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
223 |
+
"model.layers.16.ffn.value.weight": "model-00002-of-00004.safetensors",
|
224 |
+
"model.layers.16.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
225 |
+
"model.layers.16.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
226 |
+
"model.layers.17.attn.bonus": "model-00002-of-00004.safetensors",
|
227 |
+
"model.layers.17.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
228 |
+
"model.layers.17.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
229 |
+
"model.layers.17.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
230 |
+
"model.layers.17.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
231 |
+
"model.layers.17.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
232 |
+
"model.layers.17.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
233 |
+
"model.layers.17.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
234 |
+
"model.layers.17.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
235 |
+
"model.layers.17.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
236 |
+
"model.layers.17.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
237 |
+
"model.layers.17.attn.x_bias": "model-00002-of-00004.safetensors",
|
238 |
+
"model.layers.17.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
239 |
+
"model.layers.17.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
240 |
+
"model.layers.17.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
241 |
+
"model.layers.17.attn_norm.bias": "model-00002-of-00004.safetensors",
|
242 |
+
"model.layers.17.attn_norm.weight": "model-00002-of-00004.safetensors",
|
243 |
+
"model.layers.17.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
244 |
+
"model.layers.17.ffn.key.mu": "model-00002-of-00004.safetensors",
|
245 |
+
"model.layers.17.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
246 |
+
"model.layers.17.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
247 |
+
"model.layers.17.ffn.value.weight": "model-00002-of-00004.safetensors",
|
248 |
+
"model.layers.17.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
249 |
+
"model.layers.17.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
250 |
+
"model.layers.18.attn.bonus": "model-00002-of-00004.safetensors",
|
251 |
+
"model.layers.18.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
252 |
+
"model.layers.18.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
253 |
+
"model.layers.18.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
254 |
+
"model.layers.18.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
255 |
+
"model.layers.18.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
256 |
+
"model.layers.18.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
257 |
+
"model.layers.18.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
258 |
+
"model.layers.18.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
259 |
+
"model.layers.18.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
260 |
+
"model.layers.18.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
261 |
+
"model.layers.18.attn.x_bias": "model-00002-of-00004.safetensors",
|
262 |
+
"model.layers.18.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
263 |
+
"model.layers.18.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
264 |
+
"model.layers.18.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
265 |
+
"model.layers.18.attn_norm.bias": "model-00002-of-00004.safetensors",
|
266 |
+
"model.layers.18.attn_norm.weight": "model-00002-of-00004.safetensors",
|
267 |
+
"model.layers.18.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
268 |
+
"model.layers.18.ffn.key.mu": "model-00002-of-00004.safetensors",
|
269 |
+
"model.layers.18.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
270 |
+
"model.layers.18.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
271 |
+
"model.layers.18.ffn.value.weight": "model-00002-of-00004.safetensors",
|
272 |
+
"model.layers.18.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
273 |
+
"model.layers.18.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
274 |
+
"model.layers.19.attn.bonus": "model-00002-of-00004.safetensors",
|
275 |
+
"model.layers.19.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
276 |
+
"model.layers.19.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
277 |
+
"model.layers.19.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
278 |
+
"model.layers.19.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
279 |
+
"model.layers.19.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
280 |
+
"model.layers.19.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
281 |
+
"model.layers.19.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
282 |
+
"model.layers.19.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
283 |
+
"model.layers.19.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
284 |
+
"model.layers.19.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
285 |
+
"model.layers.19.attn.x_bias": "model-00002-of-00004.safetensors",
|
286 |
+
"model.layers.19.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
287 |
+
"model.layers.19.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
288 |
+
"model.layers.19.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
289 |
+
"model.layers.19.attn_norm.bias": "model-00002-of-00004.safetensors",
|
290 |
+
"model.layers.19.attn_norm.weight": "model-00002-of-00004.safetensors",
|
291 |
+
"model.layers.19.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
292 |
+
"model.layers.19.ffn.key.mu": "model-00002-of-00004.safetensors",
|
293 |
+
"model.layers.19.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
294 |
+
"model.layers.19.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
295 |
+
"model.layers.19.ffn.value.weight": "model-00002-of-00004.safetensors",
|
296 |
+
"model.layers.19.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
297 |
+
"model.layers.19.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
298 |
+
"model.layers.2.attn.bonus": "model-00001-of-00004.safetensors",
|
299 |
+
"model.layers.2.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
300 |
+
"model.layers.2.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
301 |
+
"model.layers.2.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
302 |
+
"model.layers.2.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
303 |
+
"model.layers.2.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
304 |
+
"model.layers.2.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
305 |
+
"model.layers.2.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
306 |
+
"model.layers.2.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
307 |
+
"model.layers.2.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
308 |
+
"model.layers.2.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
309 |
+
"model.layers.2.attn.x_bias": "model-00001-of-00004.safetensors",
|
310 |
+
"model.layers.2.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
311 |
+
"model.layers.2.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
312 |
+
"model.layers.2.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
313 |
+
"model.layers.2.attn_norm.bias": "model-00001-of-00004.safetensors",
|
314 |
+
"model.layers.2.attn_norm.weight": "model-00001-of-00004.safetensors",
|
315 |
+
"model.layers.2.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
316 |
+
"model.layers.2.ffn.key.mu": "model-00001-of-00004.safetensors",
|
317 |
+
"model.layers.2.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
318 |
+
"model.layers.2.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
319 |
+
"model.layers.2.ffn.value.weight": "model-00001-of-00004.safetensors",
|
320 |
+
"model.layers.2.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
321 |
+
"model.layers.2.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
322 |
+
"model.layers.20.attn.bonus": "model-00002-of-00004.safetensors",
|
323 |
+
"model.layers.20.attn.g_norm.bias": "model-00002-of-00004.safetensors",
|
324 |
+
"model.layers.20.attn.g_norm.weight": "model-00002-of-00004.safetensors",
|
325 |
+
"model.layers.20.attn.g_proj.linear.weight": "model-00002-of-00004.safetensors",
|
326 |
+
"model.layers.20.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
327 |
+
"model.layers.20.attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
328 |
+
"model.layers.20.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
329 |
+
"model.layers.20.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
330 |
+
"model.layers.20.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
331 |
+
"model.layers.20.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
332 |
+
"model.layers.20.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
333 |
+
"model.layers.20.attn.x_bias": "model-00002-of-00004.safetensors",
|
334 |
+
"model.layers.20.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
335 |
+
"model.layers.20.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
336 |
+
"model.layers.20.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
337 |
+
"model.layers.20.attn_norm.bias": "model-00002-of-00004.safetensors",
|
338 |
+
"model.layers.20.attn_norm.weight": "model-00002-of-00004.safetensors",
|
339 |
+
"model.layers.20.ffn.key.linear.weight": "model-00002-of-00004.safetensors",
|
340 |
+
"model.layers.20.ffn.key.mu": "model-00002-of-00004.safetensors",
|
341 |
+
"model.layers.20.ffn.receptance.linear.weight": "model-00002-of-00004.safetensors",
|
342 |
+
"model.layers.20.ffn.receptance.mu": "model-00002-of-00004.safetensors",
|
343 |
+
"model.layers.20.ffn.value.weight": "model-00002-of-00004.safetensors",
|
344 |
+
"model.layers.20.ffn_norm.bias": "model-00002-of-00004.safetensors",
|
345 |
+
"model.layers.20.ffn_norm.weight": "model-00002-of-00004.safetensors",
|
346 |
+
"model.layers.21.attn.bonus": "model-00002-of-00004.safetensors",
|
347 |
+
"model.layers.21.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
348 |
+
"model.layers.21.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
349 |
+
"model.layers.21.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
350 |
+
"model.layers.21.attn.k_proj.linear.weight": "model-00002-of-00004.safetensors",
|
351 |
+
"model.layers.21.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
352 |
+
"model.layers.21.attn.r_proj.linear.weight": "model-00002-of-00004.safetensors",
|
353 |
+
"model.layers.21.attn.v_proj.linear.weight": "model-00002-of-00004.safetensors",
|
354 |
+
"model.layers.21.attn.w_proj.linear.lora.0.weight": "model-00002-of-00004.safetensors",
|
355 |
+
"model.layers.21.attn.w_proj.linear.lora.2.bias": "model-00002-of-00004.safetensors",
|
356 |
+
"model.layers.21.attn.w_proj.linear.lora.2.weight": "model-00002-of-00004.safetensors",
|
357 |
+
"model.layers.21.attn.x_bias": "model-00002-of-00004.safetensors",
|
358 |
+
"model.layers.21.attn.x_proj.0.linear.weight": "model-00002-of-00004.safetensors",
|
359 |
+
"model.layers.21.attn.x_proj.0.mu": "model-00002-of-00004.safetensors",
|
360 |
+
"model.layers.21.attn.x_proj.2.weight": "model-00002-of-00004.safetensors",
|
361 |
+
"model.layers.21.attn_norm.bias": "model-00002-of-00004.safetensors",
|
362 |
+
"model.layers.21.attn_norm.weight": "model-00002-of-00004.safetensors",
|
363 |
+
"model.layers.21.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
364 |
+
"model.layers.21.ffn.key.mu": "model-00003-of-00004.safetensors",
|
365 |
+
"model.layers.21.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
366 |
+
"model.layers.21.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
367 |
+
"model.layers.21.ffn.value.weight": "model-00003-of-00004.safetensors",
|
368 |
+
"model.layers.21.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
369 |
+
"model.layers.21.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
370 |
+
"model.layers.22.attn.bonus": "model-00003-of-00004.safetensors",
|
371 |
+
"model.layers.22.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
372 |
+
"model.layers.22.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
373 |
+
"model.layers.22.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
374 |
+
"model.layers.22.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
375 |
+
"model.layers.22.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
376 |
+
"model.layers.22.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
377 |
+
"model.layers.22.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
378 |
+
"model.layers.22.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
379 |
+
"model.layers.22.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
380 |
+
"model.layers.22.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
381 |
+
"model.layers.22.attn.x_bias": "model-00003-of-00004.safetensors",
|
382 |
+
"model.layers.22.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
383 |
+
"model.layers.22.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
384 |
+
"model.layers.22.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
385 |
+
"model.layers.22.attn_norm.bias": "model-00003-of-00004.safetensors",
|
386 |
+
"model.layers.22.attn_norm.weight": "model-00003-of-00004.safetensors",
|
387 |
+
"model.layers.22.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
388 |
+
"model.layers.22.ffn.key.mu": "model-00003-of-00004.safetensors",
|
389 |
+
"model.layers.22.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
390 |
+
"model.layers.22.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
391 |
+
"model.layers.22.ffn.value.weight": "model-00003-of-00004.safetensors",
|
392 |
+
"model.layers.22.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
393 |
+
"model.layers.22.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
394 |
+
"model.layers.23.attn.bonus": "model-00003-of-00004.safetensors",
|
395 |
+
"model.layers.23.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
396 |
+
"model.layers.23.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
397 |
+
"model.layers.23.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
398 |
+
"model.layers.23.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
399 |
+
"model.layers.23.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
400 |
+
"model.layers.23.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
401 |
+
"model.layers.23.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
402 |
+
"model.layers.23.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
403 |
+
"model.layers.23.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
404 |
+
"model.layers.23.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
405 |
+
"model.layers.23.attn.x_bias": "model-00003-of-00004.safetensors",
|
406 |
+
"model.layers.23.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
407 |
+
"model.layers.23.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
408 |
+
"model.layers.23.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
409 |
+
"model.layers.23.attn_norm.bias": "model-00003-of-00004.safetensors",
|
410 |
+
"model.layers.23.attn_norm.weight": "model-00003-of-00004.safetensors",
|
411 |
+
"model.layers.23.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
412 |
+
"model.layers.23.ffn.key.mu": "model-00003-of-00004.safetensors",
|
413 |
+
"model.layers.23.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
414 |
+
"model.layers.23.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
415 |
+
"model.layers.23.ffn.value.weight": "model-00003-of-00004.safetensors",
|
416 |
+
"model.layers.23.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
417 |
+
"model.layers.23.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
418 |
+
"model.layers.24.attn.bonus": "model-00003-of-00004.safetensors",
|
419 |
+
"model.layers.24.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
420 |
+
"model.layers.24.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
421 |
+
"model.layers.24.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
422 |
+
"model.layers.24.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
423 |
+
"model.layers.24.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
424 |
+
"model.layers.24.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
425 |
+
"model.layers.24.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
426 |
+
"model.layers.24.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
427 |
+
"model.layers.24.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
428 |
+
"model.layers.24.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
429 |
+
"model.layers.24.attn.x_bias": "model-00003-of-00004.safetensors",
|
430 |
+
"model.layers.24.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
431 |
+
"model.layers.24.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
432 |
+
"model.layers.24.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
433 |
+
"model.layers.24.attn_norm.bias": "model-00003-of-00004.safetensors",
|
434 |
+
"model.layers.24.attn_norm.weight": "model-00003-of-00004.safetensors",
|
435 |
+
"model.layers.24.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
436 |
+
"model.layers.24.ffn.key.mu": "model-00003-of-00004.safetensors",
|
437 |
+
"model.layers.24.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
438 |
+
"model.layers.24.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
439 |
+
"model.layers.24.ffn.value.weight": "model-00003-of-00004.safetensors",
|
440 |
+
"model.layers.24.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
441 |
+
"model.layers.24.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
442 |
+
"model.layers.25.attn.bonus": "model-00003-of-00004.safetensors",
|
443 |
+
"model.layers.25.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
444 |
+
"model.layers.25.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
445 |
+
"model.layers.25.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
446 |
+
"model.layers.25.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
447 |
+
"model.layers.25.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
448 |
+
"model.layers.25.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
449 |
+
"model.layers.25.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
450 |
+
"model.layers.25.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
451 |
+
"model.layers.25.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
452 |
+
"model.layers.25.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
453 |
+
"model.layers.25.attn.x_bias": "model-00003-of-00004.safetensors",
|
454 |
+
"model.layers.25.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
455 |
+
"model.layers.25.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
456 |
+
"model.layers.25.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
457 |
+
"model.layers.25.attn_norm.bias": "model-00003-of-00004.safetensors",
|
458 |
+
"model.layers.25.attn_norm.weight": "model-00003-of-00004.safetensors",
|
459 |
+
"model.layers.25.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
460 |
+
"model.layers.25.ffn.key.mu": "model-00003-of-00004.safetensors",
|
461 |
+
"model.layers.25.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
462 |
+
"model.layers.25.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
463 |
+
"model.layers.25.ffn.value.weight": "model-00003-of-00004.safetensors",
|
464 |
+
"model.layers.25.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
465 |
+
"model.layers.25.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
466 |
+
"model.layers.26.attn.bonus": "model-00003-of-00004.safetensors",
|
467 |
+
"model.layers.26.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
468 |
+
"model.layers.26.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
469 |
+
"model.layers.26.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
470 |
+
"model.layers.26.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
471 |
+
"model.layers.26.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
472 |
+
"model.layers.26.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
473 |
+
"model.layers.26.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
474 |
+
"model.layers.26.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
475 |
+
"model.layers.26.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
476 |
+
"model.layers.26.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
477 |
+
"model.layers.26.attn.x_bias": "model-00003-of-00004.safetensors",
|
478 |
+
"model.layers.26.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
479 |
+
"model.layers.26.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
480 |
+
"model.layers.26.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
481 |
+
"model.layers.26.attn_norm.bias": "model-00003-of-00004.safetensors",
|
482 |
+
"model.layers.26.attn_norm.weight": "model-00003-of-00004.safetensors",
|
483 |
+
"model.layers.26.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
484 |
+
"model.layers.26.ffn.key.mu": "model-00003-of-00004.safetensors",
|
485 |
+
"model.layers.26.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
486 |
+
"model.layers.26.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
487 |
+
"model.layers.26.ffn.value.weight": "model-00003-of-00004.safetensors",
|
488 |
+
"model.layers.26.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
489 |
+
"model.layers.26.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
490 |
+
"model.layers.27.attn.bonus": "model-00003-of-00004.safetensors",
|
491 |
+
"model.layers.27.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
492 |
+
"model.layers.27.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
493 |
+
"model.layers.27.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
494 |
+
"model.layers.27.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
495 |
+
"model.layers.27.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
496 |
+
"model.layers.27.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
497 |
+
"model.layers.27.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
498 |
+
"model.layers.27.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
499 |
+
"model.layers.27.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
500 |
+
"model.layers.27.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
501 |
+
"model.layers.27.attn.x_bias": "model-00003-of-00004.safetensors",
|
502 |
+
"model.layers.27.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
503 |
+
"model.layers.27.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
504 |
+
"model.layers.27.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
505 |
+
"model.layers.27.attn_norm.bias": "model-00003-of-00004.safetensors",
|
506 |
+
"model.layers.27.attn_norm.weight": "model-00003-of-00004.safetensors",
|
507 |
+
"model.layers.27.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
508 |
+
"model.layers.27.ffn.key.mu": "model-00003-of-00004.safetensors",
|
509 |
+
"model.layers.27.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
510 |
+
"model.layers.27.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
511 |
+
"model.layers.27.ffn.value.weight": "model-00003-of-00004.safetensors",
|
512 |
+
"model.layers.27.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
513 |
+
"model.layers.27.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
514 |
+
"model.layers.28.attn.bonus": "model-00003-of-00004.safetensors",
|
515 |
+
"model.layers.28.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
516 |
+
"model.layers.28.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
517 |
+
"model.layers.28.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
518 |
+
"model.layers.28.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
519 |
+
"model.layers.28.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
520 |
+
"model.layers.28.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
521 |
+
"model.layers.28.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
522 |
+
"model.layers.28.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
523 |
+
"model.layers.28.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
524 |
+
"model.layers.28.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
525 |
+
"model.layers.28.attn.x_bias": "model-00003-of-00004.safetensors",
|
526 |
+
"model.layers.28.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
527 |
+
"model.layers.28.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
528 |
+
"model.layers.28.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
529 |
+
"model.layers.28.attn_norm.bias": "model-00003-of-00004.safetensors",
|
530 |
+
"model.layers.28.attn_norm.weight": "model-00003-of-00004.safetensors",
|
531 |
+
"model.layers.28.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
532 |
+
"model.layers.28.ffn.key.mu": "model-00003-of-00004.safetensors",
|
533 |
+
"model.layers.28.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
534 |
+
"model.layers.28.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
535 |
+
"model.layers.28.ffn.value.weight": "model-00003-of-00004.safetensors",
|
536 |
+
"model.layers.28.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
537 |
+
"model.layers.28.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
538 |
+
"model.layers.29.attn.bonus": "model-00003-of-00004.safetensors",
|
539 |
+
"model.layers.29.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
540 |
+
"model.layers.29.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
541 |
+
"model.layers.29.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
542 |
+
"model.layers.29.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
543 |
+
"model.layers.29.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
544 |
+
"model.layers.29.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
545 |
+
"model.layers.29.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
546 |
+
"model.layers.29.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
547 |
+
"model.layers.29.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
548 |
+
"model.layers.29.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
549 |
+
"model.layers.29.attn.x_bias": "model-00003-of-00004.safetensors",
|
550 |
+
"model.layers.29.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
551 |
+
"model.layers.29.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
552 |
+
"model.layers.29.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
553 |
+
"model.layers.29.attn_norm.bias": "model-00003-of-00004.safetensors",
|
554 |
+
"model.layers.29.attn_norm.weight": "model-00003-of-00004.safetensors",
|
555 |
+
"model.layers.29.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
556 |
+
"model.layers.29.ffn.key.mu": "model-00003-of-00004.safetensors",
|
557 |
+
"model.layers.29.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
558 |
+
"model.layers.29.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
559 |
+
"model.layers.29.ffn.value.weight": "model-00003-of-00004.safetensors",
|
560 |
+
"model.layers.29.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
561 |
+
"model.layers.29.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
562 |
+
"model.layers.3.attn.bonus": "model-00001-of-00004.safetensors",
|
563 |
+
"model.layers.3.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
564 |
+
"model.layers.3.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
565 |
+
"model.layers.3.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
566 |
+
"model.layers.3.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
567 |
+
"model.layers.3.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
568 |
+
"model.layers.3.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
569 |
+
"model.layers.3.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
570 |
+
"model.layers.3.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
571 |
+
"model.layers.3.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
572 |
+
"model.layers.3.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
573 |
+
"model.layers.3.attn.x_bias": "model-00001-of-00004.safetensors",
|
574 |
+
"model.layers.3.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
575 |
+
"model.layers.3.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
576 |
+
"model.layers.3.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
577 |
+
"model.layers.3.attn_norm.bias": "model-00001-of-00004.safetensors",
|
578 |
+
"model.layers.3.attn_norm.weight": "model-00001-of-00004.safetensors",
|
579 |
+
"model.layers.3.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
580 |
+
"model.layers.3.ffn.key.mu": "model-00001-of-00004.safetensors",
|
581 |
+
"model.layers.3.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
582 |
+
"model.layers.3.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
583 |
+
"model.layers.3.ffn.value.weight": "model-00001-of-00004.safetensors",
|
584 |
+
"model.layers.3.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
585 |
+
"model.layers.3.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
586 |
+
"model.layers.30.attn.bonus": "model-00003-of-00004.safetensors",
|
587 |
+
"model.layers.30.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
588 |
+
"model.layers.30.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
589 |
+
"model.layers.30.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
590 |
+
"model.layers.30.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
591 |
+
"model.layers.30.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
592 |
+
"model.layers.30.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
593 |
+
"model.layers.30.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
594 |
+
"model.layers.30.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
595 |
+
"model.layers.30.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
596 |
+
"model.layers.30.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
597 |
+
"model.layers.30.attn.x_bias": "model-00003-of-00004.safetensors",
|
598 |
+
"model.layers.30.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
599 |
+
"model.layers.30.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
600 |
+
"model.layers.30.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
601 |
+
"model.layers.30.attn_norm.bias": "model-00003-of-00004.safetensors",
|
602 |
+
"model.layers.30.attn_norm.weight": "model-00003-of-00004.safetensors",
|
603 |
+
"model.layers.30.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
604 |
+
"model.layers.30.ffn.key.mu": "model-00003-of-00004.safetensors",
|
605 |
+
"model.layers.30.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
606 |
+
"model.layers.30.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
607 |
+
"model.layers.30.ffn.value.weight": "model-00003-of-00004.safetensors",
|
608 |
+
"model.layers.30.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
609 |
+
"model.layers.30.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
610 |
+
"model.layers.31.attn.bonus": "model-00003-of-00004.safetensors",
|
611 |
+
"model.layers.31.attn.g_norm.bias": "model-00003-of-00004.safetensors",
|
612 |
+
"model.layers.31.attn.g_norm.weight": "model-00003-of-00004.safetensors",
|
613 |
+
"model.layers.31.attn.g_proj.linear.weight": "model-00003-of-00004.safetensors",
|
614 |
+
"model.layers.31.attn.k_proj.linear.weight": "model-00003-of-00004.safetensors",
|
615 |
+
"model.layers.31.attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
616 |
+
"model.layers.31.attn.r_proj.linear.weight": "model-00003-of-00004.safetensors",
|
617 |
+
"model.layers.31.attn.v_proj.linear.weight": "model-00003-of-00004.safetensors",
|
618 |
+
"model.layers.31.attn.w_proj.linear.lora.0.weight": "model-00003-of-00004.safetensors",
|
619 |
+
"model.layers.31.attn.w_proj.linear.lora.2.bias": "model-00003-of-00004.safetensors",
|
620 |
+
"model.layers.31.attn.w_proj.linear.lora.2.weight": "model-00003-of-00004.safetensors",
|
621 |
+
"model.layers.31.attn.x_bias": "model-00003-of-00004.safetensors",
|
622 |
+
"model.layers.31.attn.x_proj.0.linear.weight": "model-00003-of-00004.safetensors",
|
623 |
+
"model.layers.31.attn.x_proj.0.mu": "model-00003-of-00004.safetensors",
|
624 |
+
"model.layers.31.attn.x_proj.2.weight": "model-00003-of-00004.safetensors",
|
625 |
+
"model.layers.31.attn_norm.bias": "model-00003-of-00004.safetensors",
|
626 |
+
"model.layers.31.attn_norm.weight": "model-00003-of-00004.safetensors",
|
627 |
+
"model.layers.31.ffn.key.linear.weight": "model-00003-of-00004.safetensors",
|
628 |
+
"model.layers.31.ffn.key.mu": "model-00003-of-00004.safetensors",
|
629 |
+
"model.layers.31.ffn.receptance.linear.weight": "model-00003-of-00004.safetensors",
|
630 |
+
"model.layers.31.ffn.receptance.mu": "model-00003-of-00004.safetensors",
|
631 |
+
"model.layers.31.ffn.value.weight": "model-00003-of-00004.safetensors",
|
632 |
+
"model.layers.31.ffn_norm.bias": "model-00003-of-00004.safetensors",
|
633 |
+
"model.layers.31.ffn_norm.weight": "model-00003-of-00004.safetensors",
|
634 |
+
"model.layers.4.attn.bonus": "model-00001-of-00004.safetensors",
|
635 |
+
"model.layers.4.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
636 |
+
"model.layers.4.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
637 |
+
"model.layers.4.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
638 |
+
"model.layers.4.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
639 |
+
"model.layers.4.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
640 |
+
"model.layers.4.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
641 |
+
"model.layers.4.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
642 |
+
"model.layers.4.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
643 |
+
"model.layers.4.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
644 |
+
"model.layers.4.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
645 |
+
"model.layers.4.attn.x_bias": "model-00001-of-00004.safetensors",
|
646 |
+
"model.layers.4.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
647 |
+
"model.layers.4.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
648 |
+
"model.layers.4.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
649 |
+
"model.layers.4.attn_norm.bias": "model-00001-of-00004.safetensors",
|
650 |
+
"model.layers.4.attn_norm.weight": "model-00001-of-00004.safetensors",
|
651 |
+
"model.layers.4.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
652 |
+
"model.layers.4.ffn.key.mu": "model-00001-of-00004.safetensors",
|
653 |
+
"model.layers.4.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
654 |
+
"model.layers.4.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
655 |
+
"model.layers.4.ffn.value.weight": "model-00001-of-00004.safetensors",
|
656 |
+
"model.layers.4.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
657 |
+
"model.layers.4.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
658 |
+
"model.layers.5.attn.bonus": "model-00001-of-00004.safetensors",
|
659 |
+
"model.layers.5.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
660 |
+
"model.layers.5.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
661 |
+
"model.layers.5.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
662 |
+
"model.layers.5.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
663 |
+
"model.layers.5.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
664 |
+
"model.layers.5.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
665 |
+
"model.layers.5.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
666 |
+
"model.layers.5.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
667 |
+
"model.layers.5.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
668 |
+
"model.layers.5.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
669 |
+
"model.layers.5.attn.x_bias": "model-00001-of-00004.safetensors",
|
670 |
+
"model.layers.5.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
671 |
+
"model.layers.5.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
672 |
+
"model.layers.5.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
673 |
+
"model.layers.5.attn_norm.bias": "model-00001-of-00004.safetensors",
|
674 |
+
"model.layers.5.attn_norm.weight": "model-00001-of-00004.safetensors",
|
675 |
+
"model.layers.5.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
676 |
+
"model.layers.5.ffn.key.mu": "model-00001-of-00004.safetensors",
|
677 |
+
"model.layers.5.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
678 |
+
"model.layers.5.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
679 |
+
"model.layers.5.ffn.value.weight": "model-00001-of-00004.safetensors",
|
680 |
+
"model.layers.5.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
681 |
+
"model.layers.5.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
682 |
+
"model.layers.6.attn.bonus": "model-00001-of-00004.safetensors",
|
683 |
+
"model.layers.6.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
684 |
+
"model.layers.6.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
685 |
+
"model.layers.6.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
686 |
+
"model.layers.6.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
687 |
+
"model.layers.6.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
688 |
+
"model.layers.6.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
689 |
+
"model.layers.6.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
690 |
+
"model.layers.6.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
691 |
+
"model.layers.6.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
692 |
+
"model.layers.6.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
693 |
+
"model.layers.6.attn.x_bias": "model-00001-of-00004.safetensors",
|
694 |
+
"model.layers.6.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
695 |
+
"model.layers.6.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
696 |
+
"model.layers.6.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
697 |
+
"model.layers.6.attn_norm.bias": "model-00001-of-00004.safetensors",
|
698 |
+
"model.layers.6.attn_norm.weight": "model-00001-of-00004.safetensors",
|
699 |
+
"model.layers.6.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
700 |
+
"model.layers.6.ffn.key.mu": "model-00001-of-00004.safetensors",
|
701 |
+
"model.layers.6.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
702 |
+
"model.layers.6.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
703 |
+
"model.layers.6.ffn.value.weight": "model-00001-of-00004.safetensors",
|
704 |
+
"model.layers.6.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
705 |
+
"model.layers.6.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
706 |
+
"model.layers.7.attn.bonus": "model-00001-of-00004.safetensors",
|
707 |
+
"model.layers.7.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
708 |
+
"model.layers.7.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
709 |
+
"model.layers.7.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
710 |
+
"model.layers.7.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
711 |
+
"model.layers.7.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
712 |
+
"model.layers.7.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
713 |
+
"model.layers.7.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
714 |
+
"model.layers.7.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
715 |
+
"model.layers.7.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
716 |
+
"model.layers.7.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
717 |
+
"model.layers.7.attn.x_bias": "model-00001-of-00004.safetensors",
|
718 |
+
"model.layers.7.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
719 |
+
"model.layers.7.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
720 |
+
"model.layers.7.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
721 |
+
"model.layers.7.attn_norm.bias": "model-00001-of-00004.safetensors",
|
722 |
+
"model.layers.7.attn_norm.weight": "model-00001-of-00004.safetensors",
|
723 |
+
"model.layers.7.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
724 |
+
"model.layers.7.ffn.key.mu": "model-00001-of-00004.safetensors",
|
725 |
+
"model.layers.7.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
726 |
+
"model.layers.7.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
727 |
+
"model.layers.7.ffn.value.weight": "model-00001-of-00004.safetensors",
|
728 |
+
"model.layers.7.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
729 |
+
"model.layers.7.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
730 |
+
"model.layers.8.attn.bonus": "model-00001-of-00004.safetensors",
|
731 |
+
"model.layers.8.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
732 |
+
"model.layers.8.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
733 |
+
"model.layers.8.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
734 |
+
"model.layers.8.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
735 |
+
"model.layers.8.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
736 |
+
"model.layers.8.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
737 |
+
"model.layers.8.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
738 |
+
"model.layers.8.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
739 |
+
"model.layers.8.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
740 |
+
"model.layers.8.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
741 |
+
"model.layers.8.attn.x_bias": "model-00001-of-00004.safetensors",
|
742 |
+
"model.layers.8.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
743 |
+
"model.layers.8.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
744 |
+
"model.layers.8.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
745 |
+
"model.layers.8.attn_norm.bias": "model-00001-of-00004.safetensors",
|
746 |
+
"model.layers.8.attn_norm.weight": "model-00001-of-00004.safetensors",
|
747 |
+
"model.layers.8.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
748 |
+
"model.layers.8.ffn.key.mu": "model-00001-of-00004.safetensors",
|
749 |
+
"model.layers.8.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
750 |
+
"model.layers.8.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
751 |
+
"model.layers.8.ffn.value.weight": "model-00001-of-00004.safetensors",
|
752 |
+
"model.layers.8.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
753 |
+
"model.layers.8.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
754 |
+
"model.layers.9.attn.bonus": "model-00001-of-00004.safetensors",
|
755 |
+
"model.layers.9.attn.g_norm.bias": "model-00001-of-00004.safetensors",
|
756 |
+
"model.layers.9.attn.g_norm.weight": "model-00001-of-00004.safetensors",
|
757 |
+
"model.layers.9.attn.g_proj.linear.weight": "model-00001-of-00004.safetensors",
|
758 |
+
"model.layers.9.attn.k_proj.linear.weight": "model-00001-of-00004.safetensors",
|
759 |
+
"model.layers.9.attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
760 |
+
"model.layers.9.attn.r_proj.linear.weight": "model-00001-of-00004.safetensors",
|
761 |
+
"model.layers.9.attn.v_proj.linear.weight": "model-00001-of-00004.safetensors",
|
762 |
+
"model.layers.9.attn.w_proj.linear.lora.0.weight": "model-00001-of-00004.safetensors",
|
763 |
+
"model.layers.9.attn.w_proj.linear.lora.2.bias": "model-00001-of-00004.safetensors",
|
764 |
+
"model.layers.9.attn.w_proj.linear.lora.2.weight": "model-00001-of-00004.safetensors",
|
765 |
+
"model.layers.9.attn.x_bias": "model-00001-of-00004.safetensors",
|
766 |
+
"model.layers.9.attn.x_proj.0.linear.weight": "model-00001-of-00004.safetensors",
|
767 |
+
"model.layers.9.attn.x_proj.0.mu": "model-00001-of-00004.safetensors",
|
768 |
+
"model.layers.9.attn.x_proj.2.weight": "model-00001-of-00004.safetensors",
|
769 |
+
"model.layers.9.attn_norm.bias": "model-00001-of-00004.safetensors",
|
770 |
+
"model.layers.9.attn_norm.weight": "model-00001-of-00004.safetensors",
|
771 |
+
"model.layers.9.ffn.key.linear.weight": "model-00001-of-00004.safetensors",
|
772 |
+
"model.layers.9.ffn.key.mu": "model-00001-of-00004.safetensors",
|
773 |
+
"model.layers.9.ffn.receptance.linear.weight": "model-00001-of-00004.safetensors",
|
774 |
+
"model.layers.9.ffn.receptance.mu": "model-00001-of-00004.safetensors",
|
775 |
+
"model.layers.9.ffn.value.weight": "model-00001-of-00004.safetensors",
|
776 |
+
"model.layers.9.ffn_norm.bias": "model-00001-of-00004.safetensors",
|
777 |
+
"model.layers.9.ffn_norm.weight": "model-00001-of-00004.safetensors",
|
778 |
+
"model.norm.bias": "model-00003-of-00004.safetensors",
|
779 |
+
"model.norm.weight": "model-00003-of-00004.safetensors"
|
780 |
+
}
|
781 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
tokenization_rwkv5.py
ADDED
@@ -0,0 +1,229 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# coding=utf-8
|
2 |
+
# Copyright 2024 The HuggingFace Inc. team.
|
3 |
+
#
|
4 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
+
# you may not use this file except in compliance with the License.
|
6 |
+
# You may obtain a copy of the License at
|
7 |
+
#
|
8 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9 |
+
#
|
10 |
+
# Unless required by applicable law or agreed to in writing, software
|
11 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
+
# See the License for the specific language governing permissions and
|
14 |
+
# limitations under the License.
|
15 |
+
"""Tokenization classes for RWKV5."""
|
16 |
+
|
17 |
+
import os
|
18 |
+
import re
|
19 |
+
from typing import TYPE_CHECKING, List, Optional, Tuple
|
20 |
+
|
21 |
+
from transformers.tokenization_utils import AddedToken, PreTrainedTokenizer
|
22 |
+
from transformers.utils import logging
|
23 |
+
|
24 |
+
|
25 |
+
if TYPE_CHECKING:
|
26 |
+
pass
|
27 |
+
|
28 |
+
logger = logging.get_logger(__name__)
|
29 |
+
|
30 |
+
VOCAB_FILES_NAMES = {
|
31 |
+
"vocab_file": "vocab.txt",
|
32 |
+
}
|
33 |
+
PRETRAINED_VOCAB_FILES_MAP = {
|
34 |
+
"vocab_file": {
|
35 |
+
"ArthurZ/rwkv-5-utf": "https://huggingface.co/ArthurZ/rwkv-5-utf/blob/main/vocab.txt",
|
36 |
+
},
|
37 |
+
}
|
38 |
+
|
39 |
+
|
40 |
+
def whitespace_tokenize(text):
|
41 |
+
"""Runs basic whitespace cleaning and splitting on a piece of text.
|
42 |
+
The separators are kept
|
43 |
+
"""
|
44 |
+
text = text.strip()
|
45 |
+
if not text:
|
46 |
+
return []
|
47 |
+
tokens = re.split(b"(?= )", text)
|
48 |
+
return tokens
|
49 |
+
|
50 |
+
|
51 |
+
class WordpieceTokenizer(object):
|
52 |
+
"""Runs WordPiece tokenization."""
|
53 |
+
|
54 |
+
def __init__(self, vocab, unk_token):
|
55 |
+
self.vocab = vocab
|
56 |
+
self.unk_token = unk_token
|
57 |
+
|
58 |
+
def tokenize(self, text):
|
59 |
+
"""
|
60 |
+
Tokenizes a piece of text into its word pieces. This uses a greedy longest-match-first algorithm to perform
|
61 |
+
tokenization using the given vocabulary.
|
62 |
+
|
63 |
+
For example, `input = "unaffable"` wil return as output `["un", "##aff", "##able"]`.
|
64 |
+
|
65 |
+
Args:
|
66 |
+
text: A single token or whitespace separated tokens. This should have
|
67 |
+
already been passed through *BasicTokenizer*.
|
68 |
+
|
69 |
+
Returns:
|
70 |
+
A list of wordpiece tokens.
|
71 |
+
"""
|
72 |
+
|
73 |
+
output_tokens = []
|
74 |
+
for token in whitespace_tokenize(text):
|
75 |
+
chars = list(token)
|
76 |
+
is_bad = False
|
77 |
+
start = 0
|
78 |
+
sub_tokens = []
|
79 |
+
while start < len(chars):
|
80 |
+
end = len(chars)
|
81 |
+
cur_substr = None
|
82 |
+
while start < end:
|
83 |
+
substr = bytes(chars[start:end])
|
84 |
+
if substr in self.vocab:
|
85 |
+
cur_substr = substr
|
86 |
+
break
|
87 |
+
end -= 1
|
88 |
+
if cur_substr is None:
|
89 |
+
is_bad = True
|
90 |
+
break
|
91 |
+
try:
|
92 |
+
cur_substr = cur_substr.decode()
|
93 |
+
except UnicodeDecodeError:
|
94 |
+
cur_substr = str(cur_substr)
|
95 |
+
sub_tokens.append(cur_substr)
|
96 |
+
start = end
|
97 |
+
if is_bad:
|
98 |
+
output_tokens.append(self.unk_token)
|
99 |
+
else:
|
100 |
+
output_tokens.extend(sub_tokens)
|
101 |
+
return output_tokens
|
102 |
+
|
103 |
+
|
104 |
+
class Rwkv5Tokenizer(PreTrainedTokenizer):
|
105 |
+
vocab_files_names = VOCAB_FILES_NAMES
|
106 |
+
pretrained_vocab_files_map = PRETRAINED_VOCAB_FILES_MAP
|
107 |
+
max_model_input_sizes = {"ArthurZ/rwkv-5-utf": 2048}
|
108 |
+
|
109 |
+
model_input_names = ["input_ids", "attention_mask"]
|
110 |
+
|
111 |
+
def __init__(self, vocab_file, bos_token="<s>", eos_token="<s>", unk_token="<s>", **kwargs):
|
112 |
+
if not os.path.isfile(vocab_file):
|
113 |
+
raise ValueError(
|
114 |
+
f"Can't find a vocabulary file at path '{vocab_file}'. To load the vocabulary from a Google pretrained"
|
115 |
+
" model use `tokenizer = BertTokenizer.from_pretrained(PRETRAINED_MODEL_NAME)`"
|
116 |
+
)
|
117 |
+
|
118 |
+
with open(vocab_file, "r") as reader:
|
119 |
+
tokens = reader.readlines()
|
120 |
+
vocab = {}
|
121 |
+
for index, token in enumerate(tokens):
|
122 |
+
token = eval(token.rstrip("\n"))
|
123 |
+
vocab[token] = index
|
124 |
+
|
125 |
+
self.add_bos_token = True
|
126 |
+
self.encoder = vocab
|
127 |
+
self.decoder = {v: k for k, v in vocab.items()}
|
128 |
+
self.wordpiece_tokenizer = WordpieceTokenizer(vocab=self.encoder, unk_token=str(unk_token))
|
129 |
+
self._added_tokens_decoder = {0: AddedToken(str(bos_token))}
|
130 |
+
super().__init__(bos_token=bos_token, eos_token=eos_token, unk_token=unk_token, **kwargs)
|
131 |
+
|
132 |
+
@property
|
133 |
+
def vocab_size(self):
|
134 |
+
return len(self.encoder)
|
135 |
+
|
136 |
+
def get_vocab(self):
|
137 |
+
vocab = {str(self.convert_ids_to_tokens(i)): i for i in range(self.vocab_size)}
|
138 |
+
vocab.update(self.added_tokens_encoder)
|
139 |
+
return vocab
|
140 |
+
|
141 |
+
def _tokenize(self, text, split_special_tokens=False):
|
142 |
+
return self.wordpiece_tokenizer.tokenize(text.encode("utf-8"))
|
143 |
+
|
144 |
+
def _convert_token_to_id(self, token):
|
145 |
+
"""Converts a token (byte) to an id using the vocab."""
|
146 |
+
if token.startswith("b'\\"):
|
147 |
+
token = eval(token)
|
148 |
+
elif not isinstance(token, bytes):
|
149 |
+
token = token.encode("utf-8", errors="replace")
|
150 |
+
return self.encoder.get(token, self.unk_token_id)
|
151 |
+
|
152 |
+
def _convert_id_to_token(self, index):
|
153 |
+
"""Converts an index (integer) in a token (byte) using the vocab."""
|
154 |
+
token = self.decoder.get(index, self.unk_token)
|
155 |
+
if isinstance(token, (bytes)):
|
156 |
+
token = token.decode("utf-8", errors="replace")
|
157 |
+
return token
|
158 |
+
|
159 |
+
def convert_tokens_to_string(self, tokens):
|
160 |
+
"""Converts a sequence of tokens (bytes) in a single string. Additional tokens are encoded to bytes"""
|
161 |
+
out_string = b"".join([k.encode(errors="replace") if isinstance(k, str) else k for k in tokens]).decode(
|
162 |
+
"utf-8"
|
163 |
+
)
|
164 |
+
return out_string
|
165 |
+
|
166 |
+
def save_vocabulary(self, save_directory: str, filename_prefix: Optional[str] = None) -> Tuple[str]:
|
167 |
+
index = 0
|
168 |
+
if os.path.isdir(save_directory):
|
169 |
+
vocab_file = os.path.join(
|
170 |
+
save_directory, (filename_prefix + "-" if filename_prefix else "") + VOCAB_FILES_NAMES["vocab_file"]
|
171 |
+
)
|
172 |
+
else:
|
173 |
+
vocab_file = (filename_prefix + "-" if filename_prefix else "") + save_directory
|
174 |
+
with open(vocab_file, "w") as writer:
|
175 |
+
for token, token_index in sorted(self.encoder.items(), key=lambda kv: kv[1]):
|
176 |
+
if index != token_index:
|
177 |
+
logger.warning(
|
178 |
+
f"Saving vocabulary to {vocab_file}: vocabulary indices are not consecutive."
|
179 |
+
" Please check that the vocabulary is not corrupted!"
|
180 |
+
)
|
181 |
+
index = token_index
|
182 |
+
writer.write(str(token) + "\n")
|
183 |
+
index += 1
|
184 |
+
return (vocab_file,)
|
185 |
+
|
186 |
+
def build_inputs_with_special_tokens(self, token_ids_0, token_ids_1=None):
|
187 |
+
if self.add_bos_token:
|
188 |
+
bos_token_ids = [self.bos_token_id]
|
189 |
+
else:
|
190 |
+
bos_token_ids = []
|
191 |
+
|
192 |
+
output = bos_token_ids + token_ids_0
|
193 |
+
|
194 |
+
if token_ids_1 is None:
|
195 |
+
return output
|
196 |
+
|
197 |
+
return output + bos_token_ids + token_ids_1
|
198 |
+
|
199 |
+
def get_special_tokens_mask(
|
200 |
+
self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None, already_has_special_tokens: bool = False
|
201 |
+
) -> List[int]:
|
202 |
+
"""
|
203 |
+
Retrieves sequence ids from a token list that has no special tokens added. This method is called when adding
|
204 |
+
special tokens using the tokenizer `prepare_for_model` or `encode_plus` methods.
|
205 |
+
|
206 |
+
Args:
|
207 |
+
token_ids_0 (`List[int]`):
|
208 |
+
List of IDs.
|
209 |
+
token_ids_1 (`List[int]`, *optional*):
|
210 |
+
Optional second list of IDs for sequence pairs.
|
211 |
+
already_has_special_tokens (`bool`, *optional*, defaults to `False`):
|
212 |
+
Whether or not the token list is already formatted with special tokens for the model.
|
213 |
+
|
214 |
+
Returns:
|
215 |
+
`List[int]`: A list of integers in the range [0, 1]: 1 for a special token, 0 for a sequence token.
|
216 |
+
"""
|
217 |
+
if already_has_special_tokens:
|
218 |
+
return super().get_special_tokens_mask(
|
219 |
+
token_ids_0=token_ids_0, token_ids_1=token_ids_1, already_has_special_tokens=True
|
220 |
+
)
|
221 |
+
|
222 |
+
if not self.add_bos_token:
|
223 |
+
return super().get_special_tokens_mask(
|
224 |
+
token_ids_0=token_ids_0, token_ids_1=token_ids_1, already_has_special_tokens=False
|
225 |
+
)
|
226 |
+
|
227 |
+
if token_ids_1 is None:
|
228 |
+
return [1] + ([0] * len(token_ids_0))
|
229 |
+
return [1] + ([0] * len(token_ids_0)) + [1] + ([0] * len(token_ids_1))
|
tokenizer_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
}
|
12 |
+
},
|
13 |
+
"auto_map": {
|
14 |
+
"AutoTokenizer": [
|
15 |
+
"tokenization_rwkv5.Rwkv5Tokenizer",
|
16 |
+
null
|
17 |
+
]
|
18 |
+
},
|
19 |
+
"bos_token": "<s>",
|
20 |
+
"clean_up_tokenization_spaces": true,
|
21 |
+
"eos_token": "<s>",
|
22 |
+
"model_max_length": 1000000000000000019884624838656,
|
23 |
+
"tokenizer_class": "Rwkv5Tokenizer",
|
24 |
+
"unk_token": "<s>",
|
25 |
+
"use_fast": false
|
26 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|