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

translategemma-4b-it-q5_k_m.gguf

This repo contains GGUF weights for google/translategemma-4b-it.

Quantization Details

  • Method: llama-quantize
  • Llama.cpp Version: 7770 (fe44d3557)
  • Original Model Precision: BF16

Files Provided

File Quant Method Size Description
translategemma-4b-it-q5_k_m.gguf Q5_K_M 3.2 GB High quality, recommended for most uses.

Usage

You can use these models with llama.cpp

./llama-server -m translategemma-4b-it-q5_k_m.gguf -no-mmap -ngl 99 --port 8080 -c 8192 -fa 1 --jinja
Downloads last month
7
GGUF
Model size
4B params
Architecture
gemma3
Hardware compatibility
Log In to add your hardware

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mixer3d/translategemma-4b-it-gguf

Quantized
(43)
this model