How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf ristew/phi-2-imatrix-gguf:
# Run inference directly in the terminal:
llama-cli -hf ristew/phi-2-imatrix-gguf:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf ristew/phi-2-imatrix-gguf:
# Run inference directly in the terminal:
llama-cli -hf ristew/phi-2-imatrix-gguf:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf ristew/phi-2-imatrix-gguf:
# Run inference directly in the terminal:
./llama-cli -hf ristew/phi-2-imatrix-gguf:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf ristew/phi-2-imatrix-gguf:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf ristew/phi-2-imatrix-gguf:
Use Docker
docker model run hf.co/ristew/phi-2-imatrix-gguf:
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

phi-2 quantized using imatrix data from kalomaze's groups_merged.txt

Perplexities: Q8_0: 5.3886 Q4_0: 5.5526 IQ3_XXS: 6.0745 IQ2_XS: 7.2570 IQ2_XXS: 9.3666 IQ1_S: 18.7885

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

1-bit

2-bit

3-bit

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