← back to catalog · registered 2026-08-22 13:56

BahamutRU/Gemma4-31B-Uncensored-HauhauCS-1M-GGUF

BahamutRU Gemma 31B GGUF multimodal second-order 1.0M ctx
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/BahamutRU%2FGemma4-31B-Uncensored-HauhauCS-1M-GGUF"
Response includes
  • classification m-uncensored
  • files 9
  • hub_downloads_all_time 3,222
  • author_summary 3 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
3K
450 last 30d - stable
Likes
1
Model age
3mo ago
created 2026-07-13
Downloads over time
Now3.4K→from878↑287%
7521.7K2.7K3.6K878 on Jul 153.4K on Oct 11JulAugSepOct
Jul 15 → Oct 11 · 53 snapshots · spans 88 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
gguf long-context yarn gemma4 uncensored mtp speculative-decoding vision llama.cpp ollama text-generation base_model:HauhauCS/Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced-MTP

Related

Total size
17.7 GB
Files
9
Quantizations
2
Registered
2026-08-22 13:56
Last updated on HF
2026-07-13 16:37

Files by quantization

mmproj 1 file 1.12 GB
mmproj-gemma31b-hauhau.gguf 1.12 GB 7bef0d0f download
Auxiliary files 8 files 17.7 GB
gemma4-31b-uncensored-1M-Q4.gguf 17.4 GB 0af0e296 download
mtp-gemma-31b.gguf 267 MB b5c4e583 download
banner.jpeg 459 KB 3c608821 download
niah_heatmap.png 63.4 KB e7598c67 download
mtp_speedup.png 37.4 KB 5360d3fb download
README.md 6.45 KB 349f5cab download
results.jsonl 4.41 KB 580d4c0b download
.gitattributes 1.71 KB c7d590e3 download

README current version from Hugging Face


license: gemma
pipeline_tag: text-generation
base_model: HauhauCS/Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced-MTP
tags:

  • gguf
  • long-context
  • yarn
  • gemma4
  • uncensored
  • mtp
  • speculative-decoding
  • vision
  • llama.cpp
  • ollama

Gemma4-31B Uncensored: 1M Context + MTP + Vision

HauhauCS/Gemma4-31B-QAT-Uncensored-HauhauCS-Balanced-MTP (31B dense, Google QAT checkpoint) with a 1,048,576-token context baked in (4x the native 262,144), shipping with its MTP speculative-decoding draft head and vision tower. All numbers below were measured on these exact files.

Capability Status
1M contextCertified: 10/10 at every rung from 262K to 1M, f16 KV, on a single H200
MTP speculative decoding69.2 to 101.0 tok/s (+46%), acceptance 0.658 (measured on this trunk, RTX 5090)
VisionVerified July 6, 2026: reads image text and identifies objects
UncensoredHauhauCS Balanced abliteration; trunk weights bit-identical to the source release

Needle-in-a-haystack: certified to 1,048,576 tokens

Full ladder, 10 needles per rung, depths 5 to 95 percent, temperature 0, f16 KV, scored July 9, 2026 on a single H200 (a dense 31B at f16 KV needs an 82 GB cache at 1M, beyond any 32 GB card):

Rung Score
262,144 10/10
393,216 10/10
524,288 10/10
786,432 10/10
1,048,576 10/10

Raw evidence is in results.jsonl. The first Gemma 4 31B we know of that is needle-perfect at a million tokens.

MTP speculative decoding

The draft head predicts ahead and the trunk verifies every token, so output is identical to standard decoding, only faster. Measured speedup on this uncensored trunk beats the ~35 percent claimed upstream.

Files

File Size Role
gemma4-31b-uncensored-1M-Q4.gguf 18.7 GB Trunk, 1M baked, QAT 4-bit
mtp-gemma-31b.gguf 280 MB MTP draft head, pair with -md
mmproj-gemma31b-hauhau.gguf 1.2 GB Vision tower, pair with --mmproj
niah_heatmap.png, mtp_speedup.png, results.jsonl small Verification evidence

Every file, every mirror

Nothing was discontinued: every quant is one click away. Hugging Face carries the curated picks, ModelScope always carries everything, and Ollama serves ready-to-run tags.

File Size Hugging Face ModelScope Ollama
gemma4-31b-uncensored-1M-Q4.gguf 18.7 GB download download -
mmproj-gemma31b-hauhau.gguf 1.2 GB download download -
mtp-gemma-31b.gguf 280 MB download download -

Run it

llama.cpp, everything on:

llama-server -m gemma4-31b-uncensored-1M-Q4.gguf \
  -c 1048576 -np 1 --jinja \
  -md mtp-gemma-31b.gguf --spec-type draft-mtp --spec-draft-n-max 3 \
  --mmproj mmproj-gemma31b-hauhau.gguf

Ollama (1M and vision work; Ollama has no speculative decoding yet, so the MTP head adds no speed there):

FROM ./gemma4-31b-uncensored-1M-Q4.gguf
RENDERER gemma4
PARSER gemma4
PARAMETER num_ctx 262144

The RENDERER and PARSER lines avoid imported-GGUF template bugs under tool-heavy use. Raise num_ctx as memory allows.

How to actually use a 1M-context model

Long context is a capability, not a magic mode. Habits that measurably help (from our RULER and adherence testing across this fleet):

  1. Re-state your standing instructions near the end of long prompts. Recency wins over depth; a short reinjection of the rules beats hoping the model remembers page one.
  2. Prefer one big reference dump over a long accumulated conversation. Fresh session per task, context used as a library.
  3. After any compaction or summarization step, repeat your active rules yourself.
  4. For retrieval-heavy work on this model family, run thinking OFF (see the RULER table: thinking mode halves retrieval scores at long range).
  5. Expect the extremes to cost: prefill at 500K+ takes real time on any hardware. Budget for it or stage your questions.

How this was built

YaRN rope-scaling metadata (factor 4.0 over native 262,144) baked into the GGUF header with gguf-py; weights are bit-identical to the HauhauCS release, no fine-tuning. Gemma 4's dual-rope design takes YaRN on its global-attention layers. Certification harness: 10 needles per rung at depths 5 to 95 percent, temperature 0, seeded prompts, f16 KV only. Method and tooling: github.com/satindergrewal/aviary-1m.

For base capability benchmarks see Google's official Gemma 4 cards; uncensoring quality versus the official trunk has not been independently benchmarked here.

Credits

Base model and QAT: Google (Gemma license; its terms flow down to these files). Uncensoring and packaging: HauhauCS. MTP head: Unsloth (via the HauhauCS repo). 1M YaRN extension, benchmarking, and certification: SatGeze.

Sister repos: 12B | 26B-A4B | 31B | Qwen3.6-35B

Mirrors: Hugging Face | ModelScope

README history 1 version

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

  1. 2026-07-13Duplicate from satgeze/Gemma4-31B-Uncensored-HauhauCS-1M-GGUFf6e4a4a6.4 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