d4959ee2eb1a0de2f4b1ea5edf385de934661a4509f08c769917b00639719d3e
Browse files- README.md +38 -0
- config.json +28 -0
- model.safetensors.index.json +226 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +171 -0
README.md
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- ja
|
4 |
+
- en
|
5 |
+
license: other
|
6 |
+
license_link: LICENSE
|
7 |
+
tags:
|
8 |
+
- mlx
|
9 |
+
base_model: sbintuitions/sarashina2.1-1b
|
10 |
+
---
|
11 |
+
|
12 |
+
# mlx-community/sarashina2.1-1b
|
13 |
+
|
14 |
+
The Model [mlx-community/sarashina2.1-1b](https://huggingface.co/mlx-community/sarashina2.1-1b) was
|
15 |
+
converted to MLX format from [sbintuitions/sarashina2.1-1b](https://huggingface.co/sbintuitions/sarashina2.1-1b)
|
16 |
+
using mlx-lm version **0.20.2**.
|
17 |
+
|
18 |
+
## Use with mlx
|
19 |
+
|
20 |
+
```bash
|
21 |
+
pip install mlx-lm
|
22 |
+
```
|
23 |
+
|
24 |
+
```python
|
25 |
+
from mlx_lm import load, generate
|
26 |
+
|
27 |
+
model, tokenizer = load("mlx-community/sarashina2.1-1b")
|
28 |
+
|
29 |
+
prompt="hello"
|
30 |
+
|
31 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
32 |
+
messages = [{"role": "user", "content": prompt}]
|
33 |
+
prompt = tokenizer.apply_chat_template(
|
34 |
+
messages, tokenize=False, add_generation_prompt=True
|
35 |
+
)
|
36 |
+
|
37 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
38 |
+
```
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 1792,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 6272,
|
13 |
+
"max_position_embeddings": 8192,
|
14 |
+
"mlp_bias": false,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 16,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"rms_norm_eps": 1e-05,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rope_theta": 500000,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "bfloat16",
|
25 |
+
"transformers_version": "4.40.1",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 102400
|
28 |
+
}
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 2815077888
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"lm_head.weight": "model.safetensors",
|
7 |
+
"model.embed_tokens.weight": "model.safetensors",
|
8 |
+
"model.layers.0.input_layernorm.weight": "model.safetensors",
|
9 |
+
"model.layers.0.mlp.down_proj.weight": "model.safetensors",
|
10 |
+
"model.layers.0.mlp.gate_proj.weight": "model.safetensors",
|
11 |
+
"model.layers.0.mlp.up_proj.weight": "model.safetensors",
|
12 |
+
"model.layers.0.post_attention_layernorm.weight": "model.safetensors",
|
13 |
+
"model.layers.0.self_attn.k_proj.weight": "model.safetensors",
|
14 |
+
"model.layers.0.self_attn.o_proj.weight": "model.safetensors",
|
15 |
+
"model.layers.0.self_attn.q_proj.weight": "model.safetensors",
|
16 |
+
"model.layers.0.self_attn.v_proj.weight": "model.safetensors",
|
17 |
+
"model.layers.1.input_layernorm.weight": "model.safetensors",
|
18 |
+
"model.layers.1.mlp.down_proj.weight": "model.safetensors",
|
19 |
+
"model.layers.1.mlp.gate_proj.weight": "model.safetensors",
|
20 |
+
"model.layers.1.mlp.up_proj.weight": "model.safetensors",
|
21 |
+
"model.layers.1.post_attention_layernorm.weight": "model.safetensors",
|
22 |
+
"model.layers.1.self_attn.k_proj.weight": "model.safetensors",
|
23 |
+
"model.layers.1.self_attn.o_proj.weight": "model.safetensors",
|
24 |
+
"model.layers.1.self_attn.q_proj.weight": "model.safetensors",
|
25 |
+
"model.layers.1.self_attn.v_proj.weight": "model.safetensors",
|
26 |
+
"model.layers.10.input_layernorm.weight": "model.safetensors",
|
27 |
+
"model.layers.10.mlp.down_proj.weight": "model.safetensors",
|
28 |
+
"model.layers.10.mlp.gate_proj.weight": "model.safetensors",
|
29 |
+
"model.layers.10.mlp.up_proj.weight": "model.safetensors",
|
30 |
+
"model.layers.10.post_attention_layernorm.weight": "model.safetensors",
|
31 |
+
"model.layers.10.self_attn.k_proj.weight": "model.safetensors",
|
32 |
+
"model.layers.10.self_attn.o_proj.weight": "model.safetensors",
|
33 |
+
"model.layers.10.self_attn.q_proj.weight": "model.safetensors",
|
34 |
+
"model.layers.10.self_attn.v_proj.weight": "model.safetensors",
|
35 |
+
"model.layers.11.input_layernorm.weight": "model.safetensors",
|
36 |
+
"model.layers.11.mlp.down_proj.weight": "model.safetensors",
|
37 |
+
"model.layers.11.mlp.gate_proj.weight": "model.safetensors",
|
38 |
+
"model.layers.11.mlp.up_proj.weight": "model.safetensors",
|
39 |
+
"model.layers.11.post_attention_layernorm.weight": "model.safetensors",
|
40 |
+
"model.layers.11.self_attn.k_proj.weight": "model.safetensors",
|
41 |
+
"model.layers.11.self_attn.o_proj.weight": "model.safetensors",
|
42 |
+
"model.layers.11.self_attn.q_proj.weight": "model.safetensors",
|
43 |
+
"model.layers.11.self_attn.v_proj.weight": "model.safetensors",
|
44 |
+
"model.layers.12.input_layernorm.weight": "model.safetensors",
|
45 |
+
"model.layers.12.mlp.down_proj.weight": "model.safetensors",
|
46 |
+
"model.layers.12.mlp.gate_proj.weight": "model.safetensors",
|
47 |
+
"model.layers.12.mlp.up_proj.weight": "model.safetensors",
|
48 |
+
"model.layers.12.post_attention_layernorm.weight": "model.safetensors",
|
49 |
+
"model.layers.12.self_attn.k_proj.weight": "model.safetensors",
|
50 |
+
"model.layers.12.self_attn.o_proj.weight": "model.safetensors",
|
51 |
+
"model.layers.12.self_attn.q_proj.weight": "model.safetensors",
|
52 |
+
"model.layers.12.self_attn.v_proj.weight": "model.safetensors",
|
53 |
+
"model.layers.13.input_layernorm.weight": "model.safetensors",
|
54 |
+
"model.layers.13.mlp.down_proj.weight": "model.safetensors",
|
55 |
+
"model.layers.13.mlp.gate_proj.weight": "model.safetensors",
|
56 |
+
"model.layers.13.mlp.up_proj.weight": "model.safetensors",
|
57 |
+
"model.layers.13.post_attention_layernorm.weight": "model.safetensors",
|
58 |
+
"model.layers.13.self_attn.k_proj.weight": "model.safetensors",
|
59 |
+
"model.layers.13.self_attn.o_proj.weight": "model.safetensors",
|
60 |
+
"model.layers.13.self_attn.q_proj.weight": "model.safetensors",
|
61 |
+
"model.layers.13.self_attn.v_proj.weight": "model.safetensors",
|
62 |
+
"model.layers.14.input_layernorm.weight": "model.safetensors",
|
63 |
+
"model.layers.14.mlp.down_proj.weight": "model.safetensors",
|
64 |
+
"model.layers.14.mlp.gate_proj.weight": "model.safetensors",
|
65 |
+
"model.layers.14.mlp.up_proj.weight": "model.safetensors",
|
66 |
+
"model.layers.14.post_attention_layernorm.weight": "model.safetensors",
|
67 |
+
"model.layers.14.self_attn.k_proj.weight": "model.safetensors",
|
68 |
+
"model.layers.14.self_attn.o_proj.weight": "model.safetensors",
|
69 |
+
"model.layers.14.self_attn.q_proj.weight": "model.safetensors",
|
70 |
+
"model.layers.14.self_attn.v_proj.weight": "model.safetensors",
|
71 |
+
"model.layers.15.input_layernorm.weight": "model.safetensors",
|
72 |
+
"model.layers.15.mlp.down_proj.weight": "model.safetensors",
|
73 |
+
"model.layers.15.mlp.gate_proj.weight": "model.safetensors",
|
74 |
+
"model.layers.15.mlp.up_proj.weight": "model.safetensors",
|
75 |
+
"model.layers.15.post_attention_layernorm.weight": "model.safetensors",
|
76 |
+
"model.layers.15.self_attn.k_proj.weight": "model.safetensors",
|
77 |
+
"model.layers.15.self_attn.o_proj.weight": "model.safetensors",
|
78 |
+
"model.layers.15.self_attn.q_proj.weight": "model.safetensors",
|
79 |
+
"model.layers.15.self_attn.v_proj.weight": "model.safetensors",
|
80 |
+
"model.layers.16.input_layernorm.weight": "model.safetensors",
|
81 |
+
"model.layers.16.mlp.down_proj.weight": "model.safetensors",
|
82 |
+
"model.layers.16.mlp.gate_proj.weight": "model.safetensors",
|
83 |
+
"model.layers.16.mlp.up_proj.weight": "model.safetensors",
|
84 |
+
"model.layers.16.post_attention_layernorm.weight": "model.safetensors",
|
85 |
+
"model.layers.16.self_attn.k_proj.weight": "model.safetensors",
|
86 |
+
"model.layers.16.self_attn.o_proj.weight": "model.safetensors",
|
87 |
+
"model.layers.16.self_attn.q_proj.weight": "model.safetensors",
|
88 |
+
"model.layers.16.self_attn.v_proj.weight": "model.safetensors",
|
89 |
+
"model.layers.17.input_layernorm.weight": "model.safetensors",
|
90 |
+
"model.layers.17.mlp.down_proj.weight": "model.safetensors",
|
91 |
+
"model.layers.17.mlp.gate_proj.weight": "model.safetensors",
|
92 |
+
"model.layers.17.mlp.up_proj.weight": "model.safetensors",
|
93 |
+
"model.layers.17.post_attention_layernorm.weight": "model.safetensors",
|
94 |
+
"model.layers.17.self_attn.k_proj.weight": "model.safetensors",
|
95 |
+
"model.layers.17.self_attn.o_proj.weight": "model.safetensors",
|
96 |
+
"model.layers.17.self_attn.q_proj.weight": "model.safetensors",
|
97 |
+
"model.layers.17.self_attn.v_proj.weight": "model.safetensors",
|
98 |
+
"model.layers.18.input_layernorm.weight": "model.safetensors",
|
99 |
+
"model.layers.18.mlp.down_proj.weight": "model.safetensors",
|
100 |
+
"model.layers.18.mlp.gate_proj.weight": "model.safetensors",
|
101 |
+
"model.layers.18.mlp.up_proj.weight": "model.safetensors",
|
102 |
+
"model.layers.18.post_attention_layernorm.weight": "model.safetensors",
|
103 |
+
"model.layers.18.self_attn.k_proj.weight": "model.safetensors",
|
104 |
+
"model.layers.18.self_attn.o_proj.weight": "model.safetensors",
|
105 |
+
"model.layers.18.self_attn.q_proj.weight": "model.safetensors",
|
106 |
+
"model.layers.18.self_attn.v_proj.weight": "model.safetensors",
|
107 |
+
"model.layers.19.input_layernorm.weight": "model.safetensors",
|
108 |
+
"model.layers.19.mlp.down_proj.weight": "model.safetensors",
|
109 |
+
"model.layers.19.mlp.gate_proj.weight": "model.safetensors",
|
110 |
+
"model.layers.19.mlp.up_proj.weight": "model.safetensors",
|
111 |
+
"model.layers.19.post_attention_layernorm.weight": "model.safetensors",
|
112 |
+
"model.layers.19.self_attn.k_proj.weight": "model.safetensors",
|
113 |
+
"model.layers.19.self_attn.o_proj.weight": "model.safetensors",
|
114 |
+
"model.layers.19.self_attn.q_proj.weight": "model.safetensors",
|
115 |
+
"model.layers.19.self_attn.v_proj.weight": "model.safetensors",
|
116 |
+
"model.layers.2.input_layernorm.weight": "model.safetensors",
|
117 |
+
"model.layers.2.mlp.down_proj.weight": "model.safetensors",
|
118 |
+
"model.layers.2.mlp.gate_proj.weight": "model.safetensors",
|
119 |
+
"model.layers.2.mlp.up_proj.weight": "model.safetensors",
|
120 |
+
"model.layers.2.post_attention_layernorm.weight": "model.safetensors",
|
121 |
+
"model.layers.2.self_attn.k_proj.weight": "model.safetensors",
|
122 |
+
"model.layers.2.self_attn.o_proj.weight": "model.safetensors",
|
123 |
+
"model.layers.2.self_attn.q_proj.weight": "model.safetensors",
|
124 |
+
"model.layers.2.self_attn.v_proj.weight": "model.safetensors",
|
125 |
+
"model.layers.20.input_layernorm.weight": "model.safetensors",
|
126 |
+
"model.layers.20.mlp.down_proj.weight": "model.safetensors",
|
127 |
+
"model.layers.20.mlp.gate_proj.weight": "model.safetensors",
|
128 |
+
"model.layers.20.mlp.up_proj.weight": "model.safetensors",
|
129 |
+
"model.layers.20.post_attention_layernorm.weight": "model.safetensors",
|
130 |
+
"model.layers.20.self_attn.k_proj.weight": "model.safetensors",
|
131 |
+
"model.layers.20.self_attn.o_proj.weight": "model.safetensors",
|
132 |
+
"model.layers.20.self_attn.q_proj.weight": "model.safetensors",
|
133 |
+
"model.layers.20.self_attn.v_proj.weight": "model.safetensors",
|
134 |
+
"model.layers.21.input_layernorm.weight": "model.safetensors",
|
135 |
+
"model.layers.21.mlp.down_proj.weight": "model.safetensors",
|
136 |
+
"model.layers.21.mlp.gate_proj.weight": "model.safetensors",
|
137 |
+
"model.layers.21.mlp.up_proj.weight": "model.safetensors",
|
138 |
+
"model.layers.21.post_attention_layernorm.weight": "model.safetensors",
|
139 |
+
"model.layers.21.self_attn.k_proj.weight": "model.safetensors",
|
140 |
+
"model.layers.21.self_attn.o_proj.weight": "model.safetensors",
|
141 |
+
"model.layers.21.self_attn.q_proj.weight": "model.safetensors",
|
142 |
+
"model.layers.21.self_attn.v_proj.weight": "model.safetensors",
|
143 |
+
"model.layers.22.input_layernorm.weight": "model.safetensors",
|
144 |
+
"model.layers.22.mlp.down_proj.weight": "model.safetensors",
|
145 |
+
"model.layers.22.mlp.gate_proj.weight": "model.safetensors",
|
146 |
+
"model.layers.22.mlp.up_proj.weight": "model.safetensors",
|
147 |
+
"model.layers.22.post_attention_layernorm.weight": "model.safetensors",
|
148 |
+
"model.layers.22.self_attn.k_proj.weight": "model.safetensors",
|
149 |
+
"model.layers.22.self_attn.o_proj.weight": "model.safetensors",
|
150 |
+
"model.layers.22.self_attn.q_proj.weight": "model.safetensors",
|
151 |
+
"model.layers.22.self_attn.v_proj.weight": "model.safetensors",
|
152 |
+
"model.layers.23.input_layernorm.weight": "model.safetensors",
|
153 |
+
"model.layers.23.mlp.down_proj.weight": "model.safetensors",
|
154 |
+
"model.layers.23.mlp.gate_proj.weight": "model.safetensors",
|
155 |
+
"model.layers.23.mlp.up_proj.weight": "model.safetensors",
|
156 |
+
"model.layers.23.post_attention_layernorm.weight": "model.safetensors",
|
157 |
+
"model.layers.23.self_attn.k_proj.weight": "model.safetensors",
|
158 |
+
"model.layers.23.self_attn.o_proj.weight": "model.safetensors",
|
159 |
+
"model.layers.23.self_attn.q_proj.weight": "model.safetensors",
|
160 |
+
"model.layers.23.self_attn.v_proj.weight": "model.safetensors",
|
161 |
+
"model.layers.3.input_layernorm.weight": "model.safetensors",
|
162 |
+
"model.layers.3.mlp.down_proj.weight": "model.safetensors",
|
163 |
+
"model.layers.3.mlp.gate_proj.weight": "model.safetensors",
|
164 |
+
"model.layers.3.mlp.up_proj.weight": "model.safetensors",
|
165 |
+
"model.layers.3.post_attention_layernorm.weight": "model.safetensors",
|
166 |
+
"model.layers.3.self_attn.k_proj.weight": "model.safetensors",
|
167 |
+
"model.layers.3.self_attn.o_proj.weight": "model.safetensors",
|
168 |
+
"model.layers.3.self_attn.q_proj.weight": "model.safetensors",
|
169 |
+
"model.layers.3.self_attn.v_proj.weight": "model.safetensors",
|
170 |
+
"model.layers.4.input_layernorm.weight": "model.safetensors",
|
171 |
+
"model.layers.4.mlp.down_proj.weight": "model.safetensors",
|
172 |
+
"model.layers.4.mlp.gate_proj.weight": "model.safetensors",
|
173 |
+
"model.layers.4.mlp.up_proj.weight": "model.safetensors",
|
174 |
+
"model.layers.4.post_attention_layernorm.weight": "model.safetensors",
|
175 |
+
"model.layers.4.self_attn.k_proj.weight": "model.safetensors",
|
176 |
+
"model.layers.4.self_attn.o_proj.weight": "model.safetensors",
|
177 |
+
"model.layers.4.self_attn.q_proj.weight": "model.safetensors",
|
178 |
+
"model.layers.4.self_attn.v_proj.weight": "model.safetensors",
|
179 |
+
"model.layers.5.input_layernorm.weight": "model.safetensors",
|
180 |
+
"model.layers.5.mlp.down_proj.weight": "model.safetensors",
|
181 |
+
"model.layers.5.mlp.gate_proj.weight": "model.safetensors",
|
182 |
+
"model.layers.5.mlp.up_proj.weight": "model.safetensors",
|
183 |
+
"model.layers.5.post_attention_layernorm.weight": "model.safetensors",
|
184 |
+
"model.layers.5.self_attn.k_proj.weight": "model.safetensors",
|
185 |
+
"model.layers.5.self_attn.o_proj.weight": "model.safetensors",
|
186 |
+
"model.layers.5.self_attn.q_proj.weight": "model.safetensors",
|
187 |
+
"model.layers.5.self_attn.v_proj.weight": "model.safetensors",
|
188 |
+
"model.layers.6.input_layernorm.weight": "model.safetensors",
|
189 |
+
"model.layers.6.mlp.down_proj.weight": "model.safetensors",
|
190 |
+
"model.layers.6.mlp.gate_proj.weight": "model.safetensors",
|
191 |
+
"model.layers.6.mlp.up_proj.weight": "model.safetensors",
|
192 |
+
"model.layers.6.post_attention_layernorm.weight": "model.safetensors",
|
193 |
+
"model.layers.6.self_attn.k_proj.weight": "model.safetensors",
|
194 |
+
"model.layers.6.self_attn.o_proj.weight": "model.safetensors",
|
195 |
+
"model.layers.6.self_attn.q_proj.weight": "model.safetensors",
|
196 |
+
"model.layers.6.self_attn.v_proj.weight": "model.safetensors",
|
197 |
+
"model.layers.7.input_layernorm.weight": "model.safetensors",
|
198 |
+
"model.layers.7.mlp.down_proj.weight": "model.safetensors",
|
199 |
+
"model.layers.7.mlp.gate_proj.weight": "model.safetensors",
|
200 |
+
"model.layers.7.mlp.up_proj.weight": "model.safetensors",
|
201 |
+
"model.layers.7.post_attention_layernorm.weight": "model.safetensors",
|
202 |
+
"model.layers.7.self_attn.k_proj.weight": "model.safetensors",
|
203 |
+
"model.layers.7.self_attn.o_proj.weight": "model.safetensors",
|
204 |
+
"model.layers.7.self_attn.q_proj.weight": "model.safetensors",
|
205 |
+
"model.layers.7.self_attn.v_proj.weight": "model.safetensors",
|
206 |
+
"model.layers.8.input_layernorm.weight": "model.safetensors",
|
207 |
+
"model.layers.8.mlp.down_proj.weight": "model.safetensors",
|
208 |
+
"model.layers.8.mlp.gate_proj.weight": "model.safetensors",
|
209 |
+
"model.layers.8.mlp.up_proj.weight": "model.safetensors",
|
210 |
+
"model.layers.8.post_attention_layernorm.weight": "model.safetensors",
|
211 |
+
"model.layers.8.self_attn.k_proj.weight": "model.safetensors",
|
212 |
+
"model.layers.8.self_attn.o_proj.weight": "model.safetensors",
|
213 |
+
"model.layers.8.self_attn.q_proj.weight": "model.safetensors",
|
214 |
+
"model.layers.8.self_attn.v_proj.weight": "model.safetensors",
|
215 |
+
"model.layers.9.input_layernorm.weight": "model.safetensors",
|
216 |
+
"model.layers.9.mlp.down_proj.weight": "model.safetensors",
|
217 |
+
"model.layers.9.mlp.gate_proj.weight": "model.safetensors",
|
218 |
+
"model.layers.9.mlp.up_proj.weight": "model.safetensors",
|
219 |
+
"model.layers.9.post_attention_layernorm.weight": "model.safetensors",
|
220 |
+
"model.layers.9.self_attn.k_proj.weight": "model.safetensors",
|
221 |
+
"model.layers.9.self_attn.o_proj.weight": "model.safetensors",
|
222 |
+
"model.layers.9.self_attn.q_proj.weight": "model.safetensors",
|
223 |
+
"model.layers.9.self_attn.v_proj.weight": "model.safetensors",
|
224 |
+
"model.norm.weight": "model.safetensors"
|
225 |
+
}
|
226 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<cls>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "<sep>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:008293028e1a9d9a1038d9b63d989a2319797dfeaa03f171093a57b33a3a8277
|
3 |
+
size 1831879
|
tokenizer_config.json
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_dummy_prefix_space": false,
|
4 |
+
"add_eos_token": false,
|
5 |
+
"add_prefix_space": false,
|
6 |
+
"added_tokens_decoder": {
|
7 |
+
"0": {
|
8 |
+
"content": "<unk>",
|
9 |
+
"lstrip": false,
|
10 |
+
"normalized": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"single_word": false,
|
13 |
+
"special": true
|
14 |
+
},
|
15 |
+
"1": {
|
16 |
+
"content": "<s>",
|
17 |
+
"lstrip": false,
|
18 |
+
"normalized": false,
|
19 |
+
"rstrip": false,
|
20 |
+
"single_word": false,
|
21 |
+
"special": true
|
22 |
+
},
|
23 |
+
"2": {
|
24 |
+
"content": "</s>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false,
|
29 |
+
"special": true
|
30 |
+
},
|
31 |
+
"3": {
|
32 |
+
"content": "<pad>",
|
33 |
+
"lstrip": false,
|
34 |
+
"normalized": false,
|
35 |
+
"rstrip": false,
|
36 |
+
"single_word": false,
|
37 |
+
"special": true
|
38 |
+
},
|
39 |
+
"4": {
|
40 |
+
"content": "<sep>",
|
41 |
+
"lstrip": false,
|
42 |
+
"normalized": false,
|
43 |
+
"rstrip": false,
|
44 |
+
"single_word": false,
|
45 |
+
"special": true
|
46 |
+
},
|
47 |
+
"5": {
|
48 |
+
"content": "<mask>",
|
49 |
+
"lstrip": false,
|
50 |
+
"normalized": false,
|
51 |
+
"rstrip": false,
|
52 |
+
"single_word": false,
|
53 |
+
"special": true
|
54 |
+
},
|
55 |
+
"6": {
|
56 |
+
"content": "<cls>",
|
57 |
+
"lstrip": false,
|
58 |
+
"normalized": false,
|
59 |
+
"rstrip": false,
|
60 |
+
"single_word": false,
|
61 |
+
"special": true
|
62 |
+
},
|
63 |
+
"7": {
|
64 |
+
"content": "<|system|>",
|
65 |
+
"lstrip": false,
|
66 |
+
"normalized": false,
|
67 |
+
"rstrip": false,
|
68 |
+
"single_word": false,
|
69 |
+
"special": false
|
70 |
+
},
|
71 |
+
"8": {
|
72 |
+
"content": "<|assistant|>",
|
73 |
+
"lstrip": false,
|
74 |
+
"normalized": false,
|
75 |
+
"rstrip": false,
|
76 |
+
"single_word": false,
|
77 |
+
"special": false
|
78 |
+
},
|
79 |
+
"9": {
|
80 |
+
"content": "<|user|>",
|
81 |
+
"lstrip": false,
|
82 |
+
"normalized": false,
|
83 |
+
"rstrip": false,
|
84 |
+
"single_word": false,
|
85 |
+
"special": false
|
86 |
+
},
|
87 |
+
"10": {
|
88 |
+
"content": "<|available_tools|>",
|
89 |
+
"lstrip": false,
|
90 |
+
"normalized": false,
|
91 |
+
"rstrip": false,
|
92 |
+
"single_word": false,
|
93 |
+
"special": false
|
94 |
+
},
|
95 |
+
"11": {
|
96 |
+
"content": "<|tool_calls|>",
|
97 |
+
"lstrip": false,
|
98 |
+
"normalized": false,
|
99 |
+
"rstrip": false,
|
100 |
+
"single_word": false,
|
101 |
+
"special": false
|
102 |
+
},
|
103 |
+
"12": {
|
104 |
+
"content": "<|tool_results|>",
|
105 |
+
"lstrip": false,
|
106 |
+
"normalized": false,
|
107 |
+
"rstrip": false,
|
108 |
+
"single_word": false,
|
109 |
+
"special": false
|
110 |
+
},
|
111 |
+
"13": {
|
112 |
+
"content": "<|code|>",
|
113 |
+
"lstrip": false,
|
114 |
+
"normalized": false,
|
115 |
+
"rstrip": false,
|
116 |
+
"single_word": false,
|
117 |
+
"special": false
|
118 |
+
},
|
119 |
+
"14": {
|
120 |
+
"content": "<|file|>",
|
121 |
+
"lstrip": false,
|
122 |
+
"normalized": false,
|
123 |
+
"rstrip": false,
|
124 |
+
"single_word": false,
|
125 |
+
"special": false
|
126 |
+
},
|
127 |
+
"102397": {
|
128 |
+
"content": "<|prefix|>",
|
129 |
+
"lstrip": false,
|
130 |
+
"normalized": false,
|
131 |
+
"rstrip": false,
|
132 |
+
"single_word": false,
|
133 |
+
"special": false
|
134 |
+
},
|
135 |
+
"102398": {
|
136 |
+
"content": "<|suffix|>",
|
137 |
+
"lstrip": false,
|
138 |
+
"normalized": false,
|
139 |
+
"rstrip": false,
|
140 |
+
"single_word": false,
|
141 |
+
"special": false
|
142 |
+
},
|
143 |
+
"102399": {
|
144 |
+
"content": "<|middle|>",
|
145 |
+
"lstrip": false,
|
146 |
+
"normalized": false,
|
147 |
+
"rstrip": false,
|
148 |
+
"single_word": false,
|
149 |
+
"special": false
|
150 |
+
}
|
151 |
+
},
|
152 |
+
"bos_token": "<s>",
|
153 |
+
"clean_up_tokenization_spaces": false,
|
154 |
+
"cls_token": "<cls>",
|
155 |
+
"do_lower_case": false,
|
156 |
+
"eos_token": "</s>",
|
157 |
+
"extra_ids": 0,
|
158 |
+
"extra_special_tokens": {},
|
159 |
+
"keep_accents": true,
|
160 |
+
"legacy": false,
|
161 |
+
"mask_token": "<mask>",
|
162 |
+
"model_max_length": 1000000000000000019884624838656,
|
163 |
+
"pad_token": "<pad>",
|
164 |
+
"padding_side": "left",
|
165 |
+
"sep_token": "<sep>",
|
166 |
+
"sp_model_kwargs": {},
|
167 |
+
"spaces_between_special_tokens": false,
|
168 |
+
"tokenizer_class": "LlamaTokenizer",
|
169 |
+
"unk_token": "<unk>",
|
170 |
+
"use_default_system_prompt": false
|
171 |
+
}
|