Downloads · 30 days
137
4% of all-time downloads
aday777/gemma-4-31B-it-abliterated-NVFP4
gemma-4-31B-it-abliterated-NVFP4 is a text generation model from aday777. Use it when you need the model to write or continue text. It is set up for vllm. The card lists the license as apache-2.0.
An abliterated (refusal-direction removed) build of google/gemma-4-31B-it, quantized to plain NVFP4 (4-bit weights and activations) with llm-compressor / compressed-tensors, for native FP4 inference on NVIDIA Blackwel…
Downloads · 30 days
137
4% of all-time downloads
All-time downloads
3.3K
Public
Parameters
31.3B
20.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors20.4 GB · 100%
How the weights are stored.
U829.3B · 94%
From the Hugging Face model README
An abliterated (refusal-direction removed) build of
google/gemma-4-31B-it,
quantized to plain NVFP4 (4-bit weights and activations) with
llm-compressor / compressed-tensors, for native FP4 inference on
NVIDIA Blackwell (sm_120) GPUs under vLLM.
⚠️ Safety notice. Abliteration removes the model's learned refusal behavior. This model will attempt to answer prompts the original
-itmodel would decline. It is intended for research and use on your own hardware. You are responsible for how you use it; see Intended use & limitations below.
At the time it was made, no public checkpoint combined all three of:
NVFP4_AWQ, which stock vLLM rejects), andExisting NVFP4 Gemma-4 builds were either the stock/censored model, the
NVFP4_AWQ variant, or shipped only in ARM-only images. This repo fills that
gap by self-quantizing a bf16 abliterate to plain NVFP4.
This is a modified derivative of google/gemma-4-31B-it. Two changes:
embed_tokens,
per-layer attention o_proj and MLP down_proj). The ablation is baked
into the weights — no inference-time hooks required.Linear layers only. The vision tower,
multimodal projector, audio modules, token embeddings and the (tied)
lm_head are left in higher precision. See recipe.yaml in this repo for
the exact scheme and ignore list.sm_120, e.g. RTX PRO
Blackwell). NVFP4 activation quantization needs hardware FP4 support.compressed-tensors NVFP4 support.Gemma 4 ships an official EAGLE/MTP-style draft,
google/gemma-4-31B-it-assistant,
which vLLM drives as a native multi-token speculator. Use "method": "mtp"
(passing "draft_model" for a Gemma-4 assistant silently disables MTP):
vllm serve aday777/gemma-4-31B-it-abliterated-NVFP4 \
--tensor-parallel-size 2 \
--max-model-len 8192 \
--gpu-memory-utilization 0.88 \
--speculative-config '{"model": "google/gemma-4-31B-it-assistant", "num_speculative_tokens": 3, "method": "mtp"}' \
--port 8003
Drop the --speculative-config line to serve without speculative decoding.
gemma-4-31B-it still apply.Derived from google/gemma-4-31B-it by Google DeepMind, licensed under the
Apache License 2.0 (see Gemma 4 license).
This derivative is distributed under the same license; a copy of the Apache 2.0
License is included as LICENSE. Per the license, note that these files have
been modified from the original (abliterated and NVFP4-quantized as described
above). Please also review Google's Gemma prohibited-use policy.
The model was produced with directional-ablation + llm-compressor NVFP4 PTQ.
The exact quantization recipe is in recipe.yaml. Abliteration calibration used
matched harmful/harmless instruction sets and selected the refusal direction by
the layer that most reduced refusals on a validation split.
If this model is useful to you, Bitcoin donations are welcome:
bc1q5ayht3fxhj0v95fk0z8l2f6900g3awdsw5842p