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

Model: SanctumAI/Phi-3-mini-4k-instruct-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-17 09:30:10 +08:00
commit 67d93496fc
21 changed files with 176 additions and 0 deletions

53
.gitattributes vendored Normal file
View File

@@ -0,0 +1,53 @@
*.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
phi-3-mini-4k-instruct.fp16.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q4_K.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q5_K.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
phi-3-mini-4k-instruct.f16.gguf filter=lfs diff=lfs merge=lfs -text

66
README.md Normal file
View File

@@ -0,0 +1,66 @@
---
language:
- en
pipeline_tag: text-generation
tags:
- nlp
- code
license: mit
license_link: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/resolve/main/LICENSE
---
![image/png](https://cdn-uploads.huggingface.co/production/uploads/64a28db2f1968b7d7f357182/xXTKoRbBORy7QFWAeaBxh.png)
*This model was quantized by [SanctumAI](https://sanctum.ai). To leave feedback, join our community in [Discord](https://discord.gg/7ZNE78HJKh).*
# Phi 3 Mini 4K Instruct GGUF
**Model creator:** [microsoft](https://huggingface.co/microsoft)<br>
**Original model**: [Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct)<br>
## Model Summary:
The Phi-3-Mini-4K-Instruct is a 3.8B parameters, lightweight, state-of-the-art open model trained with the Phi-3 datasets that includes both synthetic data and the filtered publicly available websites data with a focus on high-quality and reasoning dense properties. The model belongs to the Phi-3 family with the Mini version in two variants 4K and 128K which is the context length (in tokens) that it can support.
The model has underwent a post-training process that incorporates both supervised fine-tuning and direct preference optimization for the instruction following and safety measures. When assessed against benchmarks testing common sense, language understanding, math, code, long context and logical reasoning, Phi-3 Mini-4K-Instruct showcased a robust and state-of-the-art performance among models with less than 13 billion parameters.
## Prompt Template:
If you're using Sanctum app, simply use `Phi 3` model preset.
Prompt template:
```
<|system|>
{system_prompt}.<|end|>
<|user|>
{prompt}<|end|>
<|assistant|>
```
## Hardware Requirements Estimate
| Name | Quant method | Size | Memory (RAM, vRAM) required |
| ---- | ---- | ---- | ---- |
| [phi-3-mini-4k-instruct.Q2_K.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q2_K.gguf) | Q2_K | 1.45 GB | 5.05 GB |
| [phi-3-mini-4k-instruct.Q3_K_S.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q3_K_S.gguf) | Q3_K_S | 1.68 GB | 5.27 GB |
| [phi-3-mini-4k-instruct.Q3_K_M.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q3_K_M.gguf) | Q3_K_M | 1.88 GB | 5.45 GB |
| [phi-3-mini-4k-instruct.Q3_K_L.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q3_K_L.gguf) | Q3_K_L | 2.05 GB | 5.61 GB |
| [phi-3-mini-4k-instruct.Q4_0.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q4_0.gguf) | Q4_0 | 2.18 GB | 5.73 GB |
| [phi-3-mini-4k-instruct.Q4_K_S.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q4_0.gguf) | Q4_K_S | 2.19 GB | 5.74 GB |
| [phi-3-mini-4k-instruct.Q4_K_M.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q4_K_M.gguf) | Q4_K_M | 2.32 GB | 5.86 GB |
| [phi-3-mini-4k-instruct.Q4_K.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q4_K.gguf) | Q4_K | 2.32 GB | 5.86 GB |
| [phi-3-mini-4k-instruct.Q4_1.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q4_1.gguf) | Q4_1 | 2.41 GB | 5.94 GB |
| [phi-3-mini-4k-instruct.Q5_0.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q5_0.gguf) | Q5_0 | 2.64 GB | 6.16 GB |
| [phi-3-mini-4k-instruct.Q5_K_S.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q5_K_S.gguf) | Q5_K_S | 2.64 GB | 6.16 GB |
| [phi-3-mini-4k-instruct.Q5_K_M.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q5_K_M.gguf) | Q5_K_M | 2.72 GB | 6.23 GB |
| [phi-3-mini-4k-instruct.Q5_K.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q5_K.gguf) | Q5_K | 2.72 GB | 6.23 GB |
| [phi-3-mini-4k-instruct.Q5_1.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q5_1.gguf) | Q5_1 | 2.87 GB | 6.38 GB |
| [phi-3-mini-4k-instruct.Q6_K.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q6_K.gguf) | Q6_K | 3.14 GB | 6.62 GB |
| [phi-3-mini-4k-instruct.Q8_0.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.Q8_0.gguf) | Q8_0 | 4.06 GB | 7.48 GB |
| [phi-3-mini-4k-instruct.fp16.gguf](https://huggingface.co/SanctumAI/Phi-3-mini-4k-instruct-GGUF/blob/main/phi-3-mini-4k-instruct.fp16.gguf) | f16 | 7.64 GB | 10.82 GB |
## Disclaimer
Sanctum is not the creator, originator, or owner of any Model featured in the Models section of the Sanctum application. Each Model is created and provided by third parties. Sanctum does not endorse, support, represent or guarantee the completeness, truthfulness, accuracy, or reliability of any Model listed there. You understand that supported Models can produce content that might be offensive, harmful, inaccurate or otherwise inappropriate, or deceptive. Each Model is the sole responsibility of the person or entity who originated such Model. Sanctum may not monitor or control the Models supported and cannot, and does not, take responsibility for any such Model. Sanctum disclaims all warranties or guarantees about the accuracy, reliability or benefits of the Models. Sanctum further disclaims any warranty that the Model will meet your requirements, be secure, uninterrupted or available at any time or location, or error-free, viruses-free, or that any errors will be corrected, or otherwise. You will be solely responsible for any damage resulting from your use of or access to the Models, your downloading of any Model, or use of any other Model provided by or through Sanctum.

3
config.json Normal file
View File

@@ -0,0 +1,3 @@
{
"model_type": "phi3"
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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