How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf mparvin/phi-2-GGUF:
# Run inference directly in the terminal:
llama cli -hf mparvin/phi-2-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf mparvin/phi-2-GGUF:
# Run inference directly in the terminal:
llama cli -hf mparvin/phi-2-GGUF:
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf mparvin/phi-2-GGUF:
# Run inference directly in the terminal:
./build/bin/llama cli -hf mparvin/phi-2-GGUF:
Use Docker
docker model run hf.co/mparvin/phi-2-GGUF:
Quick Links

phi-2-GGUF

GGUF conversions of microsoft/phi-2.

These weights were converted with llama.cpp and quantized for local / Ollama use. This is not the original model; it is a community conversion of the source weights.

Quantizations

Q4_K_M, Q5_K_M, Q8_0

Source

Downloads last month
73
GGUF
Model size
3B params
Architecture
phi2
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for mparvin/phi-2-GGUF

Base model

microsoft/phi-2
Quantized
(64)
this model