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

sakamakismile/Huihui-gemma-4-31B-it-abliterated-v2-NVFP4

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

Below is the per-quantization compatibility for this model.

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

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/sakamakismile%2FHuihui-gemma-4-31B-it-abliterated-v2-NVFP4"
Response includes
  • classification m8
  • files 11
  • hub_downloads_all_time 11,509
  • author_summary 35 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.1.0
M8
Primary method

Repackaging

Applied on top of layer-wise ablation inherited from the base model.
Confidence
MEDIUM
Inherited from base model
Why this label 2 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.
  • weight_format = fp8 (FP8/NVFP4)
  • catalog ancestor huihui-ai/Huihui-gemma-4-31B-it-abliterated-v2 is labeled M3
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
12K
70 last 30d - cooling
Likes
2
Model age
7mo ago
created 2026-04-16
Downloads over time
Now 11.7K → from 48 ↑ 24,367%
04.3K8.6K12.9K 48 on Apr 15 11.7K on Nov 27 11.7K on Nov 26 AprMayJunJulAugSepOctNov
Apr 15 → Nov 27 · 112 snapshots · spans 226 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
Tags
transformers safetensors gemma4 image-text-to-text nvfp4 quantized abliterated vllm compressed-tensors blackwell multimodal conversational

Related

Total size
19.1 GB
Files
11
Quantizations
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-04-16 09:14

Files by quantization

Weights 1 file 19.0 GB
model.safetensors 19.0 GB b238bac3 download
Auxiliary files 10 files 30.7 MB
tokenizer.json 30.7 MB 5d84efaa download
config.json 18.6 KB 47529eae download
chat_template.jinja 11.8 KB 33c51c2d download
README.md 6.08 KB 88e617e6 download
TURBOQUANT_GUIDE.md 4.14 KB 4e5ac644 download
tokenizer_config.json 2.62 KB 59dd4b62 download
processor_config.json 1.65 KB 5465974d download
.gitattributes 1.53 KB 52373fe2 download
recipe.yaml 219 B 303fa8af download
generation_config.json 203 B 3110a9b4 download

README from Hugging Face, captured 2026-08-22


license: gemma
base_model: huihui-ai/Huihui-gemma-4-31B-it-abliterated-v2
tags:

  • gemma4
  • nvfp4
  • quantized
  • abliterated
  • vllm
  • compressed-tensors
  • blackwell
  • multimodal
    library_name: transformers
    pipeline_tag: image-text-to-text
    model_type: gemma4
    quantized_by: Lna-Lab

Huihui-gemma-4-31B-it-abliterated-v2-NVFP4

NVFP4 quantized version of huihui-ai/Huihui-gemma-4-31B-it-abliterated-v2 — an abliterated (uncensored) Gemma 4 31B dense model with multimodal capability.

59 GB → 20.5 GB. Single NVIDIA Blackwell GPU.

Why This Model

Gemma 4 31B Dense uses all 31B parameters on every token — unlike the 26B-A4B MoE variant (3.8B active). This means:

  • Deeper reasoning per token at the cost of speed
  • No routing noise — deterministic compute path
  • 262K context with multimodal (vision) support
  • Abliterated — no refusals for local agent workflows

Key Specs

Base model huihui-ai/Huihui-gemma-4-31B-it-abliterated-v2
Architecture Gemma 4 Dense — 31B parameters, 60 layers
Quantization NVFP4 W4A4 (weights FP4, activations FP4, scales FP8)
Format compressed-tensors (native vLLM support)
Tool vllm-project/llm-compressor (main)
Calibration 32 samples, neuralmagic/calibration, seq_len=2048
Size 20.5 GB
Max context 262,144 tokens
Requires NVIDIA Blackwell GPU (SM 120)

Quickstart

Standard (vLLM)

vllm serve Lna-Lab/Huihui-gemma-4-31B-it-abliterated-v2-NVFP4 \
    --max-model-len 32768 \
    --gpu-memory-utilization 0.90

With reasoning + tool calling

vllm serve Lna-Lab/Huihui-gemma-4-31B-it-abliterated-v2-NVFP4 \
    --max-model-len 32768 \
    --reasoning-parser gemma4 \
    --tool-call-parser gemma4 \
    --enable-auto-tool-choice

