Isaak Carter Augustus
commited on
Commit
•
f2411a9
1
Parent(s):
f697dba
Upload folder using huggingface_hub (#1)
Browse files- a0841a2f082daaf44c629982dd9b4a521113c3c6315955e4a918f8d1520becd6 (59757c069e170876812bad033a2635ebca42a570)
- README.md +36 -0
- config.json +28 -0
- model.safetensors +3 -0
- model.safetensors.index.json +290 -0
- special_tokens_map.json +34 -0
- tokenizer.json +0 -0
- tokenizer_config.json +88 -0
README.md
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- mlx
|
7 |
+
datasets:
|
8 |
+
- Skylion007/openwebtext
|
9 |
+
- JeanKaddour/minipile
|
10 |
+
pipeline_tag: text-generation
|
11 |
+
inference:
|
12 |
+
parameters:
|
13 |
+
do_sample: true
|
14 |
+
temperature: 0.5
|
15 |
+
top_p: 0.5
|
16 |
+
top_k: 50
|
17 |
+
max_new_tokens: 250
|
18 |
+
repetition_penalty: 1.176
|
19 |
+
---
|
20 |
+
|
21 |
+
# mlx-community/TinyMistral-248M-4bits
|
22 |
+
|
23 |
+
The Model [mlx-community/TinyMistral-248M-4bits](https://huggingface.co/mlx-community/TinyMistral-248M-4bits) was converted to MLX format from [Locutusque/TinyMistral-248M](https://huggingface.co/Locutusque/TinyMistral-248M) using mlx-lm version **0.14.0**.
|
24 |
+
|
25 |
+
## Use with mlx
|
26 |
+
|
27 |
+
```bash
|
28 |
+
pip install mlx-lm
|
29 |
+
```
|
30 |
+
|
31 |
+
```python
|
32 |
+
from mlx_lm import load, generate
|
33 |
+
|
34 |
+
model, tokenizer = load("mlx-community/TinyMistral-248M-4bits")
|
35 |
+
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
36 |
+
```
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"MistralForCausalLM"
|
4 |
+
],
|
5 |
+
"bos_token_id": 1,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"hidden_act": "silu",
|
8 |
+
"hidden_size": 1024,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 4096,
|
11 |
+
"max_position_embeddings": 32768,
|
12 |
+
"model_type": "mistral",
|
13 |
+
"num_attention_heads": 32,
|
14 |
+
"num_hidden_layers": 12,
|
15 |
+
"num_key_value_heads": 8,
|
16 |
+
"quantization": {
|
17 |
+
"group_size": 64,
|
18 |
+
"bits": 4
|
19 |
+
},
|
20 |
+
"rms_norm_eps": 1e-06,
|
21 |
+
"rope_theta": 10000.0,
|
22 |
+
"sliding_window": 32,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "float16",
|
25 |
+
"transformers_version": "4.35.0",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 32005
|
28 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ecbf81f6590a0972a76ea341991774a13c1d4f7bc357fa6d3e6b513c2f1d2131
|
3 |
+
size 139581092
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 139550336
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"lm_head.biases": "model.safetensors",
|
7 |
+
"lm_head.scales": "model.safetensors",
|
8 |
+
"lm_head.weight": "model.safetensors",
|
9 |
+
"model.embed_tokens.biases": "model.safetensors",
|
10 |
+
"model.embed_tokens.scales": "model.safetensors",
|
11 |
+
"model.embed_tokens.weight": "model.safetensors",
|
12 |
+
"model.layers.0.input_layernorm.weight": "model.safetensors",
|
13 |
+
"model.layers.0.mlp.down_proj.biases": "model.safetensors",
|
14 |
+
"model.layers.0.mlp.down_proj.scales": "model.safetensors",
|
15 |
+
"model.layers.0.mlp.down_proj.weight": "model.safetensors",
|
16 |
+
"model.layers.0.mlp.gate_proj.biases": "model.safetensors",
|
17 |
+
"model.layers.0.mlp.gate_proj.scales": "model.safetensors",
|
18 |
+
"model.layers.0.mlp.gate_proj.weight": "model.safetensors",
|
19 |
+
"model.layers.0.mlp.up_proj.biases": "model.safetensors",
|
20 |
+
"model.layers.0.mlp.up_proj.scales": "model.safetensors",
|
21 |
+
"model.layers.0.mlp.up_proj.weight": "model.safetensors",
|
22 |
+
"model.layers.0.post_attention_layernorm.weight": "model.safetensors",
|
23 |
+
"model.layers.0.self_attn.k_proj.biases": "model.safetensors",
|
24 |
+
"model.layers.0.self_attn.k_proj.scales": "model.safetensors",
|
25 |
+
"model.layers.0.self_attn.k_proj.weight": "model.safetensors",
|
26 |
+
"model.layers.0.self_attn.o_proj.biases": "model.safetensors",
|
27 |
+
"model.layers.0.self_attn.o_proj.scales": "model.safetensors",
|
28 |
+
"model.layers.0.self_attn.o_proj.weight": "model.safetensors",
|
29 |
+
"model.layers.0.self_attn.q_proj.biases": "model.safetensors",
|
30 |
+
"model.layers.0.self_attn.q_proj.scales": "model.safetensors",
|
31 |
+
"model.layers.0.self_attn.q_proj.weight": "model.safetensors",
|
32 |
+
"model.layers.0.self_attn.v_proj.biases": "model.safetensors",
|
33 |
+
"model.layers.0.self_attn.v_proj.scales": "model.safetensors",
|
34 |
+
"model.layers.0.self_attn.v_proj.weight": "model.safetensors",
|
35 |
+
"model.layers.1.input_layernorm.weight": "model.safetensors",
|
36 |
+
"model.layers.1.mlp.down_proj.biases": "model.safetensors",
|
37 |
+
"model.layers.1.mlp.down_proj.scales": "model.safetensors",
|
38 |
+
"model.layers.1.mlp.down_proj.weight": "model.safetensors",
|
39 |
+
"model.layers.1.mlp.gate_proj.biases": "model.safetensors",
|
40 |
+
"model.layers.1.mlp.gate_proj.scales": "model.safetensors",
|
41 |
+
"model.layers.1.mlp.gate_proj.weight": "model.safetensors",
|
42 |
+
"model.layers.1.mlp.up_proj.biases": "model.safetensors",
|
43 |
+
"model.layers.1.mlp.up_proj.scales": "model.safetensors",
|
44 |
+
"model.layers.1.mlp.up_proj.weight": "model.safetensors",
|
45 |
+
"model.layers.1.post_attention_layernorm.weight": "model.safetensors",
|
46 |
+
"model.layers.1.self_attn.k_proj.biases": "model.safetensors",
|
47 |
+
"model.layers.1.self_attn.k_proj.scales": "model.safetensors",
|
48 |
+
"model.layers.1.self_attn.k_proj.weight": "model.safetensors",
|
49 |
+
"model.layers.1.self_attn.o_proj.biases": "model.safetensors",
|
50 |
+
"model.layers.1.self_attn.o_proj.scales": "model.safetensors",
|
51 |
+
"model.layers.1.self_attn.o_proj.weight": "model.safetensors",
|
52 |
+
"model.layers.1.self_attn.q_proj.biases": "model.safetensors",
|
53 |
+
"model.layers.1.self_attn.q_proj.scales": "model.safetensors",
|
54 |
+
"model.layers.1.self_attn.q_proj.weight": "model.safetensors",
|
55 |
+
"model.layers.1.self_attn.v_proj.biases": "model.safetensors",
|
56 |
+
"model.layers.1.self_attn.v_proj.scales": "model.safetensors",
|
57 |
+
"model.layers.1.self_attn.v_proj.weight": "model.safetensors",
|
58 |
+
"model.layers.10.input_layernorm.weight": "model.safetensors",
|
59 |
+
"model.layers.10.mlp.down_proj.biases": "model.safetensors",
|
60 |
+
"model.layers.10.mlp.down_proj.scales": "model.safetensors",
|
61 |
+
"model.layers.10.mlp.down_proj.weight": "model.safetensors",
|
62 |
+
"model.layers.10.mlp.gate_proj.biases": "model.safetensors",
|
63 |
+
"model.layers.10.mlp.gate_proj.scales": "model.safetensors",
|
64 |
+
"model.layers.10.mlp.gate_proj.weight": "model.safetensors",
|
65 |
+
"model.layers.10.mlp.up_proj.biases": "model.safetensors",
|
66 |
+
"model.layers.10.mlp.up_proj.scales": "model.safetensors",
|
67 |
+
"model.layers.10.mlp.up_proj.weight": "model.safetensors",
|
68 |
+
"model.layers.10.post_attention_layernorm.weight": "model.safetensors",
|
69 |
+
"model.layers.10.self_attn.k_proj.biases": "model.safetensors",
|
70 |
+
"model.layers.10.self_attn.k_proj.scales": "model.safetensors",
|
71 |
+
"model.layers.10.self_attn.k_proj.weight": "model.safetensors",
|
72 |
+
"model.layers.10.self_attn.o_proj.biases": "model.safetensors",
|
73 |
+
"model.layers.10.self_attn.o_proj.scales": "model.safetensors",
|
74 |
+
"model.layers.10.self_attn.o_proj.weight": "model.safetensors",
|
75 |
+
"model.layers.10.self_attn.q_proj.biases": "model.safetensors",
|
76 |
+
"model.layers.10.self_attn.q_proj.scales": "model.safetensors",
|
77 |
+
"model.layers.10.self_attn.q_proj.weight": "model.safetensors",
|
78 |
+
"model.layers.10.self_attn.v_proj.biases": "model.safetensors",
|
79 |
+
"model.layers.10.self_attn.v_proj.scales": "model.safetensors",
|
80 |
+
"model.layers.10.self_attn.v_proj.weight": "model.safetensors",
|
81 |
+
"model.layers.11.input_layernorm.weight": "model.safetensors",
|
82 |
+
"model.layers.11.mlp.down_proj.biases": "model.safetensors",
|
83 |
+
"model.layers.11.mlp.down_proj.scales": "model.safetensors",
|
84 |
+
"model.layers.11.mlp.down_proj.weight": "model.safetensors",
|
85 |
+
"model.layers.11.mlp.gate_proj.biases": "model.safetensors",
|
86 |
+
"model.layers.11.mlp.gate_proj.scales": "model.safetensors",
|
87 |
+
"model.layers.11.mlp.gate_proj.weight": "model.safetensors",
|
88 |
+
"model.layers.11.mlp.up_proj.biases": "model.safetensors",
|
89 |
+
"model.layers.11.mlp.up_proj.scales": "model.safetensors",
|
90 |
+
"model.layers.11.mlp.up_proj.weight": "model.safetensors",
|
91 |
+
"model.layers.11.post_attention_layernorm.weight": "model.safetensors",
|
92 |
+
"model.layers.11.self_attn.k_proj.biases": "model.safetensors",
|
93 |
+
"model.layers.11.self_attn.k_proj.scales": "model.safetensors",
|
94 |
+
"model.layers.11.self_attn.k_proj.weight": "model.safetensors",
|
95 |
+
"model.layers.11.self_attn.o_proj.biases": "model.safetensors",
|
96 |
+
"model.layers.11.self_attn.o_proj.scales": "model.safetensors",
|
97 |
+
"model.layers.11.self_attn.o_proj.weight": "model.safetensors",
|
98 |
+
"model.layers.11.self_attn.q_proj.biases": "model.safetensors",
|
99 |
+
"model.layers.11.self_attn.q_proj.scales": "model.safetensors",
|
100 |
+
"model.layers.11.self_attn.q_proj.weight": "model.safetensors",
|
101 |
+
"model.layers.11.self_attn.v_proj.biases": "model.safetensors",
|
102 |
+
"model.layers.11.self_attn.v_proj.scales": "model.safetensors",
|
103 |
+
"model.layers.11.self_attn.v_proj.weight": "model.safetensors",
|
104 |
+
"model.layers.2.input_layernorm.weight": "model.safetensors",
|
105 |
+
"model.layers.2.mlp.down_proj.biases": "model.safetensors",
|
106 |
+
"model.layers.2.mlp.down_proj.scales": "model.safetensors",
|
107 |
+
"model.layers.2.mlp.down_proj.weight": "model.safetensors",
|
108 |
+
"model.layers.2.mlp.gate_proj.biases": "model.safetensors",
|
109 |
+
"model.layers.2.mlp.gate_proj.scales": "model.safetensors",
|
110 |
+
"model.layers.2.mlp.gate_proj.weight": "model.safetensors",
|
111 |
+
"model.layers.2.mlp.up_proj.biases": "model.safetensors",
|
112 |
+
"model.layers.2.mlp.up_proj.scales": "model.safetensors",
|
113 |
+
"model.layers.2.mlp.up_proj.weight": "model.safetensors",
|
114 |
+
"model.layers.2.post_attention_layernorm.weight": "model.safetensors",
|
115 |
+
"model.layers.2.self_attn.k_proj.biases": "model.safetensors",
|
116 |
+
"model.layers.2.self_attn.k_proj.scales": "model.safetensors",
|
117 |
+
"model.layers.2.self_attn.k_proj.weight": "model.safetensors",
|
118 |
+
"model.layers.2.self_attn.o_proj.biases": "model.safetensors",
|
119 |
+
"model.layers.2.self_attn.o_proj.scales": "model.safetensors",
|
120 |
+
"model.layers.2.self_attn.o_proj.weight": "model.safetensors",
|
121 |
+
"model.layers.2.self_attn.q_proj.biases": "model.safetensors",
|
122 |
+
"model.layers.2.self_attn.q_proj.scales": "model.safetensors",
|
123 |
+
"model.layers.2.self_attn.q_proj.weight": "model.safetensors",
|
124 |
+
"model.layers.2.self_attn.v_proj.biases": "model.safetensors",
|
125 |
+
"model.layers.2.self_attn.v_proj.scales": "model.safetensors",
|
126 |
+
"model.layers.2.self_attn.v_proj.weight": "model.safetensors",
|
127 |
+
"model.layers.3.input_layernorm.weight": "model.safetensors",
|
128 |
+
"model.layers.3.mlp.down_proj.biases": "model.safetensors",
|
129 |
+
"model.layers.3.mlp.down_proj.scales": "model.safetensors",
|
130 |
+
"model.layers.3.mlp.down_proj.weight": "model.safetensors",
|
131 |
+
"model.layers.3.mlp.gate_proj.biases": "model.safetensors",
|
132 |
+
"model.layers.3.mlp.gate_proj.scales": "model.safetensors",
|
133 |
+
"model.layers.3.mlp.gate_proj.weight": "model.safetensors",
|
134 |
+
"model.layers.3.mlp.up_proj.biases": "model.safetensors",
|
135 |
+
"model.layers.3.mlp.up_proj.scales": "model.safetensors",
|
136 |
+
"model.layers.3.mlp.up_proj.weight": "model.safetensors",
|
137 |
+
"model.layers.3.post_attention_layernorm.weight": "model.safetensors",
|
138 |
+
"model.layers.3.self_attn.k_proj.biases": "model.safetensors",
|
139 |
+
"model.layers.3.self_attn.k_proj.scales": "model.safetensors",
|
140 |
+
"model.layers.3.self_attn.k_proj.weight": "model.safetensors",
|
141 |
+
"model.layers.3.self_attn.o_proj.biases": "model.safetensors",
|
142 |
+
"model.layers.3.self_attn.o_proj.scales": "model.safetensors",
|
143 |
+
"model.layers.3.self_attn.o_proj.weight": "model.safetensors",
|
144 |
+
"model.layers.3.self_attn.q_proj.biases": "model.safetensors",
|
145 |
+
"model.layers.3.self_attn.q_proj.scales": "model.safetensors",
|
146 |
+
"model.layers.3.self_attn.q_proj.weight": "model.safetensors",
|
147 |
+
"model.layers.3.self_attn.v_proj.biases": "model.safetensors",
|
148 |
+
"model.layers.3.self_attn.v_proj.scales": "model.safetensors",
|
149 |
+
"model.layers.3.self_attn.v_proj.weight": "model.safetensors",
|
150 |
+
"model.layers.4.input_layernorm.weight": "model.safetensors",
|
151 |
+
"model.layers.4.mlp.down_proj.biases": "model.safetensors",
|
152 |
+
"model.layers.4.mlp.down_proj.scales": "model.safetensors",
|
153 |
+
"model.layers.4.mlp.down_proj.weight": "model.safetensors",
|
154 |
+
"model.layers.4.mlp.gate_proj.biases": "model.safetensors",
|
155 |
+
"model.layers.4.mlp.gate_proj.scales": "model.safetensors",
|
156 |
+
"model.layers.4.mlp.gate_proj.weight": "model.safetensors",
|
157 |
+
"model.layers.4.mlp.up_proj.biases": "model.safetensors",
|
158 |
+
"model.layers.4.mlp.up_proj.scales": "model.safetensors",
|
159 |
+
"model.layers.4.mlp.up_proj.weight": "model.safetensors",
|
160 |
+
"model.layers.4.post_attention_layernorm.weight": "model.safetensors",
|
161 |
+
"model.layers.4.self_attn.k_proj.biases": "model.safetensors",
|
162 |
+
"model.layers.4.self_attn.k_proj.scales": "model.safetensors",
|
163 |
+
"model.layers.4.self_attn.k_proj.weight": "model.safetensors",
|
164 |
+
"model.layers.4.self_attn.o_proj.biases": "model.safetensors",
|
165 |
+
"model.layers.4.self_attn.o_proj.scales": "model.safetensors",
|
166 |
+
"model.layers.4.self_attn.o_proj.weight": "model.safetensors",
|
167 |
+
"model.layers.4.self_attn.q_proj.biases": "model.safetensors",
|
168 |
+
"model.layers.4.self_attn.q_proj.scales": "model.safetensors",
|
169 |
+
"model.layers.4.self_attn.q_proj.weight": "model.safetensors",
|
170 |
+
"model.layers.4.self_attn.v_proj.biases": "model.safetensors",
|
171 |
+
"model.layers.4.self_attn.v_proj.scales": "model.safetensors",
|
172 |
+
"model.layers.4.self_attn.v_proj.weight": "model.safetensors",
|
173 |
+
"model.layers.5.input_layernorm.weight": "model.safetensors",
|
174 |
+
"model.layers.5.mlp.down_proj.biases": "model.safetensors",
|
175 |
+
"model.layers.5.mlp.down_proj.scales": "model.safetensors",
|
176 |
+
"model.layers.5.mlp.down_proj.weight": "model.safetensors",
|
177 |
+
"model.layers.5.mlp.gate_proj.biases": "model.safetensors",
|
178 |
+
"model.layers.5.mlp.gate_proj.scales": "model.safetensors",
|
179 |
+
"model.layers.5.mlp.gate_proj.weight": "model.safetensors",
|
180 |
+
"model.layers.5.mlp.up_proj.biases": "model.safetensors",
|
181 |
+
"model.layers.5.mlp.up_proj.scales": "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.biases": "model.safetensors",
|
185 |
+
"model.layers.5.self_attn.k_proj.scales": "model.safetensors",
|
186 |
+
"model.layers.5.self_attn.k_proj.weight": "model.safetensors",
|
187 |
+
"model.layers.5.self_attn.o_proj.biases": "model.safetensors",
|
188 |
+
"model.layers.5.self_attn.o_proj.scales": "model.safetensors",
|
189 |
+
"model.layers.5.self_attn.o_proj.weight": "model.safetensors",
|
190 |
+
"model.layers.5.self_attn.q_proj.biases": "model.safetensors",
|
191 |
+
"model.layers.5.self_attn.q_proj.scales": "model.safetensors",
|
192 |
+
"model.layers.5.self_attn.q_proj.weight": "model.safetensors",
|
193 |
+
"model.layers.5.self_attn.v_proj.biases": "model.safetensors",
|
194 |
+
"model.layers.5.self_attn.v_proj.scales": "model.safetensors",
|
195 |
+
"model.layers.5.self_attn.v_proj.weight": "model.safetensors",
|
196 |
+
"model.layers.6.input_layernorm.weight": "model.safetensors",
|
197 |
+
"model.layers.6.mlp.down_proj.biases": "model.safetensors",
|
198 |
+
"model.layers.6.mlp.down_proj.scales": "model.safetensors",
|
199 |
+
"model.layers.6.mlp.down_proj.weight": "model.safetensors",
|
200 |
+
"model.layers.6.mlp.gate_proj.biases": "model.safetensors",
|
201 |
+
"model.layers.6.mlp.gate_proj.scales": "model.safetensors",
|
202 |
+
"model.layers.6.mlp.gate_proj.weight": "model.safetensors",
|
203 |
+
"model.layers.6.mlp.up_proj.biases": "model.safetensors",
|
204 |
+
"model.layers.6.mlp.up_proj.scales": "model.safetensors",
|
205 |
+
"model.layers.6.mlp.up_proj.weight": "model.safetensors",
|
206 |
+
"model.layers.6.post_attention_layernorm.weight": "model.safetensors",
|
207 |
+
"model.layers.6.self_attn.k_proj.biases": "model.safetensors",
|
208 |
+
"model.layers.6.self_attn.k_proj.scales": "model.safetensors",
|
209 |
+
"model.layers.6.self_attn.k_proj.weight": "model.safetensors",
|
210 |
+
"model.layers.6.self_attn.o_proj.biases": "model.safetensors",
|
211 |
+
"model.layers.6.self_attn.o_proj.scales": "model.safetensors",
|
212 |
+
"model.layers.6.self_attn.o_proj.weight": "model.safetensors",
|
213 |
+
"model.layers.6.self_attn.q_proj.biases": "model.safetensors",
|
214 |
+
"model.layers.6.self_attn.q_proj.scales": "model.safetensors",
|
215 |
+
"model.layers.6.self_attn.q_proj.weight": "model.safetensors",
|
216 |
+
"model.layers.6.self_attn.v_proj.biases": "model.safetensors",
|
217 |
+
"model.layers.6.self_attn.v_proj.scales": "model.safetensors",
|
218 |
+
"model.layers.6.self_attn.v_proj.weight": "model.safetensors",
|
219 |
+
"model.layers.7.input_layernorm.weight": "model.safetensors",
|
220 |
+
"model.layers.7.mlp.down_proj.biases": "model.safetensors",
|
221 |
+
"model.layers.7.mlp.down_proj.scales": "model.safetensors",
|
222 |
+
"model.layers.7.mlp.down_proj.weight": "model.safetensors",
|
223 |
+
"model.layers.7.mlp.gate_proj.biases": "model.safetensors",
|
224 |
+
"model.layers.7.mlp.gate_proj.scales": "model.safetensors",
|
225 |
+
"model.layers.7.mlp.gate_proj.weight": "model.safetensors",
|
226 |
+
"model.layers.7.mlp.up_proj.biases": "model.safetensors",
|
227 |
+
"model.layers.7.mlp.up_proj.scales": "model.safetensors",
|
228 |
+
"model.layers.7.mlp.up_proj.weight": "model.safetensors",
|
229 |
+
"model.layers.7.post_attention_layernorm.weight": "model.safetensors",
|
230 |
+
"model.layers.7.self_attn.k_proj.biases": "model.safetensors",
|
231 |
+
"model.layers.7.self_attn.k_proj.scales": "model.safetensors",
|
232 |
+
"model.layers.7.self_attn.k_proj.weight": "model.safetensors",
|
233 |
+
"model.layers.7.self_attn.o_proj.biases": "model.safetensors",
|
234 |
+
"model.layers.7.self_attn.o_proj.scales": "model.safetensors",
|
235 |
+
"model.layers.7.self_attn.o_proj.weight": "model.safetensors",
|
236 |
+
"model.layers.7.self_attn.q_proj.biases": "model.safetensors",
|
237 |
+
"model.layers.7.self_attn.q_proj.scales": "model.safetensors",
|
238 |
+
"model.layers.7.self_attn.q_proj.weight": "model.safetensors",
|
239 |
+
"model.layers.7.self_attn.v_proj.biases": "model.safetensors",
|
240 |
+
"model.layers.7.self_attn.v_proj.scales": "model.safetensors",
|
241 |
+
"model.layers.7.self_attn.v_proj.weight": "model.safetensors",
|
242 |
+
"model.layers.8.input_layernorm.weight": "model.safetensors",
|
243 |
+
"model.layers.8.mlp.down_proj.biases": "model.safetensors",
|
244 |
+
"model.layers.8.mlp.down_proj.scales": "model.safetensors",
|
245 |
+
"model.layers.8.mlp.down_proj.weight": "model.safetensors",
|
246 |
+
"model.layers.8.mlp.gate_proj.biases": "model.safetensors",
|
247 |
+
"model.layers.8.mlp.gate_proj.scales": "model.safetensors",
|
248 |
+
"model.layers.8.mlp.gate_proj.weight": "model.safetensors",
|
249 |
+
"model.layers.8.mlp.up_proj.biases": "model.safetensors",
|
250 |
+
"model.layers.8.mlp.up_proj.scales": "model.safetensors",
|
251 |
+
"model.layers.8.mlp.up_proj.weight": "model.safetensors",
|
252 |
+
"model.layers.8.post_attention_layernorm.weight": "model.safetensors",
|
253 |
+
"model.layers.8.self_attn.k_proj.biases": "model.safetensors",
|
254 |
+
"model.layers.8.self_attn.k_proj.scales": "model.safetensors",
|
255 |
+
"model.layers.8.self_attn.k_proj.weight": "model.safetensors",
|
256 |
+
"model.layers.8.self_attn.o_proj.biases": "model.safetensors",
|
257 |
+
"model.layers.8.self_attn.o_proj.scales": "model.safetensors",
|
258 |
+
"model.layers.8.self_attn.o_proj.weight": "model.safetensors",
|
259 |
+
"model.layers.8.self_attn.q_proj.biases": "model.safetensors",
|
260 |
+
"model.layers.8.self_attn.q_proj.scales": "model.safetensors",
|
261 |
+
"model.layers.8.self_attn.q_proj.weight": "model.safetensors",
|
262 |
+
"model.layers.8.self_attn.v_proj.biases": "model.safetensors",
|
263 |
+
"model.layers.8.self_attn.v_proj.scales": "model.safetensors",
|
264 |
+
"model.layers.8.self_attn.v_proj.weight": "model.safetensors",
|
265 |
+
"model.layers.9.input_layernorm.weight": "model.safetensors",
|
266 |
+
"model.layers.9.mlp.down_proj.biases": "model.safetensors",
|
267 |
+
"model.layers.9.mlp.down_proj.scales": "model.safetensors",
|
268 |
+
"model.layers.9.mlp.down_proj.weight": "model.safetensors",
|
269 |
+
"model.layers.9.mlp.gate_proj.biases": "model.safetensors",
|
270 |
+
"model.layers.9.mlp.gate_proj.scales": "model.safetensors",
|
271 |
+
"model.layers.9.mlp.gate_proj.weight": "model.safetensors",
|
272 |
+
"model.layers.9.mlp.up_proj.biases": "model.safetensors",
|
273 |
+
"model.layers.9.mlp.up_proj.scales": "model.safetensors",
|
274 |
+
"model.layers.9.mlp.up_proj.weight": "model.safetensors",
|
275 |
+
"model.layers.9.post_attention_layernorm.weight": "model.safetensors",
|
276 |
+
"model.layers.9.self_attn.k_proj.biases": "model.safetensors",
|
277 |
+
"model.layers.9.self_attn.k_proj.scales": "model.safetensors",
|
278 |
+
"model.layers.9.self_attn.k_proj.weight": "model.safetensors",
|
279 |
+
"model.layers.9.self_attn.o_proj.biases": "model.safetensors",
|
280 |
+
"model.layers.9.self_attn.o_proj.scales": "model.safetensors",
|
281 |
+
"model.layers.9.self_attn.o_proj.weight": "model.safetensors",
|
282 |
+
"model.layers.9.self_attn.q_proj.biases": "model.safetensors",
|
283 |
+
"model.layers.9.self_attn.q_proj.scales": "model.safetensors",
|
284 |
+
"model.layers.9.self_attn.q_proj.weight": "model.safetensors",
|
285 |
+
"model.layers.9.self_attn.v_proj.biases": "model.safetensors",
|
286 |
+
"model.layers.9.self_attn.v_proj.scales": "model.safetensors",
|
287 |
+
"model.layers.9.self_attn.v_proj.weight": "model.safetensors",
|
288 |
+
"model.norm.weight": "model.safetensors"
|
289 |
+
}
|
290 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|ASSISTANT|>",
|
4 |
+
"<|USER|>"
|
5 |
+
],
|
6 |
+
"bos_token": {
|
7 |
+
"content": "<|bos|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"eos_token": {
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"pad_token": {
|
21 |
+
"content": "[PAD]",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false
|
26 |
+
},
|
27 |
+
"unk_token": {
|
28 |
+
"content": "<unk>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false
|
33 |
+
}
|
34 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<|bos|>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"32001": {
|
38 |
+
"content": "<|endoftext|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"32002": {
|
46 |
+
"content": "[PAD]",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"32003": {
|
54 |
+
"content": "<|ASSISTANT|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
},
|
61 |
+
"32004": {
|
62 |
+
"content": "<|USER|>",
|
63 |
+
"lstrip": false,
|
64 |
+
"normalized": false,
|
65 |
+
"rstrip": false,
|
66 |
+
"single_word": false,
|
67 |
+
"special": true
|
68 |
+
}
|
69 |
+
},
|
70 |
+
"additional_special_tokens": [
|
71 |
+
"<|ASSISTANT|>",
|
72 |
+
"<|USER|>"
|
73 |
+
],
|
74 |
+
"bos_token": "<|bos|>",
|
75 |
+
"clean_up_tokenization_spaces": false,
|
76 |
+
"eos_token": "<|endoftext|>",
|
77 |
+
"max_length": 1536,
|
78 |
+
"model_max_length": 1000000000000000019884624838656,
|
79 |
+
"pad_token": "[PAD]",
|
80 |
+
"sp_model_kwargs": {},
|
81 |
+
"spaces_between_special_tokens": false,
|
82 |
+
"stride": 0,
|
83 |
+
"tokenizer_class": "LlamaTokenizer",
|
84 |
+
"truncation_side": "right",
|
85 |
+
"truncation_strategy": "longest_first",
|
86 |
+
"unk_token": "<unk>",
|
87 |
+
"use_default_system_prompt": true
|
88 |
+
}
|