Downloads · 30 days
732
17% of all-time downloads
cstr/gemma4-e2b-it-GGUF
gemma4-e2b-it-GGUF is a automatic speech recognition model from cstr. Use it when you need speech turned into text. It is set up for ggml. The card lists the license as apache-2.0.
GGUF conversion of google/gemma-4-E2B-it for use with CrispStrobe/CrispASR.
Downloads · 30 days
732
17% of all-time downloads
All-time downloads
4.2K
Public
Repo size
61.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf19.6 GB · 100%
From the Hugging Face model README
GGUF conversion of google/gemma-4-E2B-it for use with CrispStrobe/CrispASR.
| File | Quant | Size | Notes |
|---|---|---|---|
gemma4-e2b-it.gguf | F16 | ~9.5 GB | Full precision |
gemma4-e2b-it-q8_0.gguf | Q8_0 | ~5.0 GB | Near-lossless quant |
gemma4-e2b-it-q4_k.gguf | Q4_K | ~2.8 GB | Standard quant |
gemma4-e2b-it-q2_k.gguf | Q2_K | ~2.2 GB | Smallest, quality drop |
google/gemma-4-E2B-itThis GGUF is built specifically for ASR with CrispASR and includes the audio path that standard text/vision Gemma-4 GGUFs (unsloth, ggml-org) omit:
embed_audio.embedding_projection,
pre-projection RMSNorm)..input_min/max, .output_min/max) — these
are NOT QAT-only artefacts. HF applies them at inference via
Gemma4ClippableLinear.forward. Skipping them collapses the encoder past layer 5.num_kv_shared_layers, layer_full_mask, partial_rotary_factor,
global_head_dim, use_double_wide_mlp, attention_k_eq_v — all the per-layer
flags the LLM forward needs to honour.frame_length=320 window; the runtime regenerates these too).Vision tower tensors are excluded.
# Auto-download (recommended)
./build/bin/crispasr --backend gemma4-e2b -m auto --auto-download -f audio.wav
# Or explicit path
./build/bin/crispasr --backend gemma4-e2b -m gemma4-e2b-it-q4_k.gguf -f audio.wav
CrispASR ships a stage-by-stage differential test against the HF PyTorch
reference. Per-stage cosine similarity vs HF Gemma4AudioModel:
mel_spectrogram 1.0000 bit-exact (HF FE faithfully reproduced)
audio_subsample_output 0.9994 conv2d + LayerNorm + ReLU
audio_layer_0..11 0.97 — 0.99 (with QAT clip scalars)
audio_tower_output 0.99+
Run it yourself:
# 1. Dump HF reference
HF_HOME=/path/to/hf-cache python tools/dump_reference.py \
--backend gemma4 --model-dir google/gemma-4-E2B-it \
--audio samples/jfk.wav --output /tmp/gemma4-ref.gguf
# 2. Compare
build/bin/crispasr-diff gemma4 \
gemma4-e2b-it-q4_k.gguf /tmp/gemma4-ref.gguf samples/jfk.wav
This GGUF was produced by models/convert-gemma4-e2b-to-gguf.py (CrispASR repo)
running on Kaggle T4 nodes (16 GB RAM). Conversion config:
--outtype f16 then crispasr-quantize for Q-variants.audio.layers.{i}.{linear}.input_min/max, output_min/max.model.vision_tower.*, model.embed_vision.*) skipped.google.apache-2.0. This repository redistributes under the same terms; it grants no rights the upstream licence does not.