Skip to page content
SAVRN
Search Plan a project

Open-weight model

gemma-4-E4B-it-heretic-QAT-GGUF

by 55 HTNZ555/gemma-4-E4B-it-heretic-QAT-GGUF

gemma-4-E4B-it-heretic-QAT-GGUF is an open-weight model from 55, released under Apache License 2.0. Its published files total 5.2 GB.

m gemma-4-E4B-it-heretic-QAT-UD-Q4KXL.gguf \ --jinja -ngl 99 -c 4096 \ --port 8001

Parameters—
Context—
Weights5.2 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By 55, published under apache-2.0, revision 5b3ddc78cce4.

m gemma-4-E4B-it-heretic-QAT-UD-Q4KXL.gguf \ --jinja -ngl 99 -c 4096 \ --port 8001

Read 55's full model card

Gemma 4 E4B Heretic QAT — Q4_0 GGUF

Heretic ARA · QAT-Lossless Q4_0 · 4 GB · Mobile-Ready

中文文档

Q4_0 4.5B Effective Heretic Uncensored 4 GB QAT Weights Mobile

Uncensored version of Google Gemma 4 E4B IT (QAT), processed with Heretic ARA abliteration. Quantized to Q4_0 — only 4 GB, perfect for mobile and edge devices.

Heretic ARA Abliteration Parameters

Base: coder3101/heretic-QAT · Heretic v1.2.0 · ARA + Row-Norm

Parameter Value
start_layer_index20
end_layer_index36
preserve_good_behavior_weight0.5805
steer_bad_behavior_weight0.0023
overcorrect_relative_weight0.7764
neighbor_count13
Metric Heretic Original QAT
KL Divergence0.00650 (by definition)
Refusals5/10098/100
Architecture
Base Modelgoogle/gemma-4-E4B-it
Parameters4.5B effective (8B with PLE embeddings)
ArchitectureDense with Per-Layer Embeddings (PLE) + multimodal
Layers42
Hidden Size2,560
Context Length128K tokens
Vocabulary262K, 140+ languages
ModalitiesText + Image + Audio + Video
QuantizationQ4_0 (matching Unsloth UD-Q4_K_XL layout), b9553 llama-quantize
Quantization Details
FormatQ4_0 (QAT weights optimized for this precision)
File Size4 GB
Effective BPW4.54 (all weights Q4_0, norms F32)
Toolllama-quantize (b9553, CUDA 13.3)
QAT AdvantageQ4_0 + QAT weights achieves 98.5% Top-1 vs 90.9% naive Q4_0 (+7.6%)
Recommended Sampling Parameters
Generaltemp=1.0, top_p=0.95, top_k=64
Codingtemp=0.6, top_p=0.95, top_k=64

Use --jinja flag with llama.cpp. Disable thinking: --chat-template-kwargs '{"enable_thinking":false}'.

Usage

Only 4 GB — runs on any modern phone with 6GB+ RAM. Compatible with llama.cpp, LM Studio, Jan, MLC LLM, and mobile GGUF runtimes.

llama-server \
  -m gemma-4-E4B-it-heretic-QAT-UD-Q4_K_XL.gguf \
  --jinja -ngl 99 -c 4096 \
  --port 8001
Credits

Heretic Abliteration: coder3101 · Heretic v1.2.0 ARA + Row-Norm
QAT Weights: Google Gemma 4 E4B IT
Quantization Recipe: Unsloth UD-Q4_K_XL (Q4_0 layout)
Quantization Tool: llama.cpp b9553 · GitHub
Original Model: Google Gemma 4 E4B IT

Identity and Version

Repository
HTNZ555/gemma-4-E4B-it-heretic-QAT-GGUF
Publisher
55
Task
Not stated by the source
Modality
Other
Library
Not stated by the source
Parameters
Not stated by the source
Languages
en, zh
Revision
5b3ddc78cce49de4ad31e827b851797eb2498ad9
First published
2026-09-27
Last updated
2026-09-27

Files and Weights

5 files, 5.2 GB in total. The weights are 2 files totalling 5.2 GB in gguf.

Weights2 files · 5.2 GB
Documentation2 files · 32.6 KB
Repository1 file · 1.7 KB
Every file
FileTypeSizeSHA-256
gemma-4-E4B-it-heretic-QAT-UD-Q4_K_XL.ggufWeights4.3 GB 063b60c663f5
mmproj-gemma-4-E4B-it-heretic-BF16.ggufWeights991.6 MB 7c9bafa27f82
README.mdDocumentation16.4 KB —
README_zh.mdDocumentation16.3 KB —
.gitattributesRepository1.7 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
5.2 GB
Download from 55

Released by 55 through its official repository on Hugging Face. Read the license.

Built From

  • Derived from coder3101/gemma-4-E4B-it-qat-q4_0-unquantized-heretic
  • Quantized from coder3101/gemma-4-E4B-it-qat-q4_0-unquantized-heretic

Memory Requirements

PrecisionWeights in memory
As published5.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About gemma-4-E4B-it-heretic-QAT-GGUF

Can I use gemma-4-E4B-it-heretic-QAT-GGUF commercially?

Yes. gemma-4-E4B-it-heretic-QAT-GGUF is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.