Views
No views yet
Read the writeup: LLM Limbo: Quantising Gemma 4 to Bits and Pieces. The full experiment that produced this model: three model sizes, six quantisation methods, two modalities, and the discovery that the cliff between a working language model and pure noise is exactly one bit wide.
google/gemma-4-E2B-it (1,411 tensors removed, 600 kept)lm_head layer in fp16 (vocabulary projection – quantising this destroys output quality)| Property | Value |
|---|---|
| Base model | google/gemma-4-E2B-it (2.3B params) |
| Modalities | Text only (vision + audio removed) |
| Quantisation | HQQ 3-bit, group_size=64 |
| GPU memory | ~6 GB |
| Bits per weight | 3 (effective ~3.27 incl. scales + lm_head) |
| Metric | 31B BF16 | E2B BF16 | E2B 3-bit (this) | E2B 2-bit |
|---|---|---|---|---|
| Parse rate | 100% | 100% | 99.5% | 0% |
| Read total correctly | 100% | 100% | 91.0% | 0% |
| Flagged broken invoices (n=40) | 29/40 | 0/40 | ~9/40 | – |
| False flags on correct (n=160) | 30/160 | 3/160 | ~14/160 | – |
| Avg latency | 1.10s (vLLM) | 0.18s (vLLM) | 3.13s (HQQ/PyTorch) | – |
hqq library to load. Standard from_pretrained will show "UNEXPECTED" tensor warnings and produce garbage.1# This model uses HQQ's custom tensor format.
2# Standard transformers loading will NOT work correctly.
3# You need the hqq library.
4
5pip install hqq transformers torch1@misc{jngb-labs-llm-limbo-2026,
2 title={LLM Limbo: Quantising Gemma 4 to Bits and Pieces},
3 author={JNGB Labs},
4 year={2026},
5 url={https://www.jngb.online/notes/07-llm-limbo}
6}