Upload folder using huggingface_hub
Browse files- README.md +27 -0
- added_tokens.json +5 -0
- config.json +82 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- model.safetensors.index.json +298 -0
- special_tokens_map.json +20 -0
- tokenizer.json +0 -0
- tokenizer_config.json +43 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: other
|
5 |
+
tags:
|
6 |
+
- chat
|
7 |
+
- mlx
|
8 |
+
license_name: tongyi-qianwen-research
|
9 |
+
license_link: https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat/blob/main/LICENSE
|
10 |
+
pipeline_tag: text-generation
|
11 |
+
---
|
12 |
+
|
13 |
+
# madroid/Qwen1.5-0.5B
|
14 |
+
This model was converted to MLX format from [`Qwen/Qwen1.5-0.5B-Chat`]().
|
15 |
+
Refer to the [original model card](https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat) for more details on the model.
|
16 |
+
## Use with mlx
|
17 |
+
|
18 |
+
```bash
|
19 |
+
pip install mlx-lm
|
20 |
+
```
|
21 |
+
|
22 |
+
```python
|
23 |
+
from mlx_lm import load, generate
|
24 |
+
|
25 |
+
model, tokenizer = load("madroid/Qwen1.5-0.5B")
|
26 |
+
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
27 |
+
```
|
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|im_end|>": 151645,
|
4 |
+
"<|im_start|>": 151644
|
5 |
+
}
|
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"vocab_size": 151936,
|
3 |
+
"max_position_embeddings": 32768,
|
4 |
+
"hidden_size": 1024,
|
5 |
+
"intermediate_size": 2816,
|
6 |
+
"num_hidden_layers": 24,
|
7 |
+
"num_attention_heads": 16,
|
8 |
+
"use_sliding_window": false,
|
9 |
+
"sliding_window": 32768,
|
10 |
+
"max_window_layers": 21,
|
11 |
+
"num_key_value_heads": 16,
|
12 |
+
"hidden_act": "silu",
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"rms_norm_eps": 1e-06,
|
15 |
+
"use_cache": true,
|
16 |
+
"rope_theta": 1000000.0,
|
17 |
+
"attention_dropout": 0.0,
|
18 |
+
"return_dict": true,
|
19 |
+
"output_hidden_states": false,
|
20 |
+
"output_attentions": false,
|
21 |
+
"torchscript": false,
|
22 |
+
"torch_dtype": "bfloat16",
|
23 |
+
"use_bfloat16": false,
|
24 |
+
"tf_legacy_loss": false,
|
25 |
+
"pruned_heads": {},
|
26 |
+
"tie_word_embeddings": true,
|
27 |
+
"chunk_size_feed_forward": 0,
|
28 |
+
"is_encoder_decoder": false,
|
29 |
+
"is_decoder": false,
|
30 |
+
"cross_attention_hidden_size": null,
|
31 |
+
"add_cross_attention": false,
|
32 |
+
"tie_encoder_decoder": false,
|
33 |
+
"max_length": 20,
|
34 |
+
"min_length": 0,
|
35 |
+
"do_sample": false,
|
36 |
+
"early_stopping": false,
|
37 |
+
"num_beams": 1,
|
38 |
+
"num_beam_groups": 1,
|
39 |
+
"diversity_penalty": 0.0,
|
40 |
+
"temperature": 1.0,
|
41 |
+
"top_k": 50,
|
42 |
+
"top_p": 1.0,
|
43 |
+
"typical_p": 1.0,
|
44 |
+
"repetition_penalty": 1.0,
|
45 |
+
"length_penalty": 1.0,
|
46 |
+
"no_repeat_ngram_size": 0,
|
47 |
+
"encoder_no_repeat_ngram_size": 0,
|
48 |
+
"bad_words_ids": null,
|
49 |
+
"num_return_sequences": 1,
|
50 |
+
"output_scores": false,
|
51 |
+
"return_dict_in_generate": false,
|
52 |
+
"forced_bos_token_id": null,
|
53 |
+
"forced_eos_token_id": null,
|
54 |
+
"remove_invalid_values": false,
|
55 |
+
"exponential_decay_length_penalty": null,
|
56 |
+
"suppress_tokens": null,
|
57 |
+
"begin_suppress_tokens": null,
|
58 |
+
"architectures": [
|
59 |
+
"Qwen2ForCausalLM"
|
60 |
+
],
|
61 |
+
"finetuning_task": null,
|
62 |
+
"id2label": {
|
63 |
+
"0": "LABEL_0",
|
64 |
+
"1": "LABEL_1"
|
65 |
+
},
|
66 |
+
"label2id": {
|
67 |
+
"LABEL_0": 0,
|
68 |
+
"LABEL_1": 1
|
69 |
+
},
|
70 |
+
"tokenizer_class": null,
|
71 |
+
"prefix": null,
|
72 |
+
"bos_token_id": 151643,
|
73 |
+
"pad_token_id": null,
|
74 |
+
"eos_token_id": 151645,
|
75 |
+
"sep_token_id": null,
|
76 |
+
"decoder_start_token_id": null,
|
77 |
+
"task_specific_params": null,
|
78 |
+
"problem_type": null,
|
79 |
+
"_name_or_path": "/Users/madroid/.cache/huggingface/hub/models--Qwen--Qwen1.5-0.5B-Chat/snapshots/6c705984bb8b5591dd4e1a9e66e1a127965fd08d",
|
80 |
+
"transformers_version": "4.38.1",
|
81 |
+
"model_type": "qwen2"
|
82 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27d781bddf9b5bfd4c9a561ef003a3a1495dad4a84d99bae1fd5a74d99c1fd6b
|
3 |
+
size 1239173012
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,298 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 1239140352
|
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.bias": "model.safetensors",
|
14 |
+
"model.layers.0.self_attn.k_proj.weight": "model.safetensors",
|
15 |
+
"model.layers.0.self_attn.o_proj.weight": "model.safetensors",
|
16 |
+
"model.layers.0.self_attn.q_proj.bias": "model.safetensors",
|
17 |
+
"model.layers.0.self_attn.q_proj.weight": "model.safetensors",
|
18 |
+
"model.layers.0.self_attn.v_proj.bias": "model.safetensors",
|
19 |
+
"model.layers.0.self_attn.v_proj.weight": "model.safetensors",
|
20 |
+
"model.layers.1.input_layernorm.weight": "model.safetensors",
|
21 |
+
"model.layers.1.mlp.down_proj.weight": "model.safetensors",
|
22 |
+
"model.layers.1.mlp.gate_proj.weight": "model.safetensors",
|
23 |
+
"model.layers.1.mlp.up_proj.weight": "model.safetensors",
|
24 |
+
"model.layers.1.post_attention_layernorm.weight": "model.safetensors",
|
25 |
+
"model.layers.1.self_attn.k_proj.bias": "model.safetensors",
|
26 |
+
"model.layers.1.self_attn.k_proj.weight": "model.safetensors",
|
27 |
+
"model.layers.1.self_attn.o_proj.weight": "model.safetensors",
|
28 |
+
"model.layers.1.self_attn.q_proj.bias": "model.safetensors",
|
29 |
+
"model.layers.1.self_attn.q_proj.weight": "model.safetensors",
|
30 |
+
"model.layers.1.self_attn.v_proj.bias": "model.safetensors",
|
31 |
+
"model.layers.1.self_attn.v_proj.weight": "model.safetensors",
|
32 |
+
"model.layers.10.input_layernorm.weight": "model.safetensors",
|
33 |
+
"model.layers.10.mlp.down_proj.weight": "model.safetensors",
|
34 |
+
"model.layers.10.mlp.gate_proj.weight": "model.safetensors",
|
35 |
+
"model.layers.10.mlp.up_proj.weight": "model.safetensors",
|
36 |
+
"model.layers.10.post_attention_layernorm.weight": "model.safetensors",
|
37 |
+
"model.layers.10.self_attn.k_proj.bias": "model.safetensors",
|
38 |
+
"model.layers.10.self_attn.k_proj.weight": "model.safetensors",
|
39 |
+
"model.layers.10.self_attn.o_proj.weight": "model.safetensors",
|
40 |
+
"model.layers.10.self_attn.q_proj.bias": "model.safetensors",
|
41 |
+
"model.layers.10.self_attn.q_proj.weight": "model.safetensors",
|
42 |
+
"model.layers.10.self_attn.v_proj.bias": "model.safetensors",
|
43 |
+
"model.layers.10.self_attn.v_proj.weight": "model.safetensors",
|
44 |
+
"model.layers.11.input_layernorm.weight": "model.safetensors",
|
45 |
+
"model.layers.11.mlp.down_proj.weight": "model.safetensors",
|
46 |
+
"model.layers.11.mlp.gate_proj.weight": "model.safetensors",
|
47 |
+
"model.layers.11.mlp.up_proj.weight": "model.safetensors",
|
48 |
+
"model.layers.11.post_attention_layernorm.weight": "model.safetensors",
|
49 |
+
"model.layers.11.self_attn.k_proj.bias": "model.safetensors",
|
50 |
+
"model.layers.11.self_attn.k_proj.weight": "model.safetensors",
|
51 |
+
"model.layers.11.self_attn.o_proj.weight": "model.safetensors",
|
52 |
+
"model.layers.11.self_attn.q_proj.bias": "model.safetensors",
|
53 |
+
"model.layers.11.self_attn.q_proj.weight": "model.safetensors",
|
54 |
+
"model.layers.11.self_attn.v_proj.bias": "model.safetensors",
|
55 |
+
"model.layers.11.self_attn.v_proj.weight": "model.safetensors",
|
56 |
+
"model.layers.12.input_layernorm.weight": "model.safetensors",
|
57 |
+
"model.layers.12.mlp.down_proj.weight": "model.safetensors",
|
58 |
+
"model.layers.12.mlp.gate_proj.weight": "model.safetensors",
|
59 |
+
"model.layers.12.mlp.up_proj.weight": "model.safetensors",
|
60 |
+
"model.layers.12.post_attention_layernorm.weight": "model.safetensors",
|
61 |
+
"model.layers.12.self_attn.k_proj.bias": "model.safetensors",
|
62 |
+
"model.layers.12.self_attn.k_proj.weight": "model.safetensors",
|
63 |
+
"model.layers.12.self_attn.o_proj.weight": "model.safetensors",
|
64 |
+
"model.layers.12.self_attn.q_proj.bias": "model.safetensors",
|
65 |
+
"model.layers.12.self_attn.q_proj.weight": "model.safetensors",
|
66 |
+
"model.layers.12.self_attn.v_proj.bias": "model.safetensors",
|
67 |
+
"model.layers.12.self_attn.v_proj.weight": "model.safetensors",
|
68 |
+
"model.layers.13.input_layernorm.weight": "model.safetensors",
|
69 |
+
"model.layers.13.mlp.down_proj.weight": "model.safetensors",
|
70 |
+
"model.layers.13.mlp.gate_proj.weight": "model.safetensors",
|
71 |
+
"model.layers.13.mlp.up_proj.weight": "model.safetensors",
|
72 |
+
"model.layers.13.post_attention_layernorm.weight": "model.safetensors",
|
73 |
+
"model.layers.13.self_attn.k_proj.bias": "model.safetensors",
|
74 |
+
"model.layers.13.self_attn.k_proj.weight": "model.safetensors",
|
75 |
+
"model.layers.13.self_attn.o_proj.weight": "model.safetensors",
|
76 |
+
"model.layers.13.self_attn.q_proj.bias": "model.safetensors",
|
77 |
+
"model.layers.13.self_attn.q_proj.weight": "model.safetensors",
|
78 |
+
"model.layers.13.self_attn.v_proj.bias": "model.safetensors",
|
79 |
+
"model.layers.13.self_attn.v_proj.weight": "model.safetensors",
|
80 |
+
"model.layers.14.input_layernorm.weight": "model.safetensors",
|
81 |
+
"model.layers.14.mlp.down_proj.weight": "model.safetensors",
|
82 |
+
"model.layers.14.mlp.gate_proj.weight": "model.safetensors",
|
83 |
+
"model.layers.14.mlp.up_proj.weight": "model.safetensors",
|
84 |
+
"model.layers.14.post_attention_layernorm.weight": "model.safetensors",
|
85 |
+
"model.layers.14.self_attn.k_proj.bias": "model.safetensors",
|
86 |
+
"model.layers.14.self_attn.k_proj.weight": "model.safetensors",
|
87 |
+
"model.layers.14.self_attn.o_proj.weight": "model.safetensors",
|
88 |
+
"model.layers.14.self_attn.q_proj.bias": "model.safetensors",
|
89 |
+
"model.layers.14.self_attn.q_proj.weight": "model.safetensors",
|
90 |
+
"model.layers.14.self_attn.v_proj.bias": "model.safetensors",
|
91 |
+
"model.layers.14.self_attn.v_proj.weight": "model.safetensors",
|
92 |
+
"model.layers.15.input_layernorm.weight": "model.safetensors",
|
93 |
+
"model.layers.15.mlp.down_proj.weight": "model.safetensors",
|
94 |
+
"model.layers.15.mlp.gate_proj.weight": "model.safetensors",
|
95 |
+
"model.layers.15.mlp.up_proj.weight": "model.safetensors",
|
96 |
+
"model.layers.15.post_attention_layernorm.weight": "model.safetensors",
|
97 |
+
"model.layers.15.self_attn.k_proj.bias": "model.safetensors",
|
98 |
+
"model.layers.15.self_attn.k_proj.weight": "model.safetensors",
|
99 |
+
"model.layers.15.self_attn.o_proj.weight": "model.safetensors",
|
100 |
+
"model.layers.15.self_attn.q_proj.bias": "model.safetensors",
|
101 |
+
"model.layers.15.self_attn.q_proj.weight": "model.safetensors",
|
102 |
+
"model.layers.15.self_attn.v_proj.bias": "model.safetensors",
|
103 |
+
"model.layers.15.self_attn.v_proj.weight": "model.safetensors",
|
104 |
+
"model.layers.16.input_layernorm.weight": "model.safetensors",
|
105 |
+
"model.layers.16.mlp.down_proj.weight": "model.safetensors",
|
106 |
+
"model.layers.16.mlp.gate_proj.weight": "model.safetensors",
|
107 |
+
"model.layers.16.mlp.up_proj.weight": "model.safetensors",
|
108 |
+
"model.layers.16.post_attention_layernorm.weight": "model.safetensors",
|
109 |
+
"model.layers.16.self_attn.k_proj.bias": "model.safetensors",
|
110 |
+
"model.layers.16.self_attn.k_proj.weight": "model.safetensors",
|
111 |
+
"model.layers.16.self_attn.o_proj.weight": "model.safetensors",
|
112 |
+
"model.layers.16.self_attn.q_proj.bias": "model.safetensors",
|
113 |
+
"model.layers.16.self_attn.q_proj.weight": "model.safetensors",
|
114 |
+
"model.layers.16.self_attn.v_proj.bias": "model.safetensors",
|
115 |
+
"model.layers.16.self_attn.v_proj.weight": "model.safetensors",
|
116 |
+
"model.layers.17.input_layernorm.weight": "model.safetensors",
|
117 |
+
"model.layers.17.mlp.down_proj.weight": "model.safetensors",
|
118 |
+
"model.layers.17.mlp.gate_proj.weight": "model.safetensors",
|
119 |
+
"model.layers.17.mlp.up_proj.weight": "model.safetensors",
|
120 |
+
"model.layers.17.post_attention_layernorm.weight": "model.safetensors",
|
121 |
+
"model.layers.17.self_attn.k_proj.bias": "model.safetensors",
|
122 |
+
"model.layers.17.self_attn.k_proj.weight": "model.safetensors",
|
123 |
+
"model.layers.17.self_attn.o_proj.weight": "model.safetensors",
|
124 |
+
"model.layers.17.self_attn.q_proj.bias": "model.safetensors",
|
125 |
+
"model.layers.17.self_attn.q_proj.weight": "model.safetensors",
|
126 |
+
"model.layers.17.self_attn.v_proj.bias": "model.safetensors",
|
127 |
+
"model.layers.17.self_attn.v_proj.weight": "model.safetensors",
|
128 |
+
"model.layers.18.input_layernorm.weight": "model.safetensors",
|
129 |
+
"model.layers.18.mlp.down_proj.weight": "model.safetensors",
|
130 |
+
"model.layers.18.mlp.gate_proj.weight": "model.safetensors",
|
131 |
+
"model.layers.18.mlp.up_proj.weight": "model.safetensors",
|
132 |
+
"model.layers.18.post_attention_layernorm.weight": "model.safetensors",
|
133 |
+
"model.layers.18.self_attn.k_proj.bias": "model.safetensors",
|
134 |
+
"model.layers.18.self_attn.k_proj.weight": "model.safetensors",
|
135 |
+
"model.layers.18.self_attn.o_proj.weight": "model.safetensors",
|
136 |
+
"model.layers.18.self_attn.q_proj.bias": "model.safetensors",
|
137 |
+
"model.layers.18.self_attn.q_proj.weight": "model.safetensors",
|
138 |
+
"model.layers.18.self_attn.v_proj.bias": "model.safetensors",
|
139 |
+
"model.layers.18.self_attn.v_proj.weight": "model.safetensors",
|
140 |
+
"model.layers.19.input_layernorm.weight": "model.safetensors",
|
141 |
+
"model.layers.19.mlp.down_proj.weight": "model.safetensors",
|
142 |
+
"model.layers.19.mlp.gate_proj.weight": "model.safetensors",
|
143 |
+
"model.layers.19.mlp.up_proj.weight": "model.safetensors",
|
144 |
+
"model.layers.19.post_attention_layernorm.weight": "model.safetensors",
|
145 |
+
"model.layers.19.self_attn.k_proj.bias": "model.safetensors",
|
146 |
+
"model.layers.19.self_attn.k_proj.weight": "model.safetensors",
|
147 |
+
"model.layers.19.self_attn.o_proj.weight": "model.safetensors",
|
148 |
+
"model.layers.19.self_attn.q_proj.bias": "model.safetensors",
|
149 |
+
"model.layers.19.self_attn.q_proj.weight": "model.safetensors",
|
150 |
+
"model.layers.19.self_attn.v_proj.bias": "model.safetensors",
|
151 |
+
"model.layers.19.self_attn.v_proj.weight": "model.safetensors",
|
152 |
+
"model.layers.2.input_layernorm.weight": "model.safetensors",
|
153 |
+
"model.layers.2.mlp.down_proj.weight": "model.safetensors",
|
154 |
+
"model.layers.2.mlp.gate_proj.weight": "model.safetensors",
|
155 |
+
"model.layers.2.mlp.up_proj.weight": "model.safetensors",
|
156 |
+
"model.layers.2.post_attention_layernorm.weight": "model.safetensors",
|
157 |
+
"model.layers.2.self_attn.k_proj.bias": "model.safetensors",
|
158 |
+
"model.layers.2.self_attn.k_proj.weight": "model.safetensors",
|
159 |
+
"model.layers.2.self_attn.o_proj.weight": "model.safetensors",
|
160 |
+
"model.layers.2.self_attn.q_proj.bias": "model.safetensors",
|
161 |
+
"model.layers.2.self_attn.q_proj.weight": "model.safetensors",
|
162 |
+
"model.layers.2.self_attn.v_proj.bias": "model.safetensors",
|
163 |
+
"model.layers.2.self_attn.v_proj.weight": "model.safetensors",
|
164 |
+
"model.layers.20.input_layernorm.weight": "model.safetensors",
|
165 |
+
"model.layers.20.mlp.down_proj.weight": "model.safetensors",
|
166 |
+
"model.layers.20.mlp.gate_proj.weight": "model.safetensors",
|
167 |
+
"model.layers.20.mlp.up_proj.weight": "model.safetensors",
|
168 |
+
"model.layers.20.post_attention_layernorm.weight": "model.safetensors",
|
169 |
+
"model.layers.20.self_attn.k_proj.bias": "model.safetensors",
|
170 |
+
"model.layers.20.self_attn.k_proj.weight": "model.safetensors",
|
171 |
+
"model.layers.20.self_attn.o_proj.weight": "model.safetensors",
|
172 |
+
"model.layers.20.self_attn.q_proj.bias": "model.safetensors",
|
173 |
+
"model.layers.20.self_attn.q_proj.weight": "model.safetensors",
|
174 |
+
"model.layers.20.self_attn.v_proj.bias": "model.safetensors",
|
175 |
+
"model.layers.20.self_attn.v_proj.weight": "model.safetensors",
|
176 |
+
"model.layers.21.input_layernorm.weight": "model.safetensors",
|
177 |
+
"model.layers.21.mlp.down_proj.weight": "model.safetensors",
|
178 |
+
"model.layers.21.mlp.gate_proj.weight": "model.safetensors",
|
179 |
+
"model.layers.21.mlp.up_proj.weight": "model.safetensors",
|
180 |
+
"model.layers.21.post_attention_layernorm.weight": "model.safetensors",
|
181 |
+
"model.layers.21.self_attn.k_proj.bias": "model.safetensors",
|
182 |
+
"model.layers.21.self_attn.k_proj.weight": "model.safetensors",
|
183 |
+
"model.layers.21.self_attn.o_proj.weight": "model.safetensors",
|
184 |
+
"model.layers.21.self_attn.q_proj.bias": "model.safetensors",
|
185 |
+
"model.layers.21.self_attn.q_proj.weight": "model.safetensors",
|
186 |
+
"model.layers.21.self_attn.v_proj.bias": "model.safetensors",
|
187 |
+
"model.layers.21.self_attn.v_proj.weight": "model.safetensors",
|
188 |
+
"model.layers.22.input_layernorm.weight": "model.safetensors",
|
189 |
+
"model.layers.22.mlp.down_proj.weight": "model.safetensors",
|
190 |
+
"model.layers.22.mlp.gate_proj.weight": "model.safetensors",
|
191 |
+
"model.layers.22.mlp.up_proj.weight": "model.safetensors",
|
192 |
+
"model.layers.22.post_attention_layernorm.weight": "model.safetensors",
|
193 |
+
"model.layers.22.self_attn.k_proj.bias": "model.safetensors",
|
194 |
+
"model.layers.22.self_attn.k_proj.weight": "model.safetensors",
|
195 |
+
"model.layers.22.self_attn.o_proj.weight": "model.safetensors",
|
196 |
+
"model.layers.22.self_attn.q_proj.bias": "model.safetensors",
|
197 |
+
"model.layers.22.self_attn.q_proj.weight": "model.safetensors",
|
198 |
+
"model.layers.22.self_attn.v_proj.bias": "model.safetensors",
|
199 |
+
"model.layers.22.self_attn.v_proj.weight": "model.safetensors",
|
200 |
+
"model.layers.23.input_layernorm.weight": "model.safetensors",
|
201 |
+
"model.layers.23.mlp.down_proj.weight": "model.safetensors",
|
202 |
+
"model.layers.23.mlp.gate_proj.weight": "model.safetensors",
|
203 |
+
"model.layers.23.mlp.up_proj.weight": "model.safetensors",
|
204 |
+
"model.layers.23.post_attention_layernorm.weight": "model.safetensors",
|
205 |
+
"model.layers.23.self_attn.k_proj.bias": "model.safetensors",
|
206 |
+
"model.layers.23.self_attn.k_proj.weight": "model.safetensors",
|
207 |
+
"model.layers.23.self_attn.o_proj.weight": "model.safetensors",
|
208 |
+
"model.layers.23.self_attn.q_proj.bias": "model.safetensors",
|
209 |
+
"model.layers.23.self_attn.q_proj.weight": "model.safetensors",
|
210 |
+
"model.layers.23.self_attn.v_proj.bias": "model.safetensors",
|
211 |
+
"model.layers.23.self_attn.v_proj.weight": "model.safetensors",
|
212 |
+
"model.layers.3.input_layernorm.weight": "model.safetensors",
|
213 |
+
"model.layers.3.mlp.down_proj.weight": "model.safetensors",
|
214 |
+
"model.layers.3.mlp.gate_proj.weight": "model.safetensors",
|
215 |
+
"model.layers.3.mlp.up_proj.weight": "model.safetensors",
|
216 |
+
"model.layers.3.post_attention_layernorm.weight": "model.safetensors",
|
217 |
+
"model.layers.3.self_attn.k_proj.bias": "model.safetensors",
|
218 |
+
"model.layers.3.self_attn.k_proj.weight": "model.safetensors",
|
219 |
+
"model.layers.3.self_attn.o_proj.weight": "model.safetensors",
|
220 |
+
"model.layers.3.self_attn.q_proj.bias": "model.safetensors",
|
221 |
+
"model.layers.3.self_attn.q_proj.weight": "model.safetensors",
|
222 |
+
"model.layers.3.self_attn.v_proj.bias": "model.safetensors",
|
223 |
+
"model.layers.3.self_attn.v_proj.weight": "model.safetensors",
|
224 |
+
"model.layers.4.input_layernorm.weight": "model.safetensors",
|
225 |
+
"model.layers.4.mlp.down_proj.weight": "model.safetensors",
|
226 |
+
"model.layers.4.mlp.gate_proj.weight": "model.safetensors",
|
227 |
+
"model.layers.4.mlp.up_proj.weight": "model.safetensors",
|
228 |
+
"model.layers.4.post_attention_layernorm.weight": "model.safetensors",
|
229 |
+
"model.layers.4.self_attn.k_proj.bias": "model.safetensors",
|
230 |
+
"model.layers.4.self_attn.k_proj.weight": "model.safetensors",
|
231 |
+
"model.layers.4.self_attn.o_proj.weight": "model.safetensors",
|
232 |
+
"model.layers.4.self_attn.q_proj.bias": "model.safetensors",
|
233 |
+
"model.layers.4.self_attn.q_proj.weight": "model.safetensors",
|
234 |
+
"model.layers.4.self_attn.v_proj.bias": "model.safetensors",
|
235 |
+
"model.layers.4.self_attn.v_proj.weight": "model.safetensors",
|
236 |
+
"model.layers.5.input_layernorm.weight": "model.safetensors",
|
237 |
+
"model.layers.5.mlp.down_proj.weight": "model.safetensors",
|
238 |
+
"model.layers.5.mlp.gate_proj.weight": "model.safetensors",
|
239 |
+
"model.layers.5.mlp.up_proj.weight": "model.safetensors",
|
240 |
+
"model.layers.5.post_attention_layernorm.weight": "model.safetensors",
|
241 |
+
"model.layers.5.self_attn.k_proj.bias": "model.safetensors",
|
242 |
+
"model.layers.5.self_attn.k_proj.weight": "model.safetensors",
|
243 |
+
"model.layers.5.self_attn.o_proj.weight": "model.safetensors",
|
244 |
+
"model.layers.5.self_attn.q_proj.bias": "model.safetensors",
|
245 |
+
"model.layers.5.self_attn.q_proj.weight": "model.safetensors",
|
246 |
+
"model.layers.5.self_attn.v_proj.bias": "model.safetensors",
|
247 |
+
"model.layers.5.self_attn.v_proj.weight": "model.safetensors",
|
248 |
+
"model.layers.6.input_layernorm.weight": "model.safetensors",
|
249 |
+
"model.layers.6.mlp.down_proj.weight": "model.safetensors",
|
250 |
+
"model.layers.6.mlp.gate_proj.weight": "model.safetensors",
|
251 |
+
"model.layers.6.mlp.up_proj.weight": "model.safetensors",
|
252 |
+
"model.layers.6.post_attention_layernorm.weight": "model.safetensors",
|
253 |
+
"model.layers.6.self_attn.k_proj.bias": "model.safetensors",
|
254 |
+
"model.layers.6.self_attn.k_proj.weight": "model.safetensors",
|
255 |
+
"model.layers.6.self_attn.o_proj.weight": "model.safetensors",
|
256 |
+
"model.layers.6.self_attn.q_proj.bias": "model.safetensors",
|
257 |
+
"model.layers.6.self_attn.q_proj.weight": "model.safetensors",
|
258 |
+
"model.layers.6.self_attn.v_proj.bias": "model.safetensors",
|
259 |
+
"model.layers.6.self_attn.v_proj.weight": "model.safetensors",
|
260 |
+
"model.layers.7.input_layernorm.weight": "model.safetensors",
|
261 |
+
"model.layers.7.mlp.down_proj.weight": "model.safetensors",
|
262 |
+
"model.layers.7.mlp.gate_proj.weight": "model.safetensors",
|
263 |
+
"model.layers.7.mlp.up_proj.weight": "model.safetensors",
|
264 |
+
"model.layers.7.post_attention_layernorm.weight": "model.safetensors",
|
265 |
+
"model.layers.7.self_attn.k_proj.bias": "model.safetensors",
|
266 |
+
"model.layers.7.self_attn.k_proj.weight": "model.safetensors",
|
267 |
+
"model.layers.7.self_attn.o_proj.weight": "model.safetensors",
|
268 |
+
"model.layers.7.self_attn.q_proj.bias": "model.safetensors",
|
269 |
+
"model.layers.7.self_attn.q_proj.weight": "model.safetensors",
|
270 |
+
"model.layers.7.self_attn.v_proj.bias": "model.safetensors",
|
271 |
+
"model.layers.7.self_attn.v_proj.weight": "model.safetensors",
|
272 |
+
"model.layers.8.input_layernorm.weight": "model.safetensors",
|
273 |
+
"model.layers.8.mlp.down_proj.weight": "model.safetensors",
|
274 |
+
"model.layers.8.mlp.gate_proj.weight": "model.safetensors",
|
275 |
+
"model.layers.8.mlp.up_proj.weight": "model.safetensors",
|
276 |
+
"model.layers.8.post_attention_layernorm.weight": "model.safetensors",
|
277 |
+
"model.layers.8.self_attn.k_proj.bias": "model.safetensors",
|
278 |
+
"model.layers.8.self_attn.k_proj.weight": "model.safetensors",
|
279 |
+
"model.layers.8.self_attn.o_proj.weight": "model.safetensors",
|
280 |
+
"model.layers.8.self_attn.q_proj.bias": "model.safetensors",
|
281 |
+
"model.layers.8.self_attn.q_proj.weight": "model.safetensors",
|
282 |
+
"model.layers.8.self_attn.v_proj.bias": "model.safetensors",
|
283 |
+
"model.layers.8.self_attn.v_proj.weight": "model.safetensors",
|
284 |
+
"model.layers.9.input_layernorm.weight": "model.safetensors",
|
285 |
+
"model.layers.9.mlp.down_proj.weight": "model.safetensors",
|
286 |
+
"model.layers.9.mlp.gate_proj.weight": "model.safetensors",
|
287 |
+
"model.layers.9.mlp.up_proj.weight": "model.safetensors",
|
288 |
+
"model.layers.9.post_attention_layernorm.weight": "model.safetensors",
|
289 |
+
"model.layers.9.self_attn.k_proj.bias": "model.safetensors",
|
290 |
+
"model.layers.9.self_attn.k_proj.weight": "model.safetensors",
|
291 |
+
"model.layers.9.self_attn.o_proj.weight": "model.safetensors",
|
292 |
+
"model.layers.9.self_attn.q_proj.bias": "model.safetensors",
|
293 |
+
"model.layers.9.self_attn.q_proj.weight": "model.safetensors",
|
294 |
+
"model.layers.9.self_attn.v_proj.bias": "model.safetensors",
|
295 |
+
"model.layers.9.self_attn.v_proj.weight": "model.safetensors",
|
296 |
+
"model.norm.weight": "model.safetensors"
|
297 |
+
}
|
298 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"eos_token": {
|
7 |
+
"content": "<|im_end|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"pad_token": {
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
}
|
20 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [
|
30 |
+
"<|im_start|>",
|
31 |
+
"<|im_end|>"
|
32 |
+
],
|
33 |
+
"bos_token": null,
|
34 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content']}}{% if (loop.last and add_generation_prompt) or not loop.last %}{{ '<|im_end|>' + '\n'}}{% endif %}{% endfor %}{% if add_generation_prompt and messages[-1]['role'] != 'assistant' %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "<|im_end|>",
|
37 |
+
"errors": "replace",
|
38 |
+
"model_max_length": 32768,
|
39 |
+
"pad_token": "<|endoftext|>",
|
40 |
+
"split_special_tokens": false,
|
41 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
42 |
+
"unk_token": null
|
43 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|