Upload folder using huggingface_hub
Browse files- README.md +40 -0
- added_tokens.json +5 -0
- config.json +28 -0
- merge_config.yaml +78 -0
- merges.txt +0 -0
- model-00001-of-00001.safetensors +3 -0
- model.safetensors.index.json +1 -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,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- flow-merge
|
5 |
+
- merge
|
6 |
+
|
7 |
+
---
|
8 |
+
# qwen_merge_2
|
9 |
+
|
10 |
+
This model is the result of merge of the following models made with flow-merge:
|
11 |
+
|
12 |
+
- Base model:
|
13 |
+
- Qwen/Qwen1.5-0.5B
|
14 |
+
- Models:
|
15 |
+
- Qwen/Qwen1.5-0.5B-chat
|
16 |
+
- minghaowu/Qwen1.5-0.5B-OpenHermes-2.5
|
17 |
+
|
18 |
+
|
19 |
+
## flow-merge config
|
20 |
+
|
21 |
+
The following configuration was used to merge the models:
|
22 |
+
|
23 |
+
```yaml
|
24 |
+
base_model: Qwen/Qwen1.5-0.5B
|
25 |
+
models:
|
26 |
+
- path_or_id: Qwen/Qwen1.5-0.5B
|
27 |
+
- path_or_id: Qwen/Qwen1.5-0.5B-chat
|
28 |
+
- path_or_id: minghaowu/Qwen1.5-0.5B-OpenHermes-2.5
|
29 |
+
method: addition-task-arithmetic
|
30 |
+
device: !!python/object/apply:flow_merge.lib.constants.DeviceIdentifier
|
31 |
+
- cpu
|
32 |
+
method_global_parameters:
|
33 |
+
scaling_coefficient: 0.7
|
34 |
+
normalize: false
|
35 |
+
directory_settings:
|
36 |
+
cache_dir: null
|
37 |
+
local_dir: ./models
|
38 |
+
output_dir: ./merged_model
|
39 |
+
|
40 |
+
```
|
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,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./merged_model",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151643,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 1024,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 2816,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 21,
|
15 |
+
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 16,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"num_key_value_heads": 16,
|
19 |
+
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_theta": 1000000.0,
|
21 |
+
"sliding_window": 32768,
|
22 |
+
"tie_word_embeddings": true,
|
23 |
+
"torch_dtype": "bfloat16",
|
24 |
+
"transformers_version": "4.38.1",
|
25 |
+
"use_cache": true,
|
26 |
+
"use_sliding_window": false,
|
27 |
+
"vocab_size": 151646
|
28 |
+
}
|
merge_config.yaml
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!!python/object:flow_merge.lib.merge_config.ValidatedInputData
|
2 |
+
__dict__:
|
3 |
+
base_model: Qwen/Qwen1.5-0.5B
|
4 |
+
device: !!python/object/apply:flow_merge.lib.constants.DeviceIdentifier
|
5 |
+
- cpu
|
6 |
+
directory_settings: !!python/object:flow_merge.lib.merge_settings.DirectorySettings
|
7 |
+
__dict__:
|
8 |
+
cache_dir: null
|
9 |
+
local_dir: ./models
|
10 |
+
output_dir: ./merged_model
|
11 |
+
__pydantic_extra__: null
|
12 |
+
__pydantic_fields_set__: !!set
|
13 |
+
cache_dir: null
|
14 |
+
local_dir: null
|
15 |
+
output_dir: null
|
16 |
+
__pydantic_private__: null
|
17 |
+
hf_hub_settings: !!python/object:flow_merge.lib.merge_settings.HfHubSettings
|
18 |
+
__dict__:
|
19 |
+
token: null
|
20 |
+
trust_remote_code: false
|
21 |
+
__pydantic_extra__: null
|
22 |
+
__pydantic_fields_set__: !!set {}
|
23 |
+
__pydantic_private__: null
|
24 |
+
method: !!python/object/apply:flow_merge.lib.constants.MergeMethodIdentifier
|
25 |
+
- addition-task-arithmetic
|
26 |
+
method_global_parameters: !!python/object:flow_merge.lib.merge_settings.MethodGlobalParameters
|
27 |
+
__dict__:
|
28 |
+
normalize: false
|
29 |
+
p: null
|
30 |
+
scaling_coefficient: 0.7
|
31 |
+
t: null
|
32 |
+
top_k: null
|
33 |
+
__pydantic_extra__: null
|
34 |
+
__pydantic_fields_set__: !!set
|
35 |
+
normalize: null
|
36 |
+
scaling_coefficient: null
|
37 |
+
__pydantic_private__: null
|
38 |
+
models:
|
39 |
+
- !!python/object:flow_merge.lib.merge_settings.RawModelDict
|
40 |
+
__dict__:
|
41 |
+
path_or_id: Qwen/Qwen1.5-0.5B
|
42 |
+
weight: null
|
43 |
+
__pydantic_extra__: null
|
44 |
+
__pydantic_fields_set__: !!set
|
45 |
+
path_or_id: null
|
46 |
+
__pydantic_private__: null
|
47 |
+
- !!python/object:flow_merge.lib.merge_settings.RawModelDict
|
48 |
+
__dict__:
|
49 |
+
path_or_id: Qwen/Qwen1.5-0.5B-chat
|
50 |
+
weight: null
|
51 |
+
__pydantic_extra__: null
|
52 |
+
__pydantic_fields_set__: !!set
|
53 |
+
path_or_id: null
|
54 |
+
__pydantic_private__: null
|
55 |
+
- !!python/object:flow_merge.lib.merge_settings.RawModelDict
|
56 |
+
__dict__:
|
57 |
+
path_or_id: minghaowu/Qwen1.5-0.5B-OpenHermes-2.5
|
58 |
+
weight: null
|
59 |
+
__pydantic_extra__: null
|
60 |
+
__pydantic_fields_set__: !!set
|
61 |
+
path_or_id: null
|
62 |
+
__pydantic_private__: null
|
63 |
+
tokenizer_settings: !!python/object:flow_merge.lib.merge_settings.TokenizerSettings
|
64 |
+
__dict__:
|
65 |
+
interpolation_method: linear
|
66 |
+
mode: base
|
67 |
+
__pydantic_extra__: null
|
68 |
+
__pydantic_fields_set__: !!set {}
|
69 |
+
__pydantic_private__: null
|
70 |
+
__pydantic_extra__: null
|
71 |
+
__pydantic_fields_set__: !!set
|
72 |
+
base_model: null
|
73 |
+
device: null
|
74 |
+
directory_settings: null
|
75 |
+
method: null
|
76 |
+
method_global_parameters: null
|
77 |
+
models: null
|
78 |
+
__pydantic_private__: null
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model-00001-of-00001.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1dc0bd0560b7b2984264f8fa1a46d96296ef92d401d5a32a7e6815ee38d35634
|
3 |
+
size 1237985512
|
model.safetensors.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"metadata": {"total_shards": 1, "flow-ai-merger_version": "0.1.0"}, "weight_map": {"model.embed_tokens.weight": "model-00001-of-00001.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.3.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.4.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.5.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.6.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.7.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.8.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.9.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.10.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.11.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.12.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.13.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.14.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.15.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.16.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.17.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.18.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.19.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.20.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.21.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.22.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.23.input_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.q_proj.bias": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.k_proj.bias": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.v_proj.bias": "model-00001-of-00001.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00001-of-00001.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00001-of-00001.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00001-of-00001.safetensors", "model.norm.weight": "model-00001-of-00001.safetensors", "lm_head.weight": "model-00001-of-00001.safetensors"}}
|
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": "<|endoftext|>",
|
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'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "<|endoftext|>",
|
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
|
|