How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="Mediform/gemma-4-E4B-it-assistant-gguf",
	filename="gemma-4-E4B-it-assist-F16.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

gemma-4-E4B-it assistant (MTP draft) β€” GGUF F16

F16 GGUF conversion of google/gemma-4-E4B-it-assistant β€” the stock MTP (multi-token-prediction) assistant head for Gemma-4 E4B-it. Finetune revision 65892304d4eb7762acc45257a327885f7535e584.

Purpose

Draft model for speculative decoding against the stock google/gemma-4-E4B-it-qat-q4_0-gguf target (llama.cpp --spec-type draft-mtp / ngram-mod,draft-mtp, or Scribion's in-process LlamaCppGemmaEngine). The assistant reads the target's hidden states, so draft/target pairing matters:

target draft mean accepted len (measured)
stock QAT q4_0 this model ~2.9 / 3
stock QAT q4_0 Mediform/gemma4-e4b-v13-assistant-rollout-gguf ~2.1 / 3 (mismatched)

Use Mediform/gemma4-e4b-v13-assistant-rollout-gguf when the target is the v13-plainlora finetune; use this model when the target is stock QAT.

Speculative decoding is lossless β€” a mismatched draft only costs speed (~28 vs ~36-40 tok/s decode on M-series), never output quality.

Downloads last month
-
GGUF
Model size
78M params
Architecture
gemma4-assistant
Hardware compatibility
Log In to add your hardware

16-bit

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

Model tree for Mediform/gemma-4-E4B-it-assistant-gguf

Quantized
(6)
this model