How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="Melvin56/Phi-4-mini-instruct-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Melvin56/Phi-4-mini-instruct-GGUF

Original Model : microsoft/Phi-4-mini-instruct

All quants are made using the imatrix dataset.

Model Size (GB)
Q2_K_S 1.59
Q2_K 1.68
Q3_K_M 2.12
Q3_K_L 2.25
Q4_K_M 2.49
Q5_K_M 2.85
Q6_K 3.16
Q8_0 4.08
F16 7.68
CPU (AVX2) CPU (ARM NEON) Metal cuBLAS rocBLAS SYCL CLBlast Vulkan Kompute
K-quants ✅ 🐢5 ✅ 🐢5
I-quants ✅ 🐢4 ✅ 🐢4 ✅ 🐢4 Partial¹
✅: feature works
🚫: feature does not work
❓: unknown, please contribute if you can test it youself
🐢: feature is slow
¹: IQ3_S and IQ1_S, see #5886
²: Only with -ngl 0
³: Inference is 50% slower
⁴: Slower than K-quants of comparable size
⁵: Slower than cuBLAS/rocBLAS on similar cards
⁶: Only q8_0 and iq4_nl
Downloads last month
91
GGUF
Model size
4B params
Architecture
phi3
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Melvin56/Phi-4-mini-instruct-GGUF

Quantized
(147)
this model

Collection including Melvin56/Phi-4-mini-instruct-GGUF