Safetensors
hybrid_gated_deltanet
Idiap-Data commited on
Commit
caab27e
·
verified ·
1 Parent(s): 78cd685

Upload 10 files

Browse files
LICENSE.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Idiap Research Institute
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md CHANGED
@@ -1,3 +1,54 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ # gated-deltanet-nsa-1.4B-30B
6
+
7
+ Gated DeltaNet + native sparse attention (1.4B params, 30B tokens)
8
+
9
+ ## Overview
10
+
11
+ * **Training**: gated-deltanet-attn-0.4B-10B was trained on [FineWeb-Edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu), which is realeased under [ODC-By v1.0](https://opendatacommons.org/licenses/by/1-0/)
12
+ * **Parameters**: 1.4B
13
+ * **Task**: Language modeling
14
+ * **Framework**: HuggingFace, [flash-linear-attention](https://github.com/fla-org/flash-linear-attention)
15
+ * **Output structure**: [batch_size, sequence_length, num_logits]
16
+
17
+ ## Performance
18
+
19
+ Various; available in paper
20
+
21
+ ## Running Code
22
+
23
+ * Minimal code to instantiate the model and perform inference:
24
+ ```python
25
+ # Requires flash-linear-attention (https://github.com/fla-org/flash-linear-attention)
26
+ import fla
27
+ from transformers import AutoModelForCausalLM, AutoTokenizer
28
+ model = AutoModelForCausalLM.from_pretrained(path_to_model).cuda()
29
+ tokenizer = AutoTokenizer.from_pretrained(path_to_model).cuda()
30
+ input_ids = tokenizer("All human beings are", return_tensors="pt").input_ids
31
+ outputs = model.generate(input_ids, max_length=15)
32
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
33
+ ```
34
+
35
+ ## License
36
+
37
+ HyperFace is released under [MIT License](LICENSE.txt)
38
+
39
+ ## Citation
40
+
41
+ If you find our work useful, please cite the following publication:
42
+
43
+ ```bibtex
44
+ @misc{he_alleviating_2025,
45
+ title = {Alleviating {Forgetfulness} of {Linear} {Attention} by {Hybrid} {Sparse} {Attention} and {Contextualized} {Learnable} {Token} {Eviction}},
46
+ url = {http://arxiv.org/abs/2510.20787},
47
+ doi = {10.48550/arXiv.2510.20787},
48
+ publisher = {arXiv},
49
+ author = {He, Mutian and Garner, Philip N.},
50
+ month = oct,
51
+ year = {2025},
52
+ note = {arXiv:2510.20787 [cs]},
53
+ }
54
+ ```
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/idiap/home/mhe/repo/flame/exp/hybrid_gated_deltanet-nsa-1.3B-30B/batch1M.seqlen4096.warmup512.steps30720.lr3e-4/config.json",
3
+ "architectures": [
4
+ "HybridGatedDeltaNetForCausalLM"
5
+ ],
6
+ "attn": {
7
+ "attn_type": "nsa",
8
+ "block_counts": 16,
9
+ "block_size": 64,
10
+ "head_dim": 64,
11
+ "layers": [
12
+ 1,
13
+ 3,
14
+ 5,
15
+ 7,
16
+ 9,
17
+ 11,
18
+ 13,
19
+ 15,
20
+ 17,
21
+ 19,
22
+ 21,
23
+ 23
24
+ ],
25
+ "num_heads": 32,
26
+ "num_kv_heads": 2,
27
+ "qkv_bias": false,
28
+ "rope_theta": 10000.0,
29
+ "window_size": 512
30
+ },
31
+ "attn_mode": "chunk",
32
+ "bos_token_id": 1,
33
+ "conv_size": 4,
34
+ "eos_token_id": 2,
35
+ "expand_v": 1,
36
+ "fuse_cross_entropy": true,
37
+ "fuse_norm": true,
38
+ "fuse_swiglu": true,
39
+ "head_dim": 256,
40
+ "hidden_act": "swish",
41
+ "hidden_ratio": 4,
42
+ "hidden_size": 2048,
43
+ "initializer_range": 0.006,
44
+ "intermediate_size": null,
45
+ "max_position_embeddings": 4096,
46
+ "model_type": "hybrid_gated_deltanet",
47
+ "norm_eps": 1e-06,
48
+ "num_heads": 8,
49
+ "num_hidden_layers": 24,
50
+ "tie_word_embeddings": false,
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.49.0",
53
+ "use_beta": true,
54
+ "use_cache": true,
55
+ "use_gate": true,
56
+ "use_output_norm": true,
57
+ "use_short_conv": true,
58
+ "vocab_size": 32000
59
+ }
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.49.0"
6
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a9c00242508270fc36c50e84b92ca8063ef5d3c0490c6d8a3b2e0ffc0e6141c
3
+ size 4984979984
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c93bc730f1cc6f01784e40a8a9d625b16a21173a43f22e3fb5f423b0f494dc5
3
+ size 308289864
model.safetensors.index.json ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 5293232896
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "model-00002-of-00002.safetensors",
7
+ "model.embeddings.weight": "model-00001-of-00002.safetensors",
8
+ "model.layers.0.attn.A_log": "model-00001-of-00002.safetensors",
9
+ "model.layers.0.attn.a_proj.weight": "model-00001-of-00002.safetensors",
10
+ "model.layers.0.attn.b_proj.weight": "model-00001-of-00002.safetensors",
11
+ "model.layers.0.attn.dt_bias": "model-00001-of-00002.safetensors",
12
+ "model.layers.0.attn.g_proj.weight": "model-00001-of-00002.safetensors",
13
+ "model.layers.0.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
14
+ "model.layers.0.attn.k_proj.weight": "model-00001-of-00002.safetensors",
15
+ "model.layers.0.attn.o_norm.weight": "model-00001-of-00002.safetensors",
16
+ "model.layers.0.attn.o_proj.weight": "model-00001-of-00002.safetensors",
17
+ "model.layers.0.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
18
+ "model.layers.0.attn.q_proj.weight": "model-00001-of-00002.safetensors",
19
+ "model.layers.0.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
20
+ "model.layers.0.attn.v_proj.weight": "model-00001-of-00002.safetensors",
21
+ "model.layers.0.attn_norm.weight": "model-00001-of-00002.safetensors",
22
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
23
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
24
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
25
+ "model.layers.0.mlp_norm.weight": "model-00001-of-00002.safetensors",
26
+ "model.layers.1.attn.g_proj.weight": "model-00001-of-00002.safetensors",
27
+ "model.layers.1.attn.k_proj.weight": "model-00001-of-00002.safetensors",
28
+ "model.layers.1.attn.o_proj.weight": "model-00001-of-00002.safetensors",
29
+ "model.layers.1.attn.q_proj.weight": "model-00001-of-00002.safetensors",
30
+ "model.layers.1.attn.v_proj.weight": "model-00001-of-00002.safetensors",
31
+ "model.layers.1.attn_norm.weight": "model-00001-of-00002.safetensors",
32
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
33
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
34
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
35
+ "model.layers.1.mlp_norm.weight": "model-00001-of-00002.safetensors",
36
+ "model.layers.10.attn.A_log": "model-00001-of-00002.safetensors",
37
+ "model.layers.10.attn.a_proj.weight": "model-00001-of-00002.safetensors",
38
+ "model.layers.10.attn.b_proj.weight": "model-00001-of-00002.safetensors",
39
+ "model.layers.10.attn.dt_bias": "model-00001-of-00002.safetensors",
40
+ "model.layers.10.attn.g_proj.weight": "model-00001-of-00002.safetensors",
41
+ "model.layers.10.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
42
+ "model.layers.10.attn.k_proj.weight": "model-00001-of-00002.safetensors",
43
+ "model.layers.10.attn.o_norm.weight": "model-00001-of-00002.safetensors",
44
+ "model.layers.10.attn.o_proj.weight": "model-00001-of-00002.safetensors",
45
+ "model.layers.10.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
46
+ "model.layers.10.attn.q_proj.weight": "model-00001-of-00002.safetensors",
47
+ "model.layers.10.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
48
+ "model.layers.10.attn.v_proj.weight": "model-00001-of-00002.safetensors",
49
+ "model.layers.10.attn_norm.weight": "model-00001-of-00002.safetensors",
50
+ "model.layers.10.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
51
+ "model.layers.10.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
52
+ "model.layers.10.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
53
+ "model.layers.10.mlp_norm.weight": "model-00001-of-00002.safetensors",
54
+ "model.layers.11.attn.g_proj.weight": "model-00001-of-00002.safetensors",
55
+ "model.layers.11.attn.k_proj.weight": "model-00001-of-00002.safetensors",
56
+ "model.layers.11.attn.o_proj.weight": "model-00001-of-00002.safetensors",
57
+ "model.layers.11.attn.q_proj.weight": "model-00001-of-00002.safetensors",
58
+ "model.layers.11.attn.v_proj.weight": "model-00001-of-00002.safetensors",
59
+ "model.layers.11.attn_norm.weight": "model-00001-of-00002.safetensors",
60
+ "model.layers.11.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
61
+ "model.layers.11.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
62
+ "model.layers.11.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
63
+ "model.layers.11.mlp_norm.weight": "model-00001-of-00002.safetensors",
64
+ "model.layers.12.attn.A_log": "model-00001-of-00002.safetensors",
65
+ "model.layers.12.attn.a_proj.weight": "model-00001-of-00002.safetensors",
66
+ "model.layers.12.attn.b_proj.weight": "model-00001-of-00002.safetensors",
67
+ "model.layers.12.attn.dt_bias": "model-00001-of-00002.safetensors",
68
+ "model.layers.12.attn.g_proj.weight": "model-00001-of-00002.safetensors",
69
+ "model.layers.12.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
70
+ "model.layers.12.attn.k_proj.weight": "model-00001-of-00002.safetensors",
71
+ "model.layers.12.attn.o_norm.weight": "model-00001-of-00002.safetensors",
72
+ "model.layers.12.attn.o_proj.weight": "model-00001-of-00002.safetensors",
73
+ "model.layers.12.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
74
+ "model.layers.12.attn.q_proj.weight": "model-00001-of-00002.safetensors",
75
+ "model.layers.12.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
76
+ "model.layers.12.attn.v_proj.weight": "model-00001-of-00002.safetensors",
77
+ "model.layers.12.attn_norm.weight": "model-00001-of-00002.safetensors",
78
+ "model.layers.12.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
79
+ "model.layers.12.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
80
+ "model.layers.12.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
81
+ "model.layers.12.mlp_norm.weight": "model-00001-of-00002.safetensors",
82
+ "model.layers.13.attn.g_proj.weight": "model-00001-of-00002.safetensors",
83
+ "model.layers.13.attn.k_proj.weight": "model-00001-of-00002.safetensors",
84
+ "model.layers.13.attn.o_proj.weight": "model-00001-of-00002.safetensors",
85
+ "model.layers.13.attn.q_proj.weight": "model-00001-of-00002.safetensors",
86
+ "model.layers.13.attn.v_proj.weight": "model-00001-of-00002.safetensors",
87
+ "model.layers.13.attn_norm.weight": "model-00001-of-00002.safetensors",
88
+ "model.layers.13.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
89
+ "model.layers.13.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
90
+ "model.layers.13.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
91
+ "model.layers.13.mlp_norm.weight": "model-00001-of-00002.safetensors",
92
+ "model.layers.14.attn.A_log": "model-00001-of-00002.safetensors",
93
+ "model.layers.14.attn.a_proj.weight": "model-00001-of-00002.safetensors",
94
+ "model.layers.14.attn.b_proj.weight": "model-00001-of-00002.safetensors",
95
+ "model.layers.14.attn.dt_bias": "model-00001-of-00002.safetensors",
96
+ "model.layers.14.attn.g_proj.weight": "model-00001-of-00002.safetensors",
97
+ "model.layers.14.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
98
+ "model.layers.14.attn.k_proj.weight": "model-00001-of-00002.safetensors",
99
+ "model.layers.14.attn.o_norm.weight": "model-00001-of-00002.safetensors",
100
+ "model.layers.14.attn.o_proj.weight": "model-00001-of-00002.safetensors",
101
+ "model.layers.14.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
102
+ "model.layers.14.attn.q_proj.weight": "model-00001-of-00002.safetensors",
103
+ "model.layers.14.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
104
+ "model.layers.14.attn.v_proj.weight": "model-00001-of-00002.safetensors",
105
+ "model.layers.14.attn_norm.weight": "model-00001-of-00002.safetensors",
106
+ "model.layers.14.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
107
+ "model.layers.14.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
108
+ "model.layers.14.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
109
+ "model.layers.14.mlp_norm.weight": "model-00001-of-00002.safetensors",
110
+ "model.layers.15.attn.g_proj.weight": "model-00001-of-00002.safetensors",
111
+ "model.layers.15.attn.k_proj.weight": "model-00001-of-00002.safetensors",
112
+ "model.layers.15.attn.o_proj.weight": "model-00001-of-00002.safetensors",
113
+ "model.layers.15.attn.q_proj.weight": "model-00001-of-00002.safetensors",
114
+ "model.layers.15.attn.v_proj.weight": "model-00001-of-00002.safetensors",
115
+ "model.layers.15.attn_norm.weight": "model-00001-of-00002.safetensors",
116
+ "model.layers.15.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
117
+ "model.layers.15.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
118
+ "model.layers.15.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
119
+ "model.layers.15.mlp_norm.weight": "model-00001-of-00002.safetensors",
120
+ "model.layers.16.attn.A_log": "model-00001-of-00002.safetensors",
121
+ "model.layers.16.attn.a_proj.weight": "model-00001-of-00002.safetensors",
122
+ "model.layers.16.attn.b_proj.weight": "model-00001-of-00002.safetensors",
123
+ "model.layers.16.attn.dt_bias": "model-00001-of-00002.safetensors",
124
+ "model.layers.16.attn.g_proj.weight": "model-00001-of-00002.safetensors",
125
+ "model.layers.16.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
126
+ "model.layers.16.attn.k_proj.weight": "model-00001-of-00002.safetensors",
127
+ "model.layers.16.attn.o_norm.weight": "model-00001-of-00002.safetensors",
128
+ "model.layers.16.attn.o_proj.weight": "model-00001-of-00002.safetensors",
129
+ "model.layers.16.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
130
+ "model.layers.16.attn.q_proj.weight": "model-00001-of-00002.safetensors",
131
+ "model.layers.16.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
132
+ "model.layers.16.attn.v_proj.weight": "model-00001-of-00002.safetensors",
133
+ "model.layers.16.attn_norm.weight": "model-00001-of-00002.safetensors",
134
+ "model.layers.16.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
135
+ "model.layers.16.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
136
+ "model.layers.16.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
137
+ "model.layers.16.mlp_norm.weight": "model-00001-of-00002.safetensors",
138
+ "model.layers.17.attn.g_proj.weight": "model-00001-of-00002.safetensors",
139
+ "model.layers.17.attn.k_proj.weight": "model-00001-of-00002.safetensors",
140
+ "model.layers.17.attn.o_proj.weight": "model-00001-of-00002.safetensors",
141
+ "model.layers.17.attn.q_proj.weight": "model-00001-of-00002.safetensors",
142
+ "model.layers.17.attn.v_proj.weight": "model-00001-of-00002.safetensors",
143
+ "model.layers.17.attn_norm.weight": "model-00001-of-00002.safetensors",
144
+ "model.layers.17.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
145
+ "model.layers.17.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
146
+ "model.layers.17.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
147
+ "model.layers.17.mlp_norm.weight": "model-00001-of-00002.safetensors",
148
+ "model.layers.18.attn.A_log": "model-00001-of-00002.safetensors",
149
+ "model.layers.18.attn.a_proj.weight": "model-00001-of-00002.safetensors",
150
+ "model.layers.18.attn.b_proj.weight": "model-00001-of-00002.safetensors",
151
+ "model.layers.18.attn.dt_bias": "model-00001-of-00002.safetensors",
152
+ "model.layers.18.attn.g_proj.weight": "model-00001-of-00002.safetensors",
153
+ "model.layers.18.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
154
+ "model.layers.18.attn.k_proj.weight": "model-00001-of-00002.safetensors",
155
+ "model.layers.18.attn.o_norm.weight": "model-00001-of-00002.safetensors",
156
+ "model.layers.18.attn.o_proj.weight": "model-00001-of-00002.safetensors",
157
+ "model.layers.18.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
158
+ "model.layers.18.attn.q_proj.weight": "model-00001-of-00002.safetensors",
159
+ "model.layers.18.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
160
+ "model.layers.18.attn.v_proj.weight": "model-00001-of-00002.safetensors",
161
+ "model.layers.18.attn_norm.weight": "model-00001-of-00002.safetensors",
162
+ "model.layers.18.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
163
+ "model.layers.18.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
164
+ "model.layers.18.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
165
+ "model.layers.18.mlp_norm.weight": "model-00001-of-00002.safetensors",
166
+ "model.layers.19.attn.g_proj.weight": "model-00001-of-00002.safetensors",
167
+ "model.layers.19.attn.k_proj.weight": "model-00001-of-00002.safetensors",
168
+ "model.layers.19.attn.o_proj.weight": "model-00001-of-00002.safetensors",
169
+ "model.layers.19.attn.q_proj.weight": "model-00001-of-00002.safetensors",
170
+ "model.layers.19.attn.v_proj.weight": "model-00001-of-00002.safetensors",
171
+ "model.layers.19.attn_norm.weight": "model-00001-of-00002.safetensors",
172
+ "model.layers.19.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
173
+ "model.layers.19.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
174
+ "model.layers.19.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
175
+ "model.layers.19.mlp_norm.weight": "model-00001-of-00002.safetensors",
176
+ "model.layers.2.attn.A_log": "model-00001-of-00002.safetensors",
177
+ "model.layers.2.attn.a_proj.weight": "model-00001-of-00002.safetensors",
178
+ "model.layers.2.attn.b_proj.weight": "model-00001-of-00002.safetensors",
179
+ "model.layers.2.attn.dt_bias": "model-00001-of-00002.safetensors",
180
+ "model.layers.2.attn.g_proj.weight": "model-00001-of-00002.safetensors",
181
+ "model.layers.2.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
182
+ "model.layers.2.attn.k_proj.weight": "model-00001-of-00002.safetensors",
183
+ "model.layers.2.attn.o_norm.weight": "model-00001-of-00002.safetensors",
184
+ "model.layers.2.attn.o_proj.weight": "model-00001-of-00002.safetensors",
185
+ "model.layers.2.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
186
+ "model.layers.2.attn.q_proj.weight": "model-00001-of-00002.safetensors",
187
+ "model.layers.2.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
188
+ "model.layers.2.attn.v_proj.weight": "model-00001-of-00002.safetensors",
189
+ "model.layers.2.attn_norm.weight": "model-00001-of-00002.safetensors",
190
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
191
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
192
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
193
+ "model.layers.2.mlp_norm.weight": "model-00001-of-00002.safetensors",
194
+ "model.layers.20.attn.A_log": "model-00001-of-00002.safetensors",
195
+ "model.layers.20.attn.a_proj.weight": "model-00001-of-00002.safetensors",
196
+ "model.layers.20.attn.b_proj.weight": "model-00001-of-00002.safetensors",
197
+ "model.layers.20.attn.dt_bias": "model-00001-of-00002.safetensors",
198
+ "model.layers.20.attn.g_proj.weight": "model-00001-of-00002.safetensors",
199
+ "model.layers.20.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
200
+ "model.layers.20.attn.k_proj.weight": "model-00001-of-00002.safetensors",
201
+ "model.layers.20.attn.o_norm.weight": "model-00001-of-00002.safetensors",
202
+ "model.layers.20.attn.o_proj.weight": "model-00001-of-00002.safetensors",
203
+ "model.layers.20.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
204
+ "model.layers.20.attn.q_proj.weight": "model-00001-of-00002.safetensors",
205
+ "model.layers.20.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
206
+ "model.layers.20.attn.v_proj.weight": "model-00001-of-00002.safetensors",
207
+ "model.layers.20.attn_norm.weight": "model-00001-of-00002.safetensors",
208
+ "model.layers.20.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
209
+ "model.layers.20.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
210
+ "model.layers.20.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
211
+ "model.layers.20.mlp_norm.weight": "model-00001-of-00002.safetensors",
212
+ "model.layers.21.attn.g_proj.weight": "model-00001-of-00002.safetensors",
213
+ "model.layers.21.attn.k_proj.weight": "model-00001-of-00002.safetensors",
214
+ "model.layers.21.attn.o_proj.weight": "model-00001-of-00002.safetensors",
215
+ "model.layers.21.attn.q_proj.weight": "model-00001-of-00002.safetensors",
216
+ "model.layers.21.attn.v_proj.weight": "model-00001-of-00002.safetensors",
217
+ "model.layers.21.attn_norm.weight": "model-00001-of-00002.safetensors",
218
+ "model.layers.21.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
219
+ "model.layers.21.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
220
+ "model.layers.21.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
221
+ "model.layers.21.mlp_norm.weight": "model-00001-of-00002.safetensors",
222
+ "model.layers.22.attn.A_log": "model-00001-of-00002.safetensors",
223
+ "model.layers.22.attn.a_proj.weight": "model-00001-of-00002.safetensors",
224
+ "model.layers.22.attn.b_proj.weight": "model-00001-of-00002.safetensors",
225
+ "model.layers.22.attn.dt_bias": "model-00001-of-00002.safetensors",
226
+ "model.layers.22.attn.g_proj.weight": "model-00001-of-00002.safetensors",
227
+ "model.layers.22.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
228
+ "model.layers.22.attn.k_proj.weight": "model-00001-of-00002.safetensors",
229
+ "model.layers.22.attn.o_norm.weight": "model-00001-of-00002.safetensors",
230
+ "model.layers.22.attn.o_proj.weight": "model-00001-of-00002.safetensors",
231
+ "model.layers.22.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
232
+ "model.layers.22.attn.q_proj.weight": "model-00001-of-00002.safetensors",
233
+ "model.layers.22.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
234
+ "model.layers.22.attn.v_proj.weight": "model-00001-of-00002.safetensors",
235
+ "model.layers.22.attn_norm.weight": "model-00001-of-00002.safetensors",
236
+ "model.layers.22.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
237
+ "model.layers.22.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
238
+ "model.layers.22.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
239
+ "model.layers.22.mlp_norm.weight": "model-00001-of-00002.safetensors",
240
+ "model.layers.23.attn.g_proj.weight": "model-00001-of-00002.safetensors",
241
+ "model.layers.23.attn.k_proj.weight": "model-00001-of-00002.safetensors",
242
+ "model.layers.23.attn.o_proj.weight": "model-00001-of-00002.safetensors",
243
+ "model.layers.23.attn.q_proj.weight": "model-00001-of-00002.safetensors",
244
+ "model.layers.23.attn.v_proj.weight": "model-00001-of-00002.safetensors",
245
+ "model.layers.23.attn_norm.weight": "model-00001-of-00002.safetensors",
246
+ "model.layers.23.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
247
+ "model.layers.23.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
248
+ "model.layers.23.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
249
+ "model.layers.23.mlp_norm.weight": "model-00001-of-00002.safetensors",
250
+ "model.layers.3.attn.g_proj.weight": "model-00001-of-00002.safetensors",
251
+ "model.layers.3.attn.k_proj.weight": "model-00001-of-00002.safetensors",
252
+ "model.layers.3.attn.o_proj.weight": "model-00001-of-00002.safetensors",
253
+ "model.layers.3.attn.q_proj.weight": "model-00001-of-00002.safetensors",
254
+ "model.layers.3.attn.v_proj.weight": "model-00001-of-00002.safetensors",
255
+ "model.layers.3.attn_norm.weight": "model-00001-of-00002.safetensors",
256
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
257
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
258
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
259
+ "model.layers.3.mlp_norm.weight": "model-00001-of-00002.safetensors",
260
+ "model.layers.4.attn.A_log": "model-00001-of-00002.safetensors",
261
+ "model.layers.4.attn.a_proj.weight": "model-00001-of-00002.safetensors",
262
+ "model.layers.4.attn.b_proj.weight": "model-00001-of-00002.safetensors",
263
+ "model.layers.4.attn.dt_bias": "model-00001-of-00002.safetensors",
264
+ "model.layers.4.attn.g_proj.weight": "model-00001-of-00002.safetensors",
265
+ "model.layers.4.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
266
+ "model.layers.4.attn.k_proj.weight": "model-00001-of-00002.safetensors",
267
+ "model.layers.4.attn.o_norm.weight": "model-00001-of-00002.safetensors",
268
+ "model.layers.4.attn.o_proj.weight": "model-00001-of-00002.safetensors",
269
+ "model.layers.4.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
270
+ "model.layers.4.attn.q_proj.weight": "model-00001-of-00002.safetensors",
271
+ "model.layers.4.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
272
+ "model.layers.4.attn.v_proj.weight": "model-00001-of-00002.safetensors",
273
+ "model.layers.4.attn_norm.weight": "model-00001-of-00002.safetensors",
274
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
275
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
276
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
277
+ "model.layers.4.mlp_norm.weight": "model-00001-of-00002.safetensors",
278
+ "model.layers.5.attn.g_proj.weight": "model-00001-of-00002.safetensors",
279
+ "model.layers.5.attn.k_proj.weight": "model-00001-of-00002.safetensors",
280
+ "model.layers.5.attn.o_proj.weight": "model-00001-of-00002.safetensors",
281
+ "model.layers.5.attn.q_proj.weight": "model-00001-of-00002.safetensors",
282
+ "model.layers.5.attn.v_proj.weight": "model-00001-of-00002.safetensors",
283
+ "model.layers.5.attn_norm.weight": "model-00001-of-00002.safetensors",
284
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
285
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
286
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
287
+ "model.layers.5.mlp_norm.weight": "model-00001-of-00002.safetensors",
288
+ "model.layers.6.attn.A_log": "model-00001-of-00002.safetensors",
289
+ "model.layers.6.attn.a_proj.weight": "model-00001-of-00002.safetensors",
290
+ "model.layers.6.attn.b_proj.weight": "model-00001-of-00002.safetensors",
291
+ "model.layers.6.attn.dt_bias": "model-00001-of-00002.safetensors",
292
+ "model.layers.6.attn.g_proj.weight": "model-00001-of-00002.safetensors",
293
+ "model.layers.6.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
294
+ "model.layers.6.attn.k_proj.weight": "model-00001-of-00002.safetensors",
295
+ "model.layers.6.attn.o_norm.weight": "model-00001-of-00002.safetensors",
296
+ "model.layers.6.attn.o_proj.weight": "model-00001-of-00002.safetensors",
297
+ "model.layers.6.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
298
+ "model.layers.6.attn.q_proj.weight": "model-00001-of-00002.safetensors",
299
+ "model.layers.6.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
300
+ "model.layers.6.attn.v_proj.weight": "model-00001-of-00002.safetensors",
301
+ "model.layers.6.attn_norm.weight": "model-00001-of-00002.safetensors",
302
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
303
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
304
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
305
+ "model.layers.6.mlp_norm.weight": "model-00001-of-00002.safetensors",
306
+ "model.layers.7.attn.g_proj.weight": "model-00001-of-00002.safetensors",
307
+ "model.layers.7.attn.k_proj.weight": "model-00001-of-00002.safetensors",
308
+ "model.layers.7.attn.o_proj.weight": "model-00001-of-00002.safetensors",
309
+ "model.layers.7.attn.q_proj.weight": "model-00001-of-00002.safetensors",
310
+ "model.layers.7.attn.v_proj.weight": "model-00001-of-00002.safetensors",
311
+ "model.layers.7.attn_norm.weight": "model-00001-of-00002.safetensors",
312
+ "model.layers.7.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
313
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
314
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
315
+ "model.layers.7.mlp_norm.weight": "model-00001-of-00002.safetensors",
316
+ "model.layers.8.attn.A_log": "model-00001-of-00002.safetensors",
317
+ "model.layers.8.attn.a_proj.weight": "model-00001-of-00002.safetensors",
318
+ "model.layers.8.attn.b_proj.weight": "model-00001-of-00002.safetensors",
319
+ "model.layers.8.attn.dt_bias": "model-00001-of-00002.safetensors",
320
+ "model.layers.8.attn.g_proj.weight": "model-00001-of-00002.safetensors",
321
+ "model.layers.8.attn.k_conv1d.weight": "model-00001-of-00002.safetensors",
322
+ "model.layers.8.attn.k_proj.weight": "model-00001-of-00002.safetensors",
323
+ "model.layers.8.attn.o_norm.weight": "model-00001-of-00002.safetensors",
324
+ "model.layers.8.attn.o_proj.weight": "model-00001-of-00002.safetensors",
325
+ "model.layers.8.attn.q_conv1d.weight": "model-00001-of-00002.safetensors",
326
+ "model.layers.8.attn.q_proj.weight": "model-00001-of-00002.safetensors",
327
+ "model.layers.8.attn.v_conv1d.weight": "model-00001-of-00002.safetensors",
328
+ "model.layers.8.attn.v_proj.weight": "model-00001-of-00002.safetensors",
329
+ "model.layers.8.attn_norm.weight": "model-00001-of-00002.safetensors",
330
+ "model.layers.8.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
331
+ "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
332
+ "model.layers.8.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
333
+ "model.layers.8.mlp_norm.weight": "model-00001-of-00002.safetensors",
334
+ "model.layers.9.attn.g_proj.weight": "model-00001-of-00002.safetensors",
335
+ "model.layers.9.attn.k_proj.weight": "model-00001-of-00002.safetensors",
336
+ "model.layers.9.attn.o_proj.weight": "model-00001-of-00002.safetensors",
337
+ "model.layers.9.attn.q_proj.weight": "model-00001-of-00002.safetensors",
338
+ "model.layers.9.attn.v_proj.weight": "model-00001-of-00002.safetensors",
339
+ "model.layers.9.attn_norm.weight": "model-00001-of-00002.safetensors",
340
+ "model.layers.9.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
341
+ "model.layers.9.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
342
+ "model.layers.9.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
343
+ "model.layers.9.mlp_norm.weight": "model-00001-of-00002.safetensors",
344
+ "model.norm.weight": "model-00002-of-00002.safetensors"
345
+ }
346
+ }
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": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "additional_special_tokens": [],
32
+ "bos_token": "<s>",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "extra_special_tokens": {},
36
+ "legacy": true,
37
+ "model_max_length": 1000000000000000019884624838656,
38
+ "pad_token": null,
39
+ "sp_model_kwargs": {},
40
+ "spaces_between_special_tokens": false,
41
+ "tokenizer_class": "LlamaTokenizer",
42
+ "unk_token": "<unk>",
43
+ "use_default_system_prompt": false
44
+ }