← back to catalog · registered 2026-08-30 12:03

Adolphsson/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-MTP-NVFP4

Adolphsson Gemma 3.5B multimodal second-order
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/Adolphsson%2FGemma-4-E4B-Uncensored-HauhauCS-Aggressive-MTP-NVFP4"
Response includes
  • classification m1
  • files 10
  • hub_downloads_all_time 873
  • author_summary 2 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
873
291 last 30d - stable
Likes
1
Model age
6w ago
created 2026-08-30
Downloads over time
Now992→from0↑0%
03647271.1K0 on Aug 30992 on Oct 14AugSepOct
Aug 30 → Oct 14 · 46 snapshots · spans 45 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
gemma
Languages
sv en
Tags
vllm safetensors gemma4 uncensored abliterated multimodal vision audio nvfp4 w4a4 fp8-embeddings modelopt

Related

Total size
9.06 GB
Files
10
Quantizations
1
Registered
2026-08-30 12:03
Last updated on HF
2026-09-01 10:23

Files by quantization

Auxiliary files 10 files 9.09 GB
model.safetensors 9.06 GB c900c409 download
tokenizer.json 30.7 MB cc8d3a0c download
chat_template.jinja 18.1 KB fbe3b59b download
README.md 7.64 KB 7887ef6f download
config.json 5.56 KB 1fdea43c download
tokenizer_config.json 3.01 KB 6068e357 download
processor_config.json 1.65 KB 5465974d download
.gitattributes 1.53 KB 52373fe2 download
hf_quant_config.json 343 B 68b2aa46 download
generation_config.json 208 B e605bb45 download

README current version from Hugging Face


language: [sv, en]
license: gemma
license_name: gemma
library_name: vllm
pipeline_tag: text-generation
tags:

  • gemma
  • gemma-4
  • multimodal
  • vision
  • audio
  • nvfp4
  • w4a16
  • modelopt
  • vllm
  • speculative-decoding
  • mtp
  • long-context
  • 131k
  • tool-calling
  • uncensored
  • blackwell
  • rtx-5090
    base_model: HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive
    quantization_bit: 4

Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-MTP-NVFP4

A 9.7 GB multimodal (vision + text + audio) checkpoint that fits on a single RTX 5090 and decodes at ~430 tok/s with MTP speculative decoding enabled.

Name breakdown: Gemma-4-E4B (base) → Uncensored-HauhauCS-Aggressive (base fine-tune) → MTP (native multi-token-prediction drafter support, --spec-tokens 5 recommended) → NVFP4 (W4A16 ModelOpt quantization of the text transformer).

This is a community-built, hand-assembled checkpoint: the HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive fine-tune (GGUF) was converted to HF format, quantized to NVFP4 (W4A16) with NVIDIA ModelOpt, and re-assembled with the base model's multimodal encoders (vision tower + audio encoder kept in BF16).

It is not an official Google or HauhauCS release. It exists because nobody had published a native multimodal NVFP4 build of this model that serves with stock vLLM on consumer Blackwell.

What's inside

Component Format Notes
Text transformer (42 layers, 2.56K hidden) NVFP4 W4A16 (group 16) ModelOpt 0.46.0, modelopt_fp4
Vision tower (16 layers) BF16 excluded from quantization
Audio encoder (12 layers) BF16 excluded from quantization
lm_head / embeddings BF16 tied embeddings, excluded
Context window 131,072 tokens sliding (512) + full attention hybrid
Tool calling native --tool-call-parser gemma4

Files: single model.safetensors (9.7 GB, 3,032 tensors) + tokenizer/processor/config.

Serve with vLLM

Verified on vLLM 0.28, Python 3.12, CUDA 13, RTX 5090 (32 GB, shared). Requires the nvidia/cu13 CUDA_HOME layout for FlashInfer:

export CUDA_HOME=$VENV/lib/python3.12/site-packages/nvidia/cu13
export FLASHINFER_EXTRA_CUDAFLAGS="-DCCCL_DISABLE_CTK_COMPATIBILITY_CHECK=1"

vllm serve Adolphsson/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive-MTP-NVFP4 \
  --quantization modelopt_fp4 \
  --port 8000 --host 0.0.0.0 \
  --served-model-name gemma4-e4b-nvfp4 \
  --max-model-len 131072 \
  --gpu-memory-utilization 0.72 \
  --max-num-seqs 8 \
  --limit-mm-per-prompt '{"image":4,"video":2,"audio":4}' \
  --enable-auto-tool-choice \
  --tool-call-parser gemma4 \
  --enable-prefix-caching \
  --mm-processor-cache-gb 2

With the av (PyAV) + soundfile packages installed in the venv, all three modalities are accepted at the API level (pip install av soundfile).

One patch required for audio input (vLLM 0.28 + transformers 5.6): the quantized audio encoder hits a non-contiguous tensor in Gemma4ClippedLinear. In transformers/models/gemma4/modeling_gemma4.py, change the Gemma4ClippedLinear.forward line:

hidden_states = self.linear(hidden_states.contiguous())   # was: self.linear(hidden_states)

This is the only quantized multimodal tower (vision/embeddings are excluded from NVFP4), which is why image input works unpatched but audio input crashes without it (engine death: marlin_gemm … A.stride(1) is not 1).

MTP speculative decoding (~2x decode speed)

