d54104435bc32cf6acebfaf4f6b86b148c29a3a8af86a880023572b85d0cc8d4
Browse files- README.md +43 -0
- added_tokens.json +4 -0
- config.json +29 -0
- model.safetensors.index.json +226 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +188 -0
README.md
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: other
|
4 |
+
license_link: LICENSE
|
5 |
+
base_model: Aratako/sarashina2.1-1b-sft
|
6 |
+
tags:
|
7 |
+
- axolotl
|
8 |
+
- generated_from_trainer
|
9 |
+
- mlx
|
10 |
+
language:
|
11 |
+
- ja
|
12 |
+
model-index:
|
13 |
+
- name: sarashina2.1-1b-sft
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
# mlx-community/sarashina2.1-1b-sft
|
18 |
+
|
19 |
+
The Model [mlx-community/sarashina2.1-1b-sft](https://huggingface.co/mlx-community/sarashina2.1-1b-sft) was
|
20 |
+
converted to MLX format from [Aratako/sarashina2.1-1b-sft](https://huggingface.co/Aratako/sarashina2.1-1b-sft)
|
21 |
+
using mlx-lm version **0.20.2**.
|
22 |
+
|
23 |
+
## Use with mlx
|
24 |
+
|
25 |
+
```bash
|
26 |
+
pip install mlx-lm
|
27 |
+
```
|
28 |
+
|
29 |
+
```python
|
30 |
+
from mlx_lm import load, generate
|
31 |
+
|
32 |
+
model, tokenizer = load("mlx-community/sarashina2.1-1b-sft")
|
33 |
+
|
34 |
+
prompt="hello"
|
35 |
+
|
36 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
37 |
+
messages = [{"role": "user", "content": prompt}]
|
38 |
+
prompt = tokenizer.apply_chat_template(
|
39 |
+
messages, tokenize=False, add_generation_prompt=True
|
40 |
+
)
|
41 |
+
|
42 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
43 |
+
```
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|im_end|>": 102401,
|
3 |
+
"<|im_start|>": 102400
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"eos_token_id": 102401,
|
9 |
+
"head_dim": 112,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 1792,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 6272,
|
14 |
+
"max_position_embeddings": 8192,
|
15 |
+
"mlp_bias": false,
|
16 |
+
"model_type": "llama",
|
17 |
+
"num_attention_heads": 16,
|
18 |
+
"num_hidden_layers": 24,
|
19 |
+
"num_key_value_heads": 8,
|
20 |
+
"pretraining_tp": 1,
|
21 |
+
"rms_norm_eps": 1e-05,
|
22 |
+
"rope_scaling": null,
|
23 |
+
"rope_theta": 500000,
|
24 |
+
"tie_word_embeddings": false,
|
25 |
+
"torch_dtype": "bfloat16",
|
26 |
+
"transformers_version": "4.46.3",
|
27 |
+
"use_cache": false,
|
28 |
+
"vocab_size": 102402
|
29 |
+
}
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 2815092224
|
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": "<|im_end|>",
|
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,188 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"102400": {
|
152 |
+
"content": "<|im_start|>",
|
153 |
+
"lstrip": false,
|
154 |
+
"normalized": false,
|
155 |
+
"rstrip": false,
|
156 |
+
"single_word": false,
|
157 |
+
"special": false
|
158 |
+
},
|
159 |
+
"102401": {
|
160 |
+
"content": "<|im_end|>",
|
161 |
+
"lstrip": false,
|
162 |
+
"normalized": false,
|
163 |
+
"rstrip": false,
|
164 |
+
"single_word": false,
|
165 |
+
"special": true
|
166 |
+
}
|
167 |
+
},
|
168 |
+
"bos_token": "<s>",
|
169 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
170 |
+
"clean_up_tokenization_spaces": false,
|
171 |
+
"cls_token": "<cls>",
|
172 |
+
"do_lower_case": false,
|
173 |
+
"eos_token": "<|im_end|>",
|
174 |
+
"extra_ids": 0,
|
175 |
+
"extra_special_tokens": {},
|
176 |
+
"keep_accents": true,
|
177 |
+
"legacy": false,
|
178 |
+
"mask_token": "<mask>",
|
179 |
+
"model_max_length": 1000000000000000019884624838656,
|
180 |
+
"pad_token": "<pad>",
|
181 |
+
"padding_side": "left",
|
182 |
+
"sep_token": "<sep>",
|
183 |
+
"sp_model_kwargs": {},
|
184 |
+
"spaces_between_special_tokens": false,
|
185 |
+
"tokenizer_class": "LlamaTokenizer",
|
186 |
+
"unk_token": "<unk>",
|
187 |
+
"use_default_system_prompt": false
|
188 |
+
}
|