← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

pekkAi/Gemma-4-12B-it-abliterated-NVFP4

pekkAi Gemma 4.2B second-order
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/pekkAi%2FGemma-4-12B-it-abliterated-NVFP4"
Response includes
  • classification m1
  • files 13
  • hub_downloads_all_time 122,990
  • author_summary 11 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
124K
124 last 30d - cooling
Likes
4
Model age
5mo ago
created 2026-06-07
Downloads over time
Now 123.8K → from 4.3K ↑ 2,781%
045.3K90.5K135.8K 4.3K on Jun 10 123.8K on Nov 25 JunJulAugSepOctNov
Jun 10 → Nov 25 · 102 snapshots · spans 168 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
apache-2.0
Tags
transformers safetensors gemma4_unified image-text-to-text abliterated uncensored nvfp4 modelopt vllm sglang any-to-any base_model:huihui-ai/Huihui-gemma-4-12B-it-abliterated

Related

Total size
10.9 GB
Files
13
Quantizations
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-11-15 18:28

Files by quantization

Weights 2 files 10.9 GB
model-00001-of-00002.safetensors 9.30 GB 8e427ccb download
model-00002-of-00002.safetensors 1.61 GB c372026c download
Auxiliary files 11 files 31.0 MB
tokenizer.json 30.7 MB cc8d3a0c download
.quant_summary.txt 167 KB f14efa3d download
model.safetensors.index.json 107 KB e9d2711b download
chat_template.jinja 17.1 KB e61bbfe9 download
config.json 7.39 KB dc0a1683 download
README.md 5.13 KB 91c05b80 download
hf_quant_config.json 3.03 KB 05021c2b download
tokenizer_config.json 2.05 KB 68354f96 download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.35 KB b889adcd download
generation_config.json 260 B d09dccf1 download

README latest version on record, committed 2026-11-15


library_name: transformers
license: apache-2.0
license_link: https://ai.google.dev/gemma/docs/gemma_4_license
pipeline_tag: any-to-any
base_model:

  • huihui-ai/Huihui-gemma-4-12B-it-abliterated
    tags:
  • abliterated
  • uncensored
  • nvfp4
  • modelopt
  • vllm
  • sglang

pekkAi/Gemma-4-12B-it-abliterated-NVFP4

This model pekkAi/Gemma-4-12B-it-abliterated-NVFP4 was quantized to NVFP4 format from huihui-ai/Huihui-gemma-4-12B-it-abliterated using Model-Optimizer.

Static NVFP4 weight scales from MSE FP8-scale sweep and dynamic NVFP4 inputs to MLP/MoE layers, plus FP8 KV-cache cast mode.

Runs on both vLLM and SGLang. Tested working on RTX 5090 32Gb py3.13+torch2.11+cu130

Update 2026-11-15: weights and config were fixed so the model now loads on vLLM as well as SGLang (vision embedder tensors renamed, config.json / hf_quant_config.json updated). If you downloaded before this date, re-download model-00002-of-00002.safetensors, model.safetensors.index.json, config.json and hf_quant_config.json.

Serving with vLLM (RTX 5090, 32GB)

Tested on vLLM 0.33.0rc1.dev475+g3d23773f1.

vllm serve Gemma-4-12B-it-abliterated-NVFP4 \
  --quantization modelopt \
  --kv-cache-dtype fp8 \
  --max-model-len 16384 \
  --max-num-seqs 4 \
  --max-num-batched-tokens 8192 \
  --gpu-memory-utilization 0.6 \
  --reasoning-parser gemma4 \
  --tool-call-parser gemma4 \
  --enable-auto-tool-choice \
  --enable-prefix-caching \
  --async-scheduling \
  --trust-remote-code \
  --default-chat-template-kwargs '{"enable_thinking": false}' \
  --speculative-config '{"method":"mtp","model":"google/gemma-4-12B-it-assistant","num_speculative_tokens":4}' \
  --host 0.0.0.0 --port 8008

--quantization modelopt is required. Set enable_thinking to true for thinking mode. Drop --speculative-config if you don't want the MTP draft model.

Serving with SGLang (RTX 5090, 32GB)

sglang serve \
  --model-path Gemma-4-12B-it-abliterated-NVFP4 \
  --reasoning-parser gemma4 \
  --tool-call-parser gemma4 \
  --speculative-algorithm NEXTN \
  --speculative-draft-model-path google/gemma-4-12B-it-assistant \
  --speculative-num-steps 5 \
  --speculative-num-draft-tokens 6 \
  --speculative-eagle-topk 1 \
  --mem-fraction-static 0.85 \
  --host 0.0.0.0 --port 30000

Installing SGLang with modelopt-ptq support (Thanks to AxionML)

# Editable install of the branch
git clone https://github.com/bzhng-development/sglang.git
cd sglang && git checkout gemma4-modelopt-ptq
pip install uv
uv pip install ./python --torch-backend cu130 # or other cuXXX version

# transformers with Gemma 4 (encoder-free unified) support
uv pip install transformers==5.12

Original Model Card

huihui-ai/Huihui-gemma-4-12B-it-abliterated

This is an uncensored version of google/gemma-4-12B-it created with abliteration (see remove-refusals-with-transformers to know more about it).
This is a crude, proof-of-concept implementation to remove refusals from an LLM model without using TransformerLens.

Note For this model, both the thinking mode and the non-thinking mode have been completely abliterated. Only layers 23-28 have been abliterated.

Important Notice: The weights of the earliest released google/gemma-4-12B-it model have issues. We have already re-ablated and re-uploaded the model. If you have already downloaded it, please re-download.

Usage Warnings

  • Risk of Sensitive or Controversial Outputs: This model’s safety filtering has been significantly reduced, potentially generating sensitive, controversial, or inappropriate content. Users should exercise caution and rigorously review generated outputs.

  • Not Suitable for All Audiences: Due to limited content filtering, the model’s outputs may be inappropriate for public settings, underage users, or applications requiring high security.

  • Legal and Ethical Responsibilities: Users must ensure their usage complies with local laws and ethical standards. Generated content may carry legal or ethical risks, and users are solely responsible for any consequences.

  • Research and Experimental Use: It is recommended to use this model for research, testing, or controlled environments, avoiding direct use in production or public-facing commercial applications.

  • Monitoring and Review Recommendations: Users are strongly advised to monitor model outputs in real-time and conduct manual reviews when necessary to prevent the dissemination of inappropriate content.

  • No Default Safety Guarantees: Unlike standard models, this model has not undergone rigorous safety optimization. huihui.ai bears no responsibility for any consequences arising from its use.

Donation

Your donation helps us continue our further development and improvement, a cup of coffee can do it.
  • bitcoin:
  bc1qqnkhuchxw0zqjh2ku3lu4hq45hc6gy84uk70ge
  • Support our work on Ko-fi!

README history 6 versions

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

  1. 2026-11-15 Fix vision embedder key names and config for vLLM/SGLang 606dd26 5.1 KB
    Loading...
  2. 2026-08-30 Update README.md 2c1bd84 3.9 KB
    Loading...
  3. 2026-06-19 Update README.md 598f6f4 3.9 KB
    Loading...
  4. 2026-06-08 Update README.md d570a67 3.8 KB
    Loading...
  5. 2026-06-07 Update README.md 4234e4e 3.8 KB
    Loading...
  6. 2026-06-07 Create README.md c5e98e9 3.9 KB
    Loading...
Catalog is the map. Apps are the tools.

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

Every GGUF 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