AndreyBest
commited on
Commit
•
6648d29
1
Parent(s):
4343523
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,66 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: mit
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
tags:
|
6 |
+
- nlp
|
7 |
+
- code
|
8 |
license: mit
|
9 |
+
license_link: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/resolve/main/LICENSE
|
10 |
---
|
11 |
+
|
12 |
+
|
13 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/64a28db2f1968b7d7f357182/xXTKoRbBORy7QFWAeaBxh.png)
|
14 |
+
*This model was quantized by [SanctumAI](https://sanctum.ai). To leave feedback, join our community in [Discord](https://discord.gg/7ZNE78HJKh).*
|
15 |
+
|
16 |
+
# Phi 3 Mini 4K Instruct GGUF
|
17 |
+
|
18 |
+
**Model creator:** [microsoft](https://huggingface.co/microsoft)<br>
|
19 |
+
**Original model**: [Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct)<br>
|
20 |
+
|
21 |
+
## Model Summary:
|
22 |
+
|
23 |
+
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.
|
24 |
+
|
25 |
+
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.
|
26 |
+
|
27 |
+
## Prompt Template:
|
28 |
+
|
29 |
+
If you're using Sanctum app, simply use `Phi 3` model preset.
|
30 |
+
|
31 |
+
Prompt template:
|
32 |
+
|
33 |
+
```
|
34 |
+
<|system|>
|
35 |
+
{system_prompt}.<|end|>
|
36 |
+
<|user|>
|
37 |
+
{prompt}<|end|>
|
38 |
+
<|assistant|>
|
39 |
+
|
40 |
+
```
|
41 |
+
|
42 |
+
## Hardware Requirements Estimate
|
43 |
+
|
44 |
+
| Name | Quant method | Size | Memory (RAM, vRAM) required |
|
45 |
+
| ---- | ---- | ---- | ---- |
|
46 |
+
| [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 |
|
47 |
+
| [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 |
|
48 |
+
| [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 |
|
49 |
+
| [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 |
|
50 |
+
| [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 |
|
51 |
+
| [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 |
|
52 |
+
| [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 |
|
53 |
+
| [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 |
|
54 |
+
| [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 |
|
55 |
+
| [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 |
|
56 |
+
| [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 |
|
57 |
+
| [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 |
|
58 |
+
| [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 |
|
59 |
+
| [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 |
|
60 |
+
| [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 |
|
61 |
+
| [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 |
|
62 |
+
| [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 |
|
63 |
+
|
64 |
+
## Disclaimer
|
65 |
+
|
66 |
+
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.
|