Interfaze

logo

Beta

pricing

help

docs

blog

sign in

All models

Qwen3.8 27B Heretic Abliterated Uncensored GGUF

Qwen3.8 27B Heretic Abliterated Uncensored GGUF by 0bserverx, a text-generation model with multimodal capabilities. Understand and compare multimodal features, benchmarks, and capabilities.

Comparison

FeatureQwen3.8 27B Heretic Abliterated Uncensored GGUFInterfaze
Input Modalities

text, image, video

image, text, audio, video, document

Native OCRNoYes
Long Document ProcessingNoYes
Language Support

unknown

162+

Native Speech-to-TextNoYes
Native Object DetectionNoYes
Guardrail ControlsYesYes
Context Input Size

262.1K

1M

Tool CallingYes

Tool calling supported + built in browser, code execution and web search

Scaling

FeatureQwen3.8 27B Heretic Abliterated Uncensored GGUFInterfaze
Scaling

Self-hosted/Provider-hosted with quantization

Unlimited

View model card on Hugging Face

RVN is a double-refined abliterated variant of Qwen3.8-27B, built on top of trohrbaugh/Qwen3.8-27B-heretic-ara (an ARA abliteration by Tim Rohrbaugh) and further refined with two additional full-weight ARA passes targeting residual refusals. It retains very low behavioral damage (KL ≈ 0.0085) while reducing harmful-prompt refusals from 3/100 (source) to 0–1/100 in independent measurements.

Note on this repository's history. This repo previously hosted the original Qwen3.8-27B-Heretic-Q4_K_M.gguf (single-quant release from the earlier trohrbaugh/Qwen3.8-27B-heretic source). That file is kept as legacy for download-count continuity and backward compatibility — it is the older abliteration variant and is superseded by the RVN files below. Prefer the RVN quants for new deployments.

Not for all audiences. This model has reduced safety guardrails by design. It is intended for adult audiences (18+) doing research, creative writing, roleplay, and uncensored generation. Certain guardrails are intentionally left in place; use responsibly and in accordance with your local laws.

Compatibility notice (2026-08-19): the currently published RVN GGUFs are missing the embedded tokenizer.chat_template metadata. Plain chat may appear to work through llama.cpp's generic ChatML fallback, but Qwen-native tool/function calling and chat_template_kwargs.enable_thinking control are not reliable through that fallback. Until the same-name GGUF replacements are uploaded, download the official chat_template.jinja from this repository and launch llama.cpp with --chat-template-file chat_template.jinja. The file is copied byte-for-byte from Qwen/Qwen3.8-27B (8,952 bytes; SHA-256 c3cf9e34abf4f9e36c2d72165aa9c132d3e2a725b6c2586aaa3a8af9d7a81041).

llama-server -m RVN-Q5_K_M.gguf --chat-template-file chat_template.jinja \
  -c 32768 -ngl 99

What is ARA?

ARA (Arbitrary-Rank Ablation) is the abliteration technique implemented in p-e-w/heretic. Traditional directional abliteration finds a single "refusal direction" in activation space and subtracts it — a one-shot, low-rank surgery that is simple but can leave residual refusals or damage unrelated behavior.

ARA instead treats abliteration as a matrix optimization problem. For every target module (attention out-projection and MLP down-projection), it collects activations on "good" prompts (harmless requests) and "bad" prompts (harmful requests), then uses an LBFGS optimizer to rewrite the module's weight matrix so that:

  • Preserve: outputs on good prompts change as little as possible (KL is kept low)
  • Steer: outputs on bad prompts are pulled toward the good-prompt output manifold (via k-nearest-neighbor distances), so harmful requests stop triggering the refusal circuitry
  • Overcorrect: outputs on bad prompts are additionally pushed away from the original bad-prompt outputs, which helps overcome complex, multi-stage refusal mechanisms

Because the weight matrix is optimized directly (rather than subtracting a single direction), ARA is "arbitrary rank" — it can carve out a much richer refusal-removal subspace while keeping behavioral damage minimal.

