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

gemma-4-12B-it-GGUF

Quantized GGUF versions of google/gemma-4-12B-it, created with llama.cpp.

Usage

With llama.cpp

llama-cli -hf MoMonir/gemma-4-12B-it-GGUF

With llama-cpp-python

from llama_cpp import Llama
llm = Llama.from_pretrained(repo_id="MoMonir/gemma-4-12B-it-GGUF", filename="google_gemma-4-12B-it-Q8_0.gguf")
response = llm("Hello, world!", max_tokens=100)
print(response["choices"][0]["text"])

License

Please refer to the original model license.

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

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 MoMonir/gemma-4-12B-it-GGUF

Quantized
(302)
this model