AndreyBest's picture
Update README.md
6648d29 verified
metadata
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 This model was quantized by SanctumAI. To leave feedback, join our community in Discord.

Phi 3 Mini 4K Instruct GGUF

Model creator: microsoft
Original model: Phi-3-mini-4k-instruct

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 Q2_K 1.45 GB 5.05 GB
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 Q3_K_M 1.88 GB 5.45 GB
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 Q4_0 2.18 GB 5.73 GB
phi-3-mini-4k-instruct.Q4_K_S.gguf Q4_K_S 2.19 GB 5.74 GB
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 Q4_K 2.32 GB 5.86 GB
phi-3-mini-4k-instruct.Q4_1.gguf Q4_1 2.41 GB 5.94 GB
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 Q5_K_S 2.64 GB 6.16 GB
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 Q5_K 2.72 GB 6.23 GB
phi-3-mini-4k-instruct.Q5_1.gguf Q5_1 2.87 GB 6.38 GB
phi-3-mini-4k-instruct.Q6_K.gguf Q6_K 3.14 GB 6.62 GB
phi-3-mini-4k-instruct.Q8_0.gguf Q8_0 4.06 GB 7.48 GB
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.