Why "Heretic" and "Abliterated"?

These two words describe two layers of the same process:

  • Heretic is the tool: the open-source implementation of ARA (and related abliteration methods) used to modify the model. Models produced with it are commonly labeled "heretic" in the community.
  • Abliterated is the result: the model's refusal behavior has been surgically removed. An abliterated model still knows everything the base model knows, but it no longer refuses to answer the categories that were steered away during the process.

So "Heretic Abliterated" means: abliterated using the heretic toolset. RVN goes one step further — it applies the ARA procedure three times total: once by the original author (trohrbaugh) to get from base Qwen3.8-27B to -ara, and twice more by us to get from -ara to RVN, squeezing out the last residual refusals.

Special Thanks

This work would not exist without Tim Rohrbaugh (trohrbaugh), whose heretic-ara ARA abliteration of Qwen3.8-27B (refusals 3/100, KL 0.0535) provided the foundation we refined into RVN. His upstream contributions to the heretic codebase — including the row-norm preservation feature and Qwen3.5 MoE/DeltaNet hybrid handling — are directly responsible for making DeltaNet-layer abliteration work at all. Thank you, Tim.

Model Overview

PropertyValue
Base modelQwen/Qwen3.8-27B
Abliteration sourcetrohrbaugh/Qwen3.8-27B-heretic-ara (ARA, KL 0.0535, refusals 3/100)
RVN refinement2-pass ARA on top of source → KL 0.0085, refusals 0–1/100
Architectureqwen3_5_text (Qwen3.8 family), Gated DeltaNet hybrid
Parameters27B total
Hidden size5120
Layers64 (16 standard attention + 48 Gated DeltaNet linear attention)
Attention heads24 · KV heads 4 (GQA) · head_dim 256
Vocab248,320
Context length262,144 (262K)
LicenseApache-2.0 (retained from Qwen3.8-27B)
FormatGGUF (llama.cpp). Base files: MTP/NextN excluded. *-mtp.gguf files ship the official Qwen3.8 MTP draft head embedded → see MTP Speculative Decoding

Why RVN?

trohrbaugh/Qwen3.8-27B-heretic-ara is already a strong ARA abliteration, but three harmful prompts still triggered refusals in our independent evaluation (racism website, malware, government database hacking). RVN applies two additional full-weight ARA passes using the same tight parameter set (start 26, end 56, preserve 0.9432, steer 0.0009, overcorrect 0.5038, neighbor 10), which:

  • Reduced refusals from 3/100 → 0–1/100 (the only remaining refusal is a chemical-weapon WMD prompt — one of the strongest safety-trained categories, and intentionally one of the guardrails we left in place)
  • Reduced KL damage from 0.0535 (source) to 0.0085 vs base — a ~6× improvement in behavioral preservation
  • Verified independently on two rented GPU machines with prefix-based (real-answer) refusal measurement

Refusal evaluation (100 harmful-behaviors prompts, prefix-forced real answers)

ModelRefusalsKL vs base
Qwen3.8-27B (base)~99/100
trohrbaugh -ara (source)3/1000.0535
RVN (this repo)0–1/1000.0085

Files & Quantization Spectrum

