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 CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
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 CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
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 CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
Use Docker
docker model run hf.co/CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF:Q4_K_M
Quick Links

Refer to CoolSpring/gemma-2-9b-it-liaozhai for more details.

Prompt Template - gemma

<bos><start_of_turn>user
{input}<end_of_turn>
<start_of_turn>model
{output}<end_of_turn>
Downloads last month
25
GGUF
Model size
9B params
Architecture
gemma2
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for CoolSpring/gemma-2-9b-it-liaozhai-Q4_K_M-GGUF

Quantized
(1)
this model