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

Gemma 4 model weights in GGUF format, used by Understand's AI features and served locally by ullama (llama.cpp).

  • gemma-4-E4B-it-Q4_K_M.gguf โ€” the quantization qualified in SciTools' two-workload evaluation (chat quality 148.6 on the frozen GitAhead scale, 3/3 qualifying runs). Ship and use exactly this file: verdicts do not carry across quantizations.

Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms. By downloading these weights you agree to those terms, including the Gemma Prohibited Use Policy (ai.google.dev/gemma/prohibited_use_policy). This repository redistributes the weights unmodified apart from quantization; it is not endorsed by Google.

Downloads last month
49
GGUF
Model size
12B params
Architecture
gemma4
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