FileSize (GB / GiB)Notes
RVN-F16.gguf53.81 / 50.11F16 reference (no NextN/MTP)
RVN-BF16.gguf53.81 / 50.11BF16 reference (no NextN/MTP)
RVN-Q8_0.gguf28.60 / 26.63Max-quality 8-bit
RVN-Q6_K.gguf22.08 / 20.57High-quality 6-bit
RVN-Q5_K_M.gguf19.23 / 17.91Balanced 5-bit
RVN-Q5_K_S.gguf18.68 / 17.405-bit small
RVN-Q4_K_M.gguf16.55 / 15.41Recommended 4-bit (24 GB VRAM)
Qwen3.8-27B-Heretic-Q4_K_M.gguf16.55 / 15.41Legacy (older abliteration variant, kept for download continuity)
RVN-IQ4_NL.gguf15.89 / 14.804-bit non-linear — current file was produced without an imatrix; corrected replacement in progress
RVN-Q4_K_S.gguf15.59 / 14.52Small 4-bit
RVN-IQ4_XS.gguf15.19 / 14.154-bit extra-small — current file was produced without an imatrix; corrected replacement in progress
RVN-Q3_K_L.gguf14.34 / 13.36Large 3-bit
RVN-Q3_K_M.gguf13.30 / 12.39Compact 3-bit
RVN-IQ3_M.gguf12.58 / 11.72imatrix 3-bit — re-uploaded 2026-08-17 (previous file had corrupted tensor data: NaN/Inf scales + zeroed tensors from a bad quantize run; re-quantized from F16 with a fresh imatrix and verified — see note below)
RVN-IQ3_S.gguf12.42 / 11.57imatrix 3-bit small
RVN-Q3_K_S.gguf12.07 / 11.24Compact 3-bit small
RVN-IQ3_XS.gguf11.97 / 11.15imatrix 3-bit extra-small
RVN-IQ3_XXS.gguf11.19 / 10.42imatrix 3-bit extra-extra-small
RVN-Q2_K.gguf10.71 / 9.982-bit K-quant
RVN-Q2_K_S.gguf10.25 / 9.542-bit K-quant small
RVN-IQ2_M.gguf10.00 / 9.32imatrix 2-bit
RVN-IQ2_S.gguf9.36 / 8.72imatrix 2-bit small
RVN-IQ2_XS.gguf9.09 / 8.47imatrix 2-bit extreme small
RVN-IQ2_XXS.gguf8.43 / 7.85imatrix 2-bit (minimum)
RVN-IQ1_M.gguf7.63 / 7.11imatrix 1-bit (experimental)
RVN-IQ1_S.gguf7.15 / 6.66imatrix 1-bit (experimental)

👁️ Vision-Protected (UD-style) Variants

The standard quants above use uniform quantization across all layers. For vision-heavy use (image understanding via the mmproj), the layers that first receive visual embeddings matter disproportionately — the "vision-language bridge". These -vision variants use Unsloth-style dynamic (UD) quantization: token_embd, output, and the first 4 + last 4 transformer blocks stay at Q8_0, while the middle blocks are compressed to the target K-quant. Built with llama-quantize --token-embedding-type q8_0 --output-tensor-type q8_0 --tensor-type-file (106 bridge tensors overridden by regex; verified via tensor audit — 0 NaN/Inf, correct per-tensor types, 851 tensors).

FileSize (GB / GiB)Bridge / Middle
RVN-Q5_K_M-vision.gguf21.02 / 19.57Q8_0 bridge · Q5_K_M middle
RVN-Q4_K_M-vision.gguf18.75 / 17.46Q8_0 bridge · Q4_K_M middle
RVN-Q3_K_M-vision.gguf16.19 / 15.08Q8_0 bridge · Q3_K_M middle

Usage — identical to the standard quants, just point at the -vision file:

llama-server -m RVN-Q5_K_M-vision.gguf --mmproj mmproj-Qwen3.8-27B-Q8_0.gguf \
  -c 32768 -ngl 99

📊 Perplexity (vs F16 reference)

Measured on an RTX PRO 6000 Blackwell (full GPU offload, llama.cpp master): llama-perplexity, tiny_shakespeare corpus, ctx 2048.

ModelPPLΔ vs F16
RVN-F16.gguf4.5477
RVN-Q5_K_M.gguf (standard)4.6493+2.23%
RVN-Q5_K_M-vision.gguf4.6497+2.24%
RVN-Q4_K_M-vision.gguf4.8751+7.20%
RVN-Q3_K_M-vision.gguf5.6490+24.2%

Text perplexity is at parity with the standard quant (no regression from the Q8_0 bridge), while the vision-critical bridge layers keep 8-bit precision. All -vision variants and the standard Q5_K_M passed image-description tests with the mmproj (accurate description, no hallucination on the test image).

