Views
No views yet
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-itembed_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).1# Auto-download (recommended)
2./build/bin/crispasr --backend gemma4-e2b -m auto --auto-download -f audio.wav
3
4# Or explicit path
5./build/bin/crispasr --backend gemma4-e2b -m gemma4-e2b-it-q4_k.gguf -f audio.wavGemma4AudioModel: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+1# 1. Dump HF reference
2HF_HOME=/path/to/hf-cache python tools/dump_reference.py \
3 --backend gemma4 --model-dir google/gemma-4-E2B-it \
4 --audio samples/jfk.wav --output /tmp/gemma4-ref.gguf
5
6# 2. Compare
7build/bin/crispasr-diff gemma4 \
8 gemma4-e2b-it-q4_k.gguf /tmp/gemma4-ref.gguf samples/jfk.wavmodels/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.