Upload folder using huggingface_hub
Browse files- README.md +38 -3
- cl100k_base.tiktoken +0 -0
- config.json +49 -0
- mergekit_config.yml +9 -0
- model-00001-of-00003.safetensors +3 -0
- model-00002-of-00003.safetensors +3 -0
- model-00003-of-00003.safetensors +3 -0
- model.safetensors.index.json +1 -0
- special_tokens_map.json +4 -0
- tokenizer_config.json +19 -0
README.md
CHANGED
@@ -1,3 +1,38 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model:
|
3 |
+
- microsoft/Phi-3-small-8k-instruct
|
4 |
+
library_name: transformers
|
5 |
+
tags:
|
6 |
+
- mergekit
|
7 |
+
- merge
|
8 |
+
|
9 |
+
---
|
10 |
+
# merged
|
11 |
+
|
12 |
+
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
13 |
+
|
14 |
+
## Merge Details
|
15 |
+
### Merge Method
|
16 |
+
|
17 |
+
This model was merged using the passthrough merge method.
|
18 |
+
|
19 |
+
### Models Merged
|
20 |
+
|
21 |
+
The following models were included in the merge:
|
22 |
+
* [microsoft/Phi-3-small-8k-instruct](https://huggingface.co/microsoft/Phi-3-small-8k-instruct)
|
23 |
+
|
24 |
+
### Configuration
|
25 |
+
|
26 |
+
The following YAML configuration was used to produce this model:
|
27 |
+
|
28 |
+
```yaml
|
29 |
+
dtype: bfloat16
|
30 |
+
merge_method: passthrough
|
31 |
+
slices:
|
32 |
+
- sources:
|
33 |
+
- layer_range: [0, 25]
|
34 |
+
model: microsoft/Phi-3-small-8k-instruct
|
35 |
+
- sources:
|
36 |
+
- layer_range: [31, 32]
|
37 |
+
model: microsoft/Phi-3-small-8k-instruct
|
38 |
+
```
|
cl100k_base.tiktoken
ADDED
The diff for this file is too large to render.
See raw diff
|
|
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/Phi-3-small-8k-instruct",
|
3 |
+
"architectures": [
|
4 |
+
"Phi3SmallForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout_prob": 0.0,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "microsoft/Phi-3-small-8k-instruct--configuration_phi3_small.Phi3SmallConfig",
|
10 |
+
"AutoModelForCausalLM": "microsoft/Phi-3-small-8k-instruct--modeling_phi3_small.Phi3SmallForCausalLM",
|
11 |
+
"AutoTokenizer": "microsoft/Phi-3-small-8k-instruct--tokenization_phi3_small.Phi3SmallTokenizer"
|
12 |
+
},
|
13 |
+
"blocksparse_block_size": 64,
|
14 |
+
"blocksparse_homo_head_pattern": false,
|
15 |
+
"blocksparse_num_local_blocks": 16,
|
16 |
+
"blocksparse_triton_kernel_block_size": 64,
|
17 |
+
"blocksparse_vert_stride": 8,
|
18 |
+
"bos_token_id": 100257,
|
19 |
+
"dense_attention_every_n_layers": 2,
|
20 |
+
"embedding_dropout_prob": 0.1,
|
21 |
+
"eos_token_id": 100257,
|
22 |
+
"ff_dim_multiplier": null,
|
23 |
+
"ff_intermediate_size": 14336,
|
24 |
+
"ffn_dropout_prob": 0.1,
|
25 |
+
"gegelu_limit": 20.0,
|
26 |
+
"gegelu_pad_to_256": true,
|
27 |
+
"hidden_act": "gegelu",
|
28 |
+
"hidden_size": 4096,
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"layer_norm_epsilon": 1e-05,
|
31 |
+
"max_position_embeddings": 8192,
|
32 |
+
"model_type": "phi3small",
|
33 |
+
"mup_attn_multiplier": 1.0,
|
34 |
+
"mup_embedding_multiplier": 10.0,
|
35 |
+
"mup_use_scaling": true,
|
36 |
+
"mup_width_multiplier": 8.0,
|
37 |
+
"num_attention_heads": 32,
|
38 |
+
"num_hidden_layers": 26,
|
39 |
+
"num_key_value_heads": 8,
|
40 |
+
"pad_sequence_to_multiple_of_64": true,
|
41 |
+
"reorder_and_upcast_attn": false,
|
42 |
+
"rope_embedding_base": 1000000,
|
43 |
+
"rope_position_scale": 1.0,
|
44 |
+
"rope_scaling": null,
|
45 |
+
"torch_dtype": "bfloat16",
|
46 |
+
"transformers_version": "4.41.1",
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 100352
|
49 |
+
}
|
mergekit_config.yml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
dtype: bfloat16
|
2 |
+
merge_method: passthrough
|
3 |
+
slices:
|
4 |
+
- sources:
|
5 |
+
- layer_range: [0, 25]
|
6 |
+
model: microsoft/Phi-3-small-8k-instruct
|
7 |
+
- sources:
|
8 |
+
- layer_range: [31, 32]
|
9 |
+
model: microsoft/Phi-3-small-8k-instruct
|
model-00001-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3feeaf4e3904303b70cf0728e66fd2eec7fb75e0c711aebfb5a14c04ba1c715f
|
3 |
+
size 4866575488
|
model-00002-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7395440d72a8f971caef7cbc5da966d215f0f1bb5e3351945803ba262e9f6b8
|
3 |
+
size 4799608240
|
model-00003-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27377db6e4bbcfe687ee35ebf1dd1dc7df2f0ec2ef3ebb199c5a80c86258b83a
|
3 |
+
size 2500445080
|
model.safetensors.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"metadata": {"mergekit_version": "0.0.4.2", "total_size": 12166589696}, "weight_map": {"model.embed_tokens.weight": "model-00001-of-00003.safetensors", "model.final_layernorm.bias": "model-00001-of-00003.safetensors", "model.final_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.0.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.0.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.0.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.0.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.0.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.0.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.0.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.0.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.0.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.1.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.1.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.1.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.1.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.1.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.1.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.1.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.1.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.1.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.10.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.10.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.10.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.10.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.10.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.10.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.10.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.10.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.10.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.10.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.11.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.11.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.11.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.11.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.11.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.12.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.12.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.12.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.12.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.12.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.13.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.13.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.13.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.13.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.13.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.14.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.14.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.14.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.14.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.14.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.15.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.15.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.15.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.15.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.15.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.16.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.16.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.16.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00001-of-00003.safetensors", "model.layers.16.post_attention_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.dense.bias": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.dense.weight": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.query_key_value.bias": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.query_key_value.weight": "model-00001-of-00003.safetensors", "model.layers.16.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors", "model.layers.17.input_layernorm.bias": "model-00001-of-00003.safetensors", "model.layers.17.input_layernorm.weight": "model-00001-of-00003.safetensors", "model.layers.17.mlp.down_proj.bias": "model-00001-of-00003.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00001-of-00003.safetensors", "model.layers.17.mlp.up_proj.bias": "model-00001-of-00003.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.17.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.17.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.17.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.17.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.17.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.17.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.18.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.18.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.18.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.18.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.18.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.18.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.18.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.18.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.18.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.18.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.19.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.19.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.19.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.19.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.19.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.19.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.19.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.19.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.19.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.19.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.2.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.2.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.2.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.2.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.2.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.20.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.20.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.20.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.20.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.20.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.20.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.20.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.20.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.20.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.20.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.21.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.21.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.21.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.21.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.21.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.21.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.21.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.21.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.21.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.21.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.22.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.22.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.22.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.22.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.22.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.22.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.22.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.22.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.22.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.22.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.23.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.23.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.23.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.23.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.23.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.23.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.23.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.23.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.23.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.23.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.24.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.24.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.24.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.24.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.24.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.24.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.24.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.24.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.24.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.24.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.3.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.3.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.3.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.3.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.3.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.25.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.25.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.25.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.25.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00002-of-00003.safetensors", "model.layers.25.post_attention_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.25.self_attn.dense.bias": "model-00002-of-00003.safetensors", "model.layers.25.self_attn.dense.weight": "model-00002-of-00003.safetensors", "model.layers.25.self_attn.query_key_value.bias": "model-00002-of-00003.safetensors", "model.layers.25.self_attn.query_key_value.weight": "model-00002-of-00003.safetensors", "model.layers.25.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors", "model.layers.4.input_layernorm.bias": "model-00002-of-00003.safetensors", "model.layers.4.input_layernorm.weight": "model-00002-of-00003.safetensors", "model.layers.4.mlp.down_proj.bias": "model-00002-of-00003.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00002-of-00003.safetensors", "model.layers.4.mlp.up_proj.bias": "model-00002-of-00003.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00003-of-00003.safetensors", "model.layers.4.post_attention_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.4.self_attn.dense.bias": "model-00003-of-00003.safetensors", "model.layers.4.self_attn.dense.weight": "model-00003-of-00003.safetensors", "model.layers.4.self_attn.query_key_value.bias": "model-00003-of-00003.safetensors", "model.layers.4.self_attn.query_key_value.weight": "model-00003-of-00003.safetensors", "model.layers.4.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors", "model.layers.5.input_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.5.input_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.5.mlp.down_proj.bias": "model-00003-of-00003.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00003-of-00003.safetensors", "model.layers.5.mlp.up_proj.bias": "model-00003-of-00003.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00003-of-00003.safetensors", "model.layers.5.post_attention_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.5.self_attn.dense.bias": "model-00003-of-00003.safetensors", "model.layers.5.self_attn.dense.weight": "model-00003-of-00003.safetensors", "model.layers.5.self_attn.query_key_value.bias": "model-00003-of-00003.safetensors", "model.layers.5.self_attn.query_key_value.weight": "model-00003-of-00003.safetensors", "model.layers.5.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors", "model.layers.6.input_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.6.input_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.6.mlp.down_proj.bias": "model-00003-of-00003.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00003-of-00003.safetensors", "model.layers.6.mlp.up_proj.bias": "model-00003-of-00003.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00003-of-00003.safetensors", "model.layers.6.post_attention_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.6.self_attn.dense.bias": "model-00003-of-00003.safetensors", "model.layers.6.self_attn.dense.weight": "model-00003-of-00003.safetensors", "model.layers.6.self_attn.query_key_value.bias": "model-00003-of-00003.safetensors", "model.layers.6.self_attn.query_key_value.weight": "model-00003-of-00003.safetensors", "model.layers.6.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors", "model.layers.7.input_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.7.input_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.7.mlp.down_proj.bias": "model-00003-of-00003.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00003-of-00003.safetensors", "model.layers.7.mlp.up_proj.bias": "model-00003-of-00003.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00003-of-00003.safetensors", "model.layers.7.post_attention_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.7.self_attn.dense.bias": "model-00003-of-00003.safetensors", "model.layers.7.self_attn.dense.weight": "model-00003-of-00003.safetensors", "model.layers.7.self_attn.query_key_value.bias": "model-00003-of-00003.safetensors", "model.layers.7.self_attn.query_key_value.weight": "model-00003-of-00003.safetensors", "model.layers.7.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors", "model.layers.8.input_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.8.input_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.8.mlp.down_proj.bias": "model-00003-of-00003.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00003-of-00003.safetensors", "model.layers.8.mlp.up_proj.bias": "model-00003-of-00003.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00003-of-00003.safetensors", "model.layers.8.post_attention_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.8.self_attn.dense.bias": "model-00003-of-00003.safetensors", "model.layers.8.self_attn.dense.weight": "model-00003-of-00003.safetensors", "model.layers.8.self_attn.query_key_value.bias": "model-00003-of-00003.safetensors", "model.layers.8.self_attn.query_key_value.weight": "model-00003-of-00003.safetensors", "model.layers.8.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors", "model.layers.9.input_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.9.input_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.9.mlp.down_proj.bias": "model-00003-of-00003.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00003-of-00003.safetensors", "model.layers.9.mlp.up_proj.bias": "model-00003-of-00003.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00003-of-00003.safetensors", "model.layers.9.post_attention_layernorm.bias": "model-00003-of-00003.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00003-of-00003.safetensors", "model.layers.9.self_attn.dense.bias": "model-00003-of-00003.safetensors", "model.layers.9.self_attn.dense.weight": "model-00003-of-00003.safetensors", "model.layers.9.self_attn.query_key_value.bias": "model-00003-of-00003.safetensors", "model.layers.9.self_attn.query_key_value.weight": "model-00003-of-00003.safetensors", "model.layers.9.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors"}}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>"
|
4 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "1adb635233ffce9e13385862a4111606d4382762",
|
3 |
+
"_from_auto": true,
|
4 |
+
"added_tokens_decoder": {},
|
5 |
+
"bos_token": "<|endoftext|>",
|
6 |
+
"chat_template": "{{ bos_token }}{% for message in messages %}{{'<|' + message['role'] + '|>' + '\n' + message['content'] + '<|end|>\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
|
7 |
+
"clean_up_tokenization_spaces": true,
|
8 |
+
"eos_token": "<|endoftext|>",
|
9 |
+
"model_max_length": 8192,
|
10 |
+
"revision": null,
|
11 |
+
"auto_map": {
|
12 |
+
"AutoTokenizer": [
|
13 |
+
"tokenization_phi3_small.Phi3SmallTokenizer",
|
14 |
+
null
|
15 |
+
]
|
16 |
+
},
|
17 |
+
"tokenizer_class": "Phi3SmallTokenizer",
|
18 |
+
"trust_remote_code": true
|
19 |
+
}
|