Downloads · 30 days
60
9% of all-time downloads
srmiles/gemma-4-12B-it-assistant-GGUF
gemma-4-12B-it-assistant-GGUF is a text generation model from srmiles. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
Correctly-converted BF16 GGUF of Google's official google/gemma-4-12B-it-assistant MTP (Multi-Token Prediction) drafter, for use with llama.cpp speculative decoding.
Downloads · 30 days
60
9% of all-time downloads
All-time downloads
681
Public
Repo size
862 MB
Likes
1
Public
Click a slice to open those files.
.gguf862 MB · 100%
From the Hugging Face model README
Correctly-converted BF16 GGUF of Google's official google/gemma-4-12B-it-assistant MTP (Multi-Token Prediction) drafter, for use with llama.cpp speculative decoding.
Pair this drafter with the Gemma 4 12B target model for a substantial decode-throughput uplift with mathematically identical output quality.
The community GGUFs for Google's Gemma 4 assistants use an architecture string mismatch — gemma4_assistant (underscore) instead of upstream llama.cpp's gemma4-assistant (hyphen) — which makes them fail to load on any modern llama.cpp build.
This GGUF was converted directly from Google's official BF16 safetensors with llama.cpp's own convert_hf_to_gguf.py (b10215 / commit eb41d503b), so every metadata key is correctly namespaced and it loads cleanly on upstream llama.cpp.
llama-server \
-m gemma-4-12B_q4_0-it.gguf \
--model-draft gemma-4-12B-it-assistant-official.bf16.gguf \
--spec-type draft-mtp \
--spec-draft-n-max 3 \
-ngl 99 -c 8192 -fa on -ub 2048 -b 2048 \
--jinja --reasoning off \
--host 0.0.0.0 --port 8000
Measured on real workload (2-5K token prompts, structured JSON output):
| Metric | Value |
|---|---|
| Decode | 70.4 tok/s |
| MTP acceptance rate | 69.7% |
| Prefill @ 2K tokens | 1,053 tok/s |
| VRAM (target + drafter, Q4_0 target + BF16 drafter) | 8.5 GiB |
Compared to 12B without a drafter: +257% decode, +530% prefill on b10215.
Full bench methodology + comparison to Ornith 9B production model: github.com/srmiles/local-llm-benchmarks.
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp && git checkout b10215
pip install --index-url https://download.pytorch.org/whl/cpu torch
hf download google/gemma-4-12B-it-assistant --local-dir gemma-4-12B-it-assistant-hf
python convert_hf_to_gguf.py gemma-4-12B-it-assistant-hf/ \
--outfile gemma-4-12B-it-assistant-official.bf16.gguf \
--outtype bf16
gemma-4-12B-it-assistant-official.bf16.gguf — 862 MB, BF16google/gemma-4-12B-it-assistantconvert_hf_to_gguf.py at commit eb41d503b (b10215)Apache 2.0.