Downloads · 30 days
3.5K
12% of all-time downloads
igorls/gemma-4-E4B-it-heretic-GGUF
gemma-4-E4B-it-heretic-GGUF is a machine learning model from igorls. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for llama-cpp. The card lists the license as apache-2.0.
Disclaimer: This model has had its safety alignment removed through abliteration. It will comply with requests that the original model would refuse. This model is provided for research and educational purposes. Users…
Downloads · 30 days
3.5K
12% of all-time downloads
All-time downloads
28.7K
Public
Repo size
123 GB
Likes
1
Public
Click a slice to open those files.
.gguf41.4 GB · 100%
From the Hugging Face model README
Disclaimer: This model has had its safety alignment removed through abliteration. It will comply with requests that the original model would refuse. This model is provided for research and educational purposes. Users are solely responsible for how they use this model and any content it generates. The creators assume no liability for misuse.
Abliterated (decensored) version of google/gemma-4-E4B-it, created using Heretic v1.2.0 with Arbitrary-Rank Ablation (ARA) and row-norm preservation.
| Quantization | Size | Description |
|---|---|---|
| BF16 | 15 GB | Full precision (bfloat16) |
| Q8_0 | 7.5 GB | 8-bit, near-lossless |
| Q6_K | 5.8 GB | 6-bit, high quality |
| Q5_K_M | 5.4 GB | 5-bit, good quality |
| Q4_K_M | 5.0 GB | 4-bit, recommended for most users |
| Metric | This model | Original model (google/gemma-4-E4B-it) |
|---|---|---|
| PIQA acc_norm | 0.5767 | 0.5734 |
| Refusals | 3/100 | 99/100 |
The abliterated model slightly outperforms the base on PIQA (+0.0033) while reducing refusals from 99/100 to 3/100.
Note: Vision is not supported via GGUF/Ollama for Gemma 4 custom models (as of Ollama v0.20.0). Ollama's native
gemma4renderer does not expose vision to the llama.cpp backend for custom GGUFs.For vision tasks, use the safetensors version via Transformers or Unsloth:
igorls/gemma-4-E4B-it-hereticThe
mmproj-F16.ggufis included for future compatibility when Ollama adds Gemma 4 vision support for custom GGUFs.
# Download the GGUF (e.g. Q8_0)
# Create a Modelfile:
cat > Modelfile << 'EOF'
FROM ./gemma-4-E4B-it-heretic-Q8_0.gguf
SYSTEM "You are a helpful assistant."
PARAMETER temperature 0.7
PARAMETER top_p 0.95
PARAMETER top_k 64
EOF
# Import and run
ollama create gemma4-e4b-heretic -f Modelfile
ollama run gemma4-e4b-heretic
llama-cli -m gemma-4-E4B-it-heretic-Q4_K_M.gguf -p "Hello, how are you?" -n 256
| Parameter | Value |
|---|---|
| start_layer_index | 21 |
| end_layer_index | 41 |
| preserve_good_behavior_weight | 0.2710 |
| steer_bad_behavior_weight | 0.2250 |
| overcorrect_relative_weight | 0.8196 |
| neighbor_count | 12 |