imatrix-based quants are produced from the same F16 with an activation importance matrix computed over wikitext-2-raw (original spectrum, 580 chunks) or tiny_shakespeare (2026-08-17 re-quant additions: IQ3_M fix + IQ2_S/IQ3_XXS/IQ3_XS/IQ3_S, 159 chunks, llama-imatrix, -ngl 99). The currently published IQ4_XS and IQ4_NL files are exceptions: an independent GGUF-header audit and the retained production script confirm they were made without --imatrix. Their earlier imatrix labels were incorrect; corrected wikitext-imatrix replacements (including MTP twins) are being rebuilt. The -vision files are quantized with K-quant defaults (no imatrix) — the bridge protection is structural (Q8_0 overrides), not imatrix-dependent.

⚡ MTP Speculative Decoding

Every quant ships a *-mtp.gguf twin with the official Qwen3.8 MTP draft head (q8_0, ~1.8 GB) embedded. The main-model weights are byte-identical to the base file — the head is appended as an extra blk.64.nextn.* layer set (block_count 65, qwen35.nextn_predict_layers=1). Abliteration never touched the draft head (it operates on main-model layers 26–56), so draft quality is unchanged, and speculative decoding is output-equivalent: same tokens, just faster.

Usage (llama.cpp ≥ b10440, PR #22673):

llama-server -m RVN-IQ3_M-mtp.gguf -c 32768 -ngl 99 \
  --spec-type draft-mtp --spec-draft-n-max 2 --parallel 1

Measured on 2× RTX PRO 6000 Blackwell (95 GB each, full GPU offload, llama.cpp b10472):

QuantNormal (t/s)+ MTP (t/s)Δ
Q6_K61.6126.2+105%
BF1629.258.2+99%
Q8_050.698.0+94%
IQ3_S91.9169.7+85%
IQ4_XS83.4152.0+82%
Q3_K_S84.5153.6+82%
F1629.452.9+80%
IQ3_XS94.0161.9+72%
Q3_K_L78.7131.3+67%
IQ4_NL80.8138.0+71%
IQ2_M106.2175.9+66%
IQ2_XS112.8183.4+63%
Q4_K_M76.6122.0+59%
Q4_K_S80.5127.1+58%
IQ3_M91.3144.0+58%
Q3_K_M82.6129.5+57%
IQ2_XXS117.6182.6+55%
Q2_K98.2150.2+53%
IQ3_XXS98.5138.5+41%
IQ2_S111.5155.3+39%
Q5_K_M68.193.8+38%
Q2_K_S105.5145.1+38%
Q5_K_S70.791.1+29%
IQ1_S127.0131.7+3.7%
IQ1_M119.547.6−60% ⚠️

Average: +55% generation speed (128-token continuation, --spec-draft-n-max 2 --parallel 1). ⚠️ IQ1_M is the exception: MTP makes it ~60% slower — use the base file for IQ1_M. IQ1_S gains almost nothing (+4%). All other quants gain +29% to +105%.

Community measurements on larger cards report +33–145% depending on GPU and context. Tips: --spec-draft-n-max 2 is the sweet spot on 16–24 GB cards (3–4 on bigger/faster cards); pair with --cache-type-k q4_0 --cache-type-v q4_0 for long context; --spec-draft-p-min 0.60–0.75 helps on bandwidth-limited rigs.

👁️ Vision (image understanding)

Pair any *-mtp.gguf with the official vision projector for full image-text-to-text:

llama-server -m RVN-IQ3_M-mtp.gguf --mmproj mmproj-Qwen3.8-27B-Q8_0.gguf \
  -c 32768 -ngl 99 --spec-type draft-mtp --spec-draft-n-max 2 --parallel 1
  • mmproj-Qwen3.8-27B-Q8_0.gguf (0.63 GB, Q8_0) is the official Qwen3.8 vision projector from ggml-org/Qwen3.8-27B-GGUF (Apache-2.0). The vision tower is an image encoder only — ARA abliteration never touched it, so it pairs cleanly with every RVN quant.
  • Verified: RVN-Q3_K_M-mtp + this mmproj describes images correctly (MTP active).
  • Combo credit: cfigueiroa/Qwen3.8-27B-RVN-vision-MTP.

Quant → GPU / Memory Guide

GPU / MemoryBest quant(s) (full GPU load)Effective ctx @ Q8_0 KV
8 GB (RTX 3050, 4060 Laptop)IQ1_S, IQ1_M; IQ2_XXS partial offload only~2–4K
12 GB (RTX 3060, 4070)IQ2_M, IQ2_S, IQ2_XS, Q2_K_S; IQ3_XXS (tight)~8–16K
16 GB (RTX 4080, 4090 Laptop, M3 Max)IQ3_M, IQ3_S, Q3_K_M; IQ4_XS/Q4_K_S/IQ4_NL (tight ctx)~6–24K
24 GB (RTX 3090, 4090, M4 Max)Q5_K_M, Q5_K_S, Q6_K, Q4_K_M; Q8_0 partial~16–48K
32 GB (RTX 5090, A6000)Q8_0, Q6_K~24–64K
64 GB+ (A100 80 GB, RTX PRO 6000, M3/M4 Ultra)F16, BF16~64–100K+

Sizes in the file table are the actual file sizes on the Hub (decimal GB / GiB), pulled from repository metadata. Full GPU load means the whole quant fits in VRAM; quants whose file size exceeds your VRAM need partial offloading.

2026-08-17 — RVN-IQ3_M incident & fix: the original RVN-IQ3_M.gguf generated only / characters on every backend (confirmed by the community and reproduced locally). A tensor-level audit showed corrupted quantization data — NaN/Inf block scales and fully zeroed tensors (e.g. token_embd had ~39.6M NaN values) — from a bad quantize run, not a llama.cpp regression (all other quants from the same F16 dequantize cleanly). The file was pulled, re-quantized from the F16 with a freshly computed imatrix, generation-tested ("The capital of France is" → Paris, 70+ t/s) and re-uploaded. New quants added the same day: IQ2_S, IQ3_XXS, IQ3_XS, IQ3_S, Q3_K_L, Q5_K_S.

KV cache math (GQA, 4 KV heads, head_dim 256): 2 × 64 layers × 4 KV heads × 256 head_dim × 2 bytes = 256 KiB/token FP16 → 16K ctx ≈ 4.2 GB · 32K ctx ≈ 8.4 GB · 64K ctx ≈ 16.8 GB (Q8_0 KV halves this). A 16 GB card running Q3_K_M (13.30 GB model) + 16K ctx Q8_0 KV fits comfortably; Q4_K_M (16.55 GB) really needs a 24 GB card.

Rule of thumb: pick the largest quant that leaves ≥ 4 GB for KV cache + compute buffers. If you only need short replies, drop the quant one notch and get a bigger context; if you need long context, prioritize KV budget over quant size.

Limitations & Responsible Use

  • Reduced safety guardrails by design. This model is not intended for use in applications requiring robust safety filtering, content moderation, or deployment to minors.
  • Certain guardrails are intentionally left in place. Abliteration targets refusal behavior on general harmful-prompt categories; a small set of hard safety-trained categories is deliberately not fully removed. Behavior may vary across domains and languages.
  • Not affiliated with or endorsed by Qwen/Alibaba or trohrbaugh.

License & Attribution

Citation

@misc{rohrbaugh2026heretic,
  title={Qwen3.8-27B-heretic-ara: ARA Abliteration of Qwen3.8-27B},
  author={Rohrbaugh, Tim},
  year={2026},
  howpublished={\url{https://huggingface.co/trohrbaugh/Qwen3.8-27B-heretic-ara}}
}

@misc{rvn2026,
  title={RVN: Qwen3.8-27B Heretic Abliterated Uncensored},
  author={0bserverx},
  year={2026},
  howpublished={\url{https://huggingface.co/0bserverx/Qwen3.8-27B-Heretic-Abliterated-Uncensored-GGUF}}
}

Want more deterministic results?

Interfaze

logo

Product

Playground

OCR

Models

Leaderboards

Pricing

OpenWebSearch