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

wangzhang/gemma-4-31B-it-abliterated-GGUF

wangzhang Gemma 31B GGUF second-order 262K ctx
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/wangzhang%2Fgemma-4-31B-it-abliterated-GGUF"
Response includes
  • classification m8
  • files 10
  • hub_downloads_all_time 17,366
  • author_summary 28 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M8
Primary method

Repackaging

Applied on top of direct removal inherited from the base model.
Confidence
MEDIUM
Inherited from base model
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=1
  • assume M1 (base ablation) + M8 (GGUF quant) - default when producer unknown
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
23K
4K last 30d - stable
Likes
11
Model age
7mo ago
created 2026-04-20
Downloads over time
Now 22.6K → from 603 ↑ 3,654%
08.3K16.6K24.8K 603 on Apr 22 22.6K on Nov 26 AprMayJunJulAugSepOctNov
Apr 22 → Nov 26 · 111 snapshots · spans 218 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.

Variants by this author 2 formats · 5K downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

License
gemma
Quantizations
F16 Q4_K Q5_K Q8_0
Tags
llama.cpp gguf gemma4 gemma quantized text-generation q4_k_m q5_k_m base_model:wangzhang/gemma-4-31B-it-abliterated base_model:quantized:wangzhang/gemma-4-31B-it-abliterated license:apache-2.0 endpoints_compatible

Related

Total size
143 GB
Files
10
Quantizations
5
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-08-29 17:03

Files by quantization

Q4_K_M 1 file 17.4 GB
gemma4-31b-abliterated-Q4_K_M.gguf 17.4 GB 228a5d15 download
Q4_K_M 1 file 17.4 GB
gemma-4-31B-it-abliterated-Q4_K_M.gguf 17.4 GB bf5b527f download
Q5_K_M 1 file 20.3 GB
gemma-4-31B-it-abliterated-Q5_K_M.gguf 20.3 GB 6a711d5e download
Q8_0 1 file 30.4 GB
gemma4-31b-abliterated-Q8_0.gguf 30.4 GB f70913d5 download
F16 1 file 57.2 GB
gemma4-31b-abliterated-F16.gguf 57.2 GB e9d95ba3 download
Auxiliary files 5 files 21.5 KB
LICENSE 11.1 KB d6456956 download
README.md 7.45 KB b9d3bbe2 download
.gitattributes 1.83 KB 2d520194 download
conversion-info.json 932 B cd50e393 download
checksums.sha256 210 B 595f6fd1 download

README latest version on record, committed 2026-08-29


license: apache-2.0
license_link: LICENSE
base_model: wangzhang/gemma-4-31B-it-abliterated
pipeline_tag: text-generation
library_name: llama.cpp
tags:

  • gguf
  • llama.cpp
  • gemma4
  • gemma
  • quantized
  • text-generation
  • q4_k_m
  • q5_k_m

Gemma 4 31B IT Abliterated GGUF

GGUF builds for wangzhang/gemma-4-31B-it-abliterated, converted from the Trial 40 safetensors release.

The source model was optimized with Abliterix using vLLM-first evaluation. In the final optimization run, Trial 40 reduced the evaluation refusal count from 99/100 at baseline to 7/100, with an additional 15-prompt benign over-refusal replay showing 0/15 refusals. See the source model card for the full training and evaluation notes.

Files

File Size Use case
gemma-4-31B-it-abliterated-Q4_K_M.gguf ~17 GiB Recommended default. Good speed/quality balance.
gemma-4-31B-it-abliterated-Q5_K_M.gguf ~20 GiB Higher quality, still comfortable on 32 GB+ unified/VRAM systems.

SHA256 checksums are included in checksums.sha256.

Older legacy GGUF files may also be present in this repository under shorter filenames. For this release, prefer the two files listed above.

Recommended Runtime

Use a recent llama.cpp build. Gemma 4 support is new, so older binaries may fail to load this model.

This release was converted and validated with:

llama.cpp commit: 683c5acb90478a9e7e20eb65a1bfee334635216d
source model commit: 18b899a520750fa64641eb7554e00212ecea5289

Quick local test on an Apple M4 Max 128 GB MacBook Pro with Metal:

Q4_K_M: loaded successfully, text mode, ~20 tok/s short-generation sanity check
Q5_K_M: loaded successfully, text mode, ~16 tok/s short-generation sanity check

These are sanity-check numbers, not a benchmark.

llama.cpp Usage

./llama-cli \
  -m gemma-4-31B-it-abliterated-Q4_K_M.gguf \
  -ngl 99 \
  -c 4096 \
  --conversation \
  --single-turn \
  -p "Write a concise explanation of what GGUF quantization is."

For lower-memory systems, start with Q4_K_M. For better quality on machines with more memory, use Q5_K_M.

Conversion Notes

The GGUF files were produced from the BF16 safetensors source with the latest llama.cpp converter, then quantized using llama-quantize.

python convert_hf_to_gguf.py ./gemma-4-31B-it-abliterated \
  --outfile gemma-4-31B-it-abliterated-BF16.gguf \
  --outtype bf16

llama-quantize gemma-4-31B-it-abliterated-BF16.gguf \
  gemma-4-31B-it-abliterated-Q4_K_M.gguf Q4_K_M

