初始化项目,由ModelHub XC社区提供模型

Model: PS4Research/eR5tM4xA7wK1nJ9z
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-06-15 21:36:07 +08:00
commit b5081cda24
13 changed files with 502452 additions and 0 deletions

35
.gitattributes vendored Normal file
View File

@@ -0,0 +1,35 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
---
base_model: unsloth/phi-4-reasoning-unsloth-bnb-4bit
tags:
- text-generation-inference
- transformers
- unsloth
- phi3
license: apache-2.0
language:
- en
---
# Uploaded finetuned model
- **Developed by:** PS4Research
- **License:** apache-2.0
- **Finetuned from model :** unsloth/phi-4-reasoning-unsloth-bnb-4bit
This phi3 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)

1
chat_template.jinja Normal file
View File

@@ -0,0 +1 @@
{% if messages[0]['role'] != 'system' %}{{'<|im_start|>system<|im_sep|>You are Phi, a language model trained by Microsoft to help users. Your role as an assistant involves thoroughly exploring questions through a systematic thinking process before providing the final precise and accurate solutions. This requires engaging in a comprehensive cycle of analysis, summarizing, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. Please structure your response into two main sections: Thought and Solution using the specified format: <think> {Thought section} </think> {Solution section}. In the Thought section, detail your reasoning process in steps. Each step should include detailed considerations such as analysing questions, summarizing relevant findings, brainstorming new ideas, verifying the accuracy of the current steps, refining any errors, and revisiting previous steps. In the Solution section, based on various attempts, explorations, and reflections from the Thought section, systematically present the final solution that you deem correct. The Solution section should be logical, accurate, and concise and detail necessary steps needed to reach the conclusion. Now, try to solve the following question through the above guidelines:<|im_end|>'}}{% endif %}{% for message in messages %}{% if messages[0]['role'] == 'system' %}{{'<|im_start|>system<|im_sep|>You are Phi, a language model trained by Microsoft to help users. Your role as an assistant involves thoroughly exploring questions through a systematic thinking process before providing the final precise and accurate solutions. This requires engaging in a comprehensive cycle of analysis, summarizing, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. Please structure your response into two main sections: Thought and Solution using the specified format: <think> {Thought section} </think> {Solution section}. In the Thought section, detail your reasoning process in steps. Each step should include detailed considerations such as analysing questions, summarizing relevant findings, brainstorming new ideas, verifying the accuracy of the current steps, refining any errors, and revisiting previous steps. In the Solution section, based on various attempts, explorations, and reflections from the Thought section, systematically present the final solution that you deem correct. The Solution section should be logical, accurate, and concise and detail necessary steps needed to reach the conclusion. Now, try to solve the following question through the above guidelines:<|im_end|>'}}{% elif message['role'] == 'user' %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif message['role'] == 'assistant' %}{{'<|im_start|>assistant<|im_sep|>' + message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant<|im_sep|>' }}{% endif %}

37
config.json Normal file
View File

@@ -0,0 +1,37 @@
{
"architectures": [
"Phi3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 100257,
"torch_dtype": "bfloat16",
"embd_pdrop": 0.0,
"eos_token_id": 100265,
"hidden_act": "silu",
"hidden_size": 5120,
"initializer_range": 0.02,
"intermediate_size": 17920,
"max_position_embeddings": 32768,
"model_name": "unsloth/phi-4-reasoning-unsloth-bnb-4bit",
"model_type": "phi3",
"num_attention_heads": 40,
"num_hidden_layers": 40,
"num_key_value_heads": 10,
"original_max_position_embeddings": 32768,
"pad_token_id": 100349,
"partial_rotary_factor": 1.0,
"resid_pdrop": 0.0,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"partial_rotary_factor": 1.0,
"rope_theta": 500000,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": false,
"unsloth_fixed": true,
"unsloth_version": "2026.5.1",
"use_cache": false,
"vocab_size": 100352
}

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76163498d7c9aea1fa23b7deb9f920aa5dba66909c88e82db61d5d68736265e1
size 4933656472

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed7e8804700dc382eec44d48dacdc8e2ea2ec103aef3635c1829abc1ccc436e9
size 4954690712

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96ae9051128e11457b058f12e3d86e758dade954690dc4759d0a1b741a66113d
size 4902241352

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:783d9c7ec12d82bf4401d1a159a977297ff06ac3dee64628012d16c5dc859bff
size 4771169120

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a52c1b0a5eac5a1928790ac1da0cc2f8f70acff4610eac464efc658a2d9b8254
size 4771169120

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e06b2b271158b94bad669001ede60516f92aba68c1d5a57b4b86b2d3e91b38f
size 4986116216

View File

@@ -0,0 +1,250 @@
{
"metadata": {
"total_size": 29319014400
},
"weight_map": {
"lm_head.weight": "model-00006-of-00006.safetensors",
"model.embed_tokens.weight": "model-00001-of-00006.safetensors",
"model.layers.0.input_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.mlp.gate_up_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.0.self_attn.qkv_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.input_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.mlp.gate_up_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.1.self_attn.qkv_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.10.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.10.mlp.gate_up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.10.self_attn.qkv_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.11.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.11.mlp.gate_up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.11.self_attn.qkv_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.12.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.12.mlp.gate_up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.12.self_attn.qkv_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.13.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.13.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.13.mlp.gate_up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.13.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.13.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.13.self_attn.qkv_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.14.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.14.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.14.mlp.gate_up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.14.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.14.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.14.self_attn.qkv_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.15.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.15.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.15.mlp.gate_up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.15.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.15.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.15.self_attn.qkv_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.16.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.16.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.16.mlp.gate_up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.16.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.16.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.16.self_attn.qkv_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.17.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.17.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.17.mlp.gate_up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.17.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.17.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.17.self_attn.qkv_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.18.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.18.mlp.gate_up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.18.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.18.self_attn.qkv_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.19.input_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.19.mlp.gate_up_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.19.self_attn.qkv_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.2.input_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.2.mlp.gate_up_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.2.self_attn.qkv_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.20.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.20.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.20.mlp.gate_up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.20.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.20.self_attn.qkv_proj.weight": "model-00003-of-00006.safetensors",
"model.layers.21.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.21.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.21.mlp.gate_up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.21.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.21.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.21.self_attn.qkv_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.22.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.22.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.22.mlp.gate_up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.22.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.22.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.22.self_attn.qkv_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.23.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.23.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.23.mlp.gate_up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.23.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.23.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.23.self_attn.qkv_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.24.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.24.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.24.mlp.gate_up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.24.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.24.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.24.self_attn.qkv_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.25.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.25.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.25.mlp.gate_up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.25.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.25.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.25.self_attn.qkv_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.26.input_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.26.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.26.mlp.gate_up_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.26.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
"model.layers.26.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.26.self_attn.qkv_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.27.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.27.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.27.mlp.gate_up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.27.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.27.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.27.self_attn.qkv_proj.weight": "model-00004-of-00006.safetensors",
"model.layers.28.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.28.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.28.mlp.gate_up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.28.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.28.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.28.self_attn.qkv_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.29.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.29.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.29.mlp.gate_up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.29.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.29.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.29.self_attn.qkv_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.3.input_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.3.mlp.gate_up_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.3.self_attn.qkv_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.30.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.30.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.30.mlp.gate_up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.30.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.30.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.30.self_attn.qkv_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.31.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.31.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.31.mlp.gate_up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.31.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.31.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.31.self_attn.qkv_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.32.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.32.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.32.mlp.gate_up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.32.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.32.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.32.self_attn.qkv_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.33.input_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.33.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.33.mlp.gate_up_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.33.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
"model.layers.33.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.33.self_attn.qkv_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.34.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.34.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.34.mlp.gate_up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.34.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.34.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.34.self_attn.qkv_proj.weight": "model-00005-of-00006.safetensors",
"model.layers.35.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.35.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.35.mlp.gate_up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.35.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.35.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.35.self_attn.qkv_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.36.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.36.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.36.mlp.gate_up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.36.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.36.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.36.self_attn.qkv_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.37.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.37.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.37.mlp.gate_up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.37.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.37.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.37.self_attn.qkv_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.38.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.38.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.38.mlp.gate_up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.38.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.38.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.38.self_attn.qkv_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.39.input_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.39.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.39.mlp.gate_up_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.39.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
"model.layers.39.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.39.self_attn.qkv_proj.weight": "model-00006-of-00006.safetensors",
"model.layers.4.input_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.4.mlp.gate_up_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.4.self_attn.qkv_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.5.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.5.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.5.mlp.gate_up_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.5.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.5.self_attn.qkv_proj.weight": "model-00001-of-00006.safetensors",
"model.layers.6.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.mlp.gate_up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.6.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.6.self_attn.qkv_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.mlp.gate_up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.7.self_attn.qkv_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.8.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.8.mlp.gate_up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.8.self_attn.qkv_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.9.input_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.9.mlp.gate_up_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
"model.layers.9.self_attn.qkv_proj.weight": "model-00002-of-00006.safetensors",
"model.norm.weight": "model-00006-of-00006.safetensors"
}
}

501298
tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

792
tokenizer_config.json Normal file
View File

@@ -0,0 +1,792 @@
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<|endoftext|>",
"clean_up_tokenization_spaces": false,
"eos_token": "<|im_end|>",
"is_local": false,
"model_max_length": 32768,
"pad_token": "<|dummy_85|>",
"padding_side": "left",
"tokenizer_class": "TokenizersBackend",
"unk_token": "�",
"added_tokens_decoder": {
"5809": {
"content": "�",
"single_word": false,
"lstrip": false,
"rstrip": false,
"normalized": false,
"special": true
},
"100256": {
"content": "<|dummy_0|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100257": {
"content": "<|endoftext|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100258": {
"content": "<|fim_prefix|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100259": {
"content": "<|fim_middle|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100260": {
"content": "<|fim_suffix|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100261": {
"content": "<|dummy_1|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100262": {
"content": "<|dummy_2|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100263": {
"content": "<|dummy_3|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100264": {
"content": "<|im_start|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100265": {
"content": "<|im_end|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100266": {
"content": "<|im_sep|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100267": {
"content": "<|dummy_4|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100268": {
"content": "<|dummy_5|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100269": {
"content": "<|dummy_6|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100270": {
"content": "<|dummy_7|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100271": {
"content": "<|dummy_8|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100272": {
"content": "<|dummy_9|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100273": {
"content": "<|dummy_10|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100274": {
"content": "<|dummy_11|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100275": {
"content": "<|dummy_12|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100276": {
"content": "<|endofprompt|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100277": {
"content": "<|dummy_13|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100278": {
"content": "<|dummy_14|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100279": {
"content": "<|dummy_15|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100280": {
"content": "<|dummy_16|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100281": {
"content": "<|dummy_17|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100282": {
"content": "<|dummy_18|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100283": {
"content": "<|dummy_19|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100284": {
"content": "<|dummy_20|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100285": {
"content": "<|dummy_21|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100286": {
"content": "<|dummy_22|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100287": {
"content": "<|dummy_23|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100288": {
"content": "<|dummy_24|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100289": {
"content": "<|dummy_25|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100290": {
"content": "<|dummy_26|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100291": {
"content": "<|dummy_27|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100292": {
"content": "<|dummy_28|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100293": {
"content": "<|dummy_29|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100294": {
"content": "<|dummy_30|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100295": {
"content": "<|dummy_31|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100296": {
"content": "<|dummy_32|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100297": {
"content": "<|dummy_33|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100298": {
"content": "<|dummy_34|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100299": {
"content": "<|dummy_35|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100300": {
"content": "<|dummy_36|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100301": {
"content": "<|dummy_37|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100302": {
"content": "<|dummy_38|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100303": {
"content": "<|dummy_39|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100304": {
"content": "<|dummy_40|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100305": {
"content": "<|dummy_41|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100306": {
"content": "<|dummy_42|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100307": {
"content": "<|dummy_43|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100308": {
"content": "<|dummy_44|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100309": {
"content": "<|dummy_45|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100310": {
"content": "<|dummy_46|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100311": {
"content": "<|dummy_47|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100312": {
"content": "<|dummy_48|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100313": {
"content": "<|dummy_49|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100314": {
"content": "<|dummy_50|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100315": {
"content": "<|dummy_51|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100316": {
"content": "<|dummy_52|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100317": {
"content": "<|dummy_53|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100318": {
"content": "<|dummy_54|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100319": {
"content": "<|dummy_55|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100320": {
"content": "<|dummy_56|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100321": {
"content": "<|dummy_57|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100322": {
"content": "<|dummy_58|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100323": {
"content": "<|dummy_59|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100324": {
"content": "<|dummy_60|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100325": {
"content": "<|dummy_61|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100326": {
"content": "<|dummy_62|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100327": {
"content": "<|dummy_63|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100328": {
"content": "<|dummy_64|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100329": {
"content": "<|dummy_65|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100330": {
"content": "<|dummy_66|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100331": {
"content": "<|dummy_67|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100332": {
"content": "<|dummy_68|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100333": {
"content": "<|dummy_69|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100334": {
"content": "<|dummy_70|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100335": {
"content": "<|dummy_71|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100336": {
"content": "<|dummy_72|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100337": {
"content": "<|dummy_73|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100338": {
"content": "<|dummy_74|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100339": {
"content": "<|dummy_75|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100340": {
"content": "<|dummy_76|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100341": {
"content": "<|dummy_77|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100342": {
"content": "<|dummy_78|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100343": {
"content": "<|dummy_79|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100344": {
"content": "<|dummy_80|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100345": {
"content": "<|dummy_81|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100346": {
"content": "<|dummy_82|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100347": {
"content": "<|dummy_83|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100348": {
"content": "<|dummy_84|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100349": {
"content": "<|dummy_85|>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100350": {
"content": "<think>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
},
"100351": {
"content": "</think>",
"single_word": false,
"lstrip": true,
"rstrip": true,
"normalized": false,
"special": true
}
},
"chat_template": "{% if messages[0]['role'] != 'system' %}{{'<|im_start|>system<|im_sep|>You are Phi, a language model trained by Microsoft to help users. Your role as an assistant involves thoroughly exploring questions through a systematic thinking process before providing the final precise and accurate solutions. This requires engaging in a comprehensive cycle of analysis, summarizing, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. Please structure your response into two main sections: Thought and Solution using the specified format: <think> {Thought section} </think> {Solution section}. In the Thought section, detail your reasoning process in steps. Each step should include detailed considerations such as analysing questions, summarizing relevant findings, brainstorming new ideas, verifying the accuracy of the current steps, refining any errors, and revisiting previous steps. In the Solution section, based on various attempts, explorations, and reflections from the Thought section, systematically present the final solution that you deem correct. The Solution section should be logical, accurate, and concise and detail necessary steps needed to reach the conclusion. Now, try to solve the following question through the above guidelines:<|im_end|>'}}{% endif %}{% for message in messages %}{% if messages[0]['role'] == 'system' %}{{'<|im_start|>system<|im_sep|>You are Phi, a language model trained by Microsoft to help users. Your role as an assistant involves thoroughly exploring questions through a systematic thinking process before providing the final precise and accurate solutions. This requires engaging in a comprehensive cycle of analysis, summarizing, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. Please structure your response into two main sections: Thought and Solution using the specified format: <think> {Thought section} </think> {Solution section}. In the Thought section, detail your reasoning process in steps. Each step should include detailed considerations such as analysing questions, summarizing relevant findings, brainstorming new ideas, verifying the accuracy of the current steps, refining any errors, and revisiting previous steps. In the Solution section, based on various attempts, explorations, and reflections from the Thought section, systematically present the final solution that you deem correct. The Solution section should be logical, accurate, and concise and detail necessary steps needed to reach the conclusion. Now, try to solve the following question through the above guidelines:<|im_end|>'}}{% elif message['role'] == 'user' %}{{'<|im_start|>user<|im_sep|>' + message['content'] + '<|im_end|>'}}{% elif message['role'] == 'assistant' %}{{'<|im_start|>assistant<|im_sep|>' + message['content'] + '<|im_end|>'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant<|im_sep|>' }}{% endif %}"
}