Docker

docker run --gpus '"device=0"' -p 8016:8016 \
    -v /path/to/model:/models/current:ro \
    --shm-size 16gb \
    vllm/vllm-openai:cu130-nightly \
    vllm serve /models/current --port 8016 --max-model-len 32768

Benchmark

Single NVIDIA RTX PRO 6000 Blackwell (96 GB VRAM).

Test Speed Tokens Result
English (CAP theorem) 51.4 tok/s 256 PASS
Code (async fetcher) 51.4 tok/s 512 PASS
Math (Bayes' theorem) 51.3 tok/s 512 PASS
Container burst (×3) 51.6 tok/s 256 PASS — stable

Sustained: ~51 tok/s (single GPU, CUDA Graph PIECEWISE).

Slower than Gemma 4 26B-A4B MoE (~160 tok/s) because all 31B parameters are active per token vs. 3.8B for MoE. Trade-off: deeper reasoning per token.

Quantization Details

Recipe

from llmcompressor.modifiers.quantization import QuantizationModifier

recipe = QuantizationModifier(
    targets="Linear",
    scheme="NVFP4",
    ignore=["re:.*vision.*", "re:.*audio.*", "lm_head", "re:.*embed.*"],
)

Following RedHatAI/gemma-4-31B-it-NVFP4 proven recipe.

Calibration

Reproduction

from transformers import Gemma4ForConditionalGeneration, AutoProcessor
from datasets import load_dataset
from llmcompressor import oneshot
from llmcompressor.modifiers.quantization import QuantizationModifier
import torch

MODEL_ID = "huihui-ai/Huihui-gemma-4-31B-it-abliterated-v2"
model = Gemma4ForConditionalGeneration.from_pretrained(MODEL_ID, dtype="auto", trust_remote_code=True)
processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True)

recipe = QuantizationModifier(
    targets="Linear", scheme="NVFP4",
    ignore=["re:.*vision.*", "re:.*audio.*", "lm_head", "re:.*embed.*"],
)

ds = load_dataset("neuralmagic/calibration", name="LLM", split="train[:32]")
def preprocess(example):
    messages = [{"role": m["role"], "content": [{"type": "text", "text": m["content"]}]}
                for m in example["messages"]]
    return processor.apply_chat_template(messages, return_tensors="pt", padding=False,
        truncation=True, max_length=2048, tokenize=True, add_special_tokens=False,
        return_dict=True, add_generation_prompt=False)
ds = ds.map(preprocess, batched=False, remove_columns=ds.column_names)

def data_collator(batch):
    assert len(batch) == 1
    return {k: (torch.tensor(v) if k != "pixel_values"
                else torch.tensor(v, dtype=torch.bfloat16).squeeze(0))
            for k, v in batch[0].items()}

oneshot(model=model, recipe=recipe, dataset=ds,
        max_seq_length=2048, num_calibration_samples=32, data_collator=data_collator)

model.save_pretrained("output-NVFP4", save_compressed=True)
processor.save_pretrained("output-NVFP4")

Environment

Package Version
torch 2.11.0+cu130
transformers 5.5.4
llmcompressor 0.1.dev (main @ 3084520)
compressed-tensors 0.15.1a20260414
CUDA 13.0

Requirements

  • GPU: NVIDIA Blackwell (SM 120)
  • VRAM: 21 GB minimum (model only), ~92 GB for 128K context
  • Software: vLLM nightly (cu130)

Notes

  • Abliterated (uncensored). Use responsibly.
  • Vision tower preserved in BF16 — multimodal works.
  • NVFP4 is Blackwell-specific. Will not work on Ampere/Hopper.
  • Dense 31B is slower than MoE 26B-A4B (~51 vs ~160 tok/s) but reasons deeper per token.

Credits

Support the Base Model Author

README history 2 versions

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

  1. 2026-04-16 Upload README.md with huggingface_hub 9d18042 6.1 KB
    Loading...
  2. 2026-04-16 Upload folder using huggingface_hub 11c224c 8 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