llama-quantize gemma-4-31B-it-abliterated-BF16.gguf \
  gemma-4-31B-it-abliterated-Q5_K_M.gguf Q5_K_M

During conversion, llama.cpp reported general.architecture = gemma4 and modalities = text.

Disclaimer

This is an experimental research model conversion. Users are responsible for evaluating quality, safety, legality, and suitability for their own deployment context. The Gemma license applies.

Provenance and Modification Notice

  • Immediate source checkpoint: wangzhang/gemma-4-31B-it-abliterated
  • Ultimate upstream model: google/gemma-4-31B-it
  • Exact base revision used: Not recorded in the existing release artifacts; the current upstream HEAD is not substituted.
  • Modification method: Abliterix weight-space / representation intervention intended to reduce refusal behavior.
  • Additional transformation: GGUF conversion/quantization; see the existing quantization details in this card.
  • Modified and published by: Wangzhang Wu
  • Repository first published: 2026-04-20 (Hugging Face repository metadata)

The original model weights and/or derived checkpoint were modified. This repository is an independent derivative and is not an official release of the upstream model developer.

License and Attribution

The governing upstream license is Apache License 2.0. A copy is included in LICENSE. License source audited on 2026-08-29: https://ai.google.dev/gemma/apache_2

All applicable upstream copyright, attribution, acceptable-use, and other license terms remain in effect. This repository grants no rights beyond those provided by the upstream license. Downstream users must preserve applicable license and attribution notices.


Disclaimer and Responsible Use / 免责声明与安全使用声明

English

This is an experimental, modified model provided for research, evaluation, and other lawful purposes. Its safety alignment, refusal behavior, or other safeguards may have been weakened or removed. It may produce inaccurate, biased, offensive, explicit, dangerous, or illegal content. Outputs are not professional advice and must not be relied on for medical, legal, financial, safety-critical, or other high-stakes decisions without qualified human review.

You are solely responsible for how you access, use, deploy, fine-tune, or redistribute this model and its outputs, including compliance with applicable laws, regulations, licenses, third-party rights, platform policies, and the original model's terms. Do not use it to facilitate harm, illegal activity, malware, fraud, privacy violations, targeted harassment, weapons development, or decisions that materially affect a person's rights or access to essential services without appropriate authorization, safeguards, and qualified oversight.

Before deployment, perform a context-specific risk assessment and testing; use human oversight, access controls, content filtering, rate limits, monitoring, logging, and incident-response procedures as appropriate. Preserve this notice in downstream redistributions.

The model is provided "AS IS", without warranties of any kind. To the fullest extent permitted by applicable law, the maintainer disclaims liability for claims, damages, or losses arising from use, misuse, inability to use, or redistribution of the model or its outputs. Nothing in this notice overrides applicable law or the governing license, and this notice is not legal advice.

中文

本模型属于实验性改造模型,仅供研究、评测及其他合法用途。其安全对齐、拒答机制或其他防护可能已被削弱或移除,因此可能生成不准确、偏见、冒犯、露骨、危险或违法内容。输出不构成医疗、法律、金融等专业意见;涉及高风险或重大权益的决定,必须由具备资质的人员复核。

使用者须对模型及其输出的访问、使用、部署、微调和再分发承担全部责任,并遵守适用法律法规、许可证、第三方权利、平台政策及原模型条款。不得将本模型用于促成伤害、违法活动、恶意软件、欺诈、侵犯隐私、定向骚扰、武器开发,或在缺乏适当授权、防护和专业监督时,用于实质影响个人权利或基本服务获取的决策。

部署前应进行与具体场景相匹配的风险评估和测试,并酌情采用人工监督、访问控制、内容过滤、限流、监控、日志和事件响应措施;下游再分发时应保留本声明。

本模型按“现状”提供,不附带任何形式的保证。在适用法律允许的最大范围内,维护者不对因使用、误用、无法使用或再分发本模型及其输出而产生的索赔、损害或损失承担责任。本声明不取代适用法律或管辖本模型的许可证,也不构成法律意见。

README history 8 versions

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

  1. 2026-08-29 docs: add upstream license and provenance d83c605 7.5 KB
    Loading...
  2. 2026-08-29 docs: add disclaimer and responsible-use notice fbe5d84 6 KB
    Loading...
  3. 2026-04-29 Clarify canonical GGUF files 5594c56 2.9 KB
    Loading...
  4. 2026-04-29 Add Gemma 4 31B Abliterated GGUF Q4_K_M and Q5_K_M 5f222fa 2.8 KB
    Loading...
  5. 2026-04-28 Restore 3/100 Gemma 4 31B GGUF card 9464ae2 4.7 KB
    Loading...
  6. 2026-04-20 Upload README.md with huggingface_hub e15fe67 4.7 KB
    Loading...
  7. 2026-04-20 Upload README.md with huggingface_hub 91ad8cd 3.5 KB
    Loading...
  8. 2026-04-20 Upload README.md with huggingface_hub f24a081 1.9 KB
    Loading...

Discussions 2 threads

  1. 2026-06-24 Q8 weights may be corrupted? open 1 💬 #2
    Loading...
  2. 2026-06-21 MTP open 3 💬 #1
    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