This model ships with native MTP support in vLLM 0.28 (Gemma4MTP). Add:

  --spec-model google/gemma-4-e4b-it-assistant \
  --spec-tokens 5

Measured on this checkpoint (RTX 5090, vLLM 0.28, 3 reps):

--spec-tokens Decode (short input) Decode (long input) Accepted tok/iter
off (baseline) 212 tok/s 205 tok/s —
4 419 338 2.61
5 (recommended) 434 368 2.82
6 453 345 1.88
  • K=5 is the measured optimum — the drafter has 4 layers; at K=6 it re-runs the same layers per iteration (note the accepted tok/iter dropping despite one more draft position), with diminishing returns beyond.
  • VRAM cost of the drafter: ~0.1–0.3 GB.
  • For very short outputs (<~200 tokens) MTP can be a slight *loss* (drafter overhead). For typical assistant/chat workloads (>300 token answers) it is a clean ~2x.
  • Table measured with thinking off (chat-template default). With enable_thinking: true the model produces a full reasoning channel and decodes it even faster (measured 624–700 tok/s with MTP K=5) — thought tokens are far more predictable, so drafter acceptance rises. Reasoning-on throughput is therefore higher, not lower, than the table.

Quick test

curl http://localhost:8000/v1/chat/completions -d '{
  "model": "gemma4-e4b-nvfp4",
  "messages": [{"role":"user","content":"Write a short poem about cats"}],
  "max_tokens": 300, "temperature": 0.7
}'

Multimodal (vision) via the OpenAI-compatible input_image content part; audio via input_audio (see known issue below).

Known issues (be honest section)

  1. Audio input required a 1-line patch (fixed, documented above): Gemma4ClippedLinear.forward in transformers' gemma4 module — add .contiguous() before the quantized linear. Without it the engine dies on the first input_audio request. Verified: transcription, name extraction, and word counting all work with the patch (MTP on or off).
  2. Uncensored fine-tune behavior: inherits the HauhauCS-Aggressive training profile (direct, less cautious phrasing). Same model, quantized — expect the same personality as the GGUF.
  3. NVFP4 calibration: quantized with ModelOpt defaults on this checkpoint; text quality is excellent in practice, but per-linear weight_scale_2 divergence across fused QKV is present (vLLM logs a warning) — typical for NVFP4 Gemma-class models.
  4. Reasoning channel is raw-text, not structured: with chat_template_kwargs: {"enable_thinking": true} the model does produce a full reasoning channel (verified, decoding at 624–700 tok/s under MTP — faster than non-thinking because thought tokens are highly predictable). How it is consumable per interface:
    • Chat API + streaming: the thought text arrives as plain content deltas (with a literal "thought\n" prefix to strip). Works in real time — the recommended path for voice/latency pipelines.
    • Chat API, non-streaming: both reasoning and content come back empty — the parser discards the unclosed thought channel.
    • /v1/completions: full raw text in text, fully consumable.
    • The reasoning field is never populated (the uncensored fine-tune emits thought-channel markers the vLLM 0.28 gemma4 parser doesn't map to structured fields). Clients that render thinking in a separate UI panel get an empty panel — consume content and strip the thought prefix instead.

Benchmarks & provenance

Full benchmark methodology, per-position acceptance curves, and raw JSON results: see the author's notes linked below.

License

gemma — derivative of the Gemma 4 E4B base model and the HauhauCS uncensored fine-tune. Subject to the Gemma Terms of Use.

README history 18 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-09-01Upload README.md with huggingface_hub0cc21ac23.7 KB
    Loading...
  2. 2026-09-01Upload README.md with huggingface_hub05631e223.7 KB
    Loading...
  3. 2026-09-01Upload README.md with huggingface_hubd5d7ed523.5 KB
    Loading...
  4. 2026-09-01Upload README.md with huggingface_hub7e24ce623.8 KB
    Loading...
  5. 2026-09-01Upload README.md with huggingface_hub20ad08922.8 KB
    Loading...
  6. 2026-09-01Upload README.md with huggingface_hubfed465a22.3 KB
    Loading...
  7. 2026-08-31Upload README.md with huggingface_hub6e35b0321 KB
    Loading...
  8. 2026-08-31Upload README.md with huggingface_hubc74edb414 KB
    Loading...
  9. 2026-08-31Upload README.md with huggingface_hub4422aa613.5 KB
    Loading...
  10. 2026-08-30Upload README.md with huggingface_hub9a062bf12 KB
    Loading...
  11. 2026-08-30Upload README.md with huggingface_hub9995efc9 KB
    Loading...
  12. 2026-08-30Upload README.md with huggingface_hub0ba69288.6 KB
    Loading...
  13. 2026-08-30Upload README.md with huggingface_hubde9c9448.5 KB
    Loading...
  14. 2026-08-30Upload README.md with huggingface_hubcc7382f8.4 KB
    Loading...
  15. 2026-08-30Upload README.md with huggingface_hub0ba239f8.3 KB
    Loading...
  16. 2026-08-30Upload README.md with huggingface_hube0fc82e8.2 KB
    Loading...
  17. 2026-08-30Upload README.md with huggingface_hub95830b27.6 KB
    Loading...
  18. 2026-08-30Upload README.md with huggingface_hub53db9d67.6 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration