CellGemma E4B GGUF (Q8_0)

GGUF conversion of google/cellgemma-e4b (Apache-2.0), a Gemma 4 E4B fine-tune for single-cell perturbation prediction. Research use only, not for clinical decisions.

File: cellgemma-e4b-Q8_0.gguf (8,626,014,016 bytes, sha256 44d81da38ecc244189288ff2d643c58a99d7a72f347cd92a4d3e558ca32df207).

Conversion notes (two things differ from a plain conversion)

  1. The ~20K gene symbols are Hugging Face added tokens (no BPE merges produce them). convert_hf_to_gguf.py writes them as NORMAL, so llama.cpp splits "MYC" and numbers differently from the reference and the model sees a different prompt. We mark them USER_DEFINED in the GGUF so they match as whole strings, like the HF tokenizer. Result: prompt token ids are identical to transformers for both card examples (4128 and 4484 tokens).
  2. A plain Q8_0 of this model generates only control tokens (observed with llama.cpp b9073, CPU). Bisecting showed the Q8_0 FFN tensors of layers 0-4 cause it; keeping those 15 tensors in F16 fixes it (+0.37 GB). All other weights are Q8_0. The chat template is embedded and renders the card's exact wrapper without a thinking block.

Check against Google's transformers reference (greedy, 256 new tokens, via /v1/chat/completions)

example prompt ids equal same token at position (of 256) common prefix top-50 +/-gene overlap
tahoe yes (4128) 172 15 50/50
k562 yes (4484) 164 65 45/50
Differences are order swaps between neighbouring genes and normal quantization drift; the gene sets agree.

Sampling per the card: temperature 0.7, max 8192 new tokens, no system prompt, no thinking. Stage 2 (ExpressionDecoder) is unchanged: see stage2_decode.py.

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

8-bit

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

Model tree for tenzro/cellgemma-e4b-gguf

Quantized
(8)
this model