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

satgeze/Gemma4-12B-Uncensored-HauhauCS-1.5M-GGUF

satgeze Gemma 12B GGUF multimodal second-order 1.6M 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/satgeze%2FGemma4-12B-Uncensored-HauhauCS-1.5M-GGUF"
Response includes
  • classification m-uncensored
  • files 12
  • hub_downloads_all_time 7,434
  • author_summary 7 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
7K
765 last 30d - stable
Likes
5
Model age
3mo ago
created 2026-07-06
Downloads over time
Now7.7K→from1.9K↑313%
1.6K3.8K6.1K8.3K1.9K on Jul 107.7K on Oct 12JulAugSepOct
Jul 10 → Oct 12 · 55 snapshots · spans 94 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-12B-QAT-Uncensored-HauhauCS-Balanced

Related

Total size
7.11 GB
Files
12
Quantizations
2
Registered
2026-08-22 13:56
Last updated on HF
2026-07-10 22:59

Files by quantization

mmproj 1 file 167 MB
mmproj-gemma12b-hauhau.gguf 167 MB b59e8154 download
Auxiliary files 11 files 7.11 GB
gemma4-12b-uncensored-1.5M-Q4.gguf 6.87 GB 47a286af download
mtp-gemma-12b.gguf 242 MB c50c91c3 download
banner.jpeg 468 KB 8d2f6558 download
niah_heatmap.png 110 KB 8587057d download
README.md 5.53 KB 4f2567ab download
results-f16.jsonl 1.89 KB b9c6498f download
.gitattributes 1.77 KB 878ce306 download
results-q8kv.jsonl 1.26 KB 7e10f826 download
results-8x-q8kv.jsonl 1.26 KB c7d3cd13 download
results_1572864_f16_h200.jsonl 653 B 76e945d6 download
results-8x-f16.jsonl 645 B e62978bc download

README current version from Hugging Face


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

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

Gemma4-12B Uncensored 1.5M: the longest needle-certified context we know of

The same HauhauCS uncensored Gemma-4-12B trunk as our 1M repo, baked with YaRN factor 6 for a 1,572,864-token maximum context, and needle-certified far past the million mark. Every number below was measured on a single RTX 5090 (32GB); raw per-needle records ship in this repo.

Tier Context Result
Certified (f16 KV)262K / 1M / 1,310,72010/10 at every rung, including 1.31M
Budget (q8_0 KV)1M10/10
Budget (q8_0 KV)1,572,8649/10 (one miss, published)

The heatmap

10 needles per rung at depths 5 to 95 percent, temperature 0, seeded haystacks. The f16 tier is the certification; the q8 KV tier is the labeled budget config that fits the higher rungs into 32GB. At 1.57M with f16 KV the cache no longer fits a 32GB card, so that rung was run on an H200 (July 9, 2026): 6/10. Past the certified 1.31M mark the extreme edge degrades, and we report it as measured. The q8 KV budget tier at the same rung measured 9/10 on a different seed; per-needle records for both are in this repo.

Where the ceiling is, honestly

We also baked and tested a factor-8 variant (2.1M max) so nobody has to wonder:

Factor 1M 1.57M 2M
6x (this repo) 10/10 9/10 (q8 KV) not reachable by design
8x (tested, not shipped) 9/10 9/10 (q8 KV) 6/10 (q8 KV)

Two findings worth stealing: the YaRN factor itself costs quality (8x drops a needle at 1M where 6x is clean, so bake the smallest factor that reaches your target), and 2M is where retrieval bends (6/10, degradation spread across depths). The 2M line of work is closed: 6/10 does not meet our bar, the 8x build stays unshipped, and the data is published instead. All four raw ladders are in the results jsonl files, misses included.

Next for this build: NVIDIA's RULER benchmark (multikey NIAH, variable tracking, aggregation) at lengths up to and beyond 1M. Results will be published here either way, sample counts stated.

Files

File Size Role
gemma4-12b-uncensored-1.5M-Q4.gguf 7.4 GB Trunk, 1.57M max context baked (Google QAT 4-bit)
mtp-gemma-12b.gguf 254 MB MTP draft head, pair with -md (+51 percent decode measured on this trunk)
mmproj-gemma12b-hauhau.gguf 175 MB Vision tower, pair with --mmproj
niah_heatmap.png, results-*.jsonl small Verification evidence, all four ladders

Run it

llama-server -m gemma4-12b-uncensored-1.5M-Q4.gguf \
  -c 1310720 -np 1 --jinja \
  -md mtp-gemma-12b.gguf --spec-type draft-mtp --spec-draft-n-max 3 \
  --mmproj mmproj-gemma12b-hauhau.gguf

For the certified experience use up to -c 1310720 with default f16 KV. To reach the full 1.57M on a 32GB card add --cache-type-k q8_0 --cache-type-v q8_0 (the budget tier above, 9/10 measured). Ollama:

FROM ./gemma4-12b-uncensored-1.5M-Q4.gguf
RENDERER gemma4
PARSER gemma4
PARAMETER num_ctx 262144

Raise num_ctx as desired; Gemma's 5:1 sliding-window attention keeps the KV cache small enough that this entire certification ran inside a 32GB GPU.

How this was built

YaRN rope-scaling metadata (factor 6.0 over native 262,144) written into the GGUF header with gguf-py; weights bit-identical to the HauhauCS release, no fine-tuning. Certification harness: 10 needles per rung, depths 5 to 95 percent, temperature 0, f16 KV for certified rungs, q8 KV clearly labeled. Method and tooling: github.com/satindergrewal/aviary-1m. Sister repo with the 4x/1M build and full ladder: Gemma4-12B-Uncensored-HauhauCS-1M-GGUF.

How to actually use a 1M-context model

Habits that measurably help, from our RULER, hop and adherence testing across this fleet:

  1. Re-state standing instructions near the end of long prompts; recency beats depth.
  2. One big reference dump beats a long accumulated conversation. Fresh session per task.
  3. After any compaction or summarization, repeat your active rules yourself.
  4. Prefill at 500K+ takes real time on any hardware; stage your questions accordingly.
  5. Know your quant: the results tables on this card show what each quant actually holds at depth; pick the strongest one your memory allows.

Credits

Base model and QAT: Google (Gemma license; terms flow down). Uncensoring: HauhauCS. MTP head: Unsloth (via the HauhauCS repo). YaRN 1.5M extension, beyond-1M certification, and the 2M ceiling study: SatGeze.

Mirrors: Hugging Face | ModelScope

README history 4 versions

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

  1. 2026-07-10card: add 'How to actually use a 1M-context model' section (fleet-wide)a52b1f35.5 KB
    Loading...
  2. 2026-07-09Upload README.md with huggingface_hub48c8e234.9 KB
    Loading...
  3. 2026-07-06Upload README.md with huggingface_hubbda5f084.7 KB
    Loading...
  4. 2026-07-06Upload folder using huggingface_huba01f66a4.5 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