Skip to main content
MindStudio
Pricing
BlogAbout
My Workspace
run Qwen3.8-27B locallyGGUF quantization VRAMOllama uncensored model

Run Qwen3.8-27B-OBLITERATED Locally: GGUF Sizes, VRAM, and Settings

How to run the uncensored Qwen3.8-27B-OBLITERATED model locally: GGUF quant sizes, VRAM needs, and the exact settings that keep it from looping.

Edited by Luis Chavez-Mattos, Director of Product RSS
Run Qwen3.8-27B-OBLITERATED Locally: GGUF Sizes, VRAM, and Settings

What is Qwen3.8-27B-OBLITERATED?

Qwen3.8-27B-OBLITERATED is a modified version of Alibaba’s Qwen3.8-27B base model with its refusal behavior surgically removed through a technique called abliteration. The current release, V3, targets both hard refusals (“I cannot help with that”) and softer safety-lecture deflections, aiming to answer restricted queries with actual substance rather than a warning label. It’s distributed as GGUF files for llama.cpp-based tools like Ollama and LM Studio, as full bfloat16 safetensors for Transformers, and MLX support is pending upstream architecture compatibility.

TL;DR

  • Qwen3.8-27B-OBLITERATED V3 removes both hard refusals and soft safety-lecture deflections from stock Qwen3.8-27B, scoring 20/20 on a set of code and cyber-related test prompts where the base model would normally refuse.
  • The capability cost is measurable but modest: MMLU drops 2.1 percentage points versus stock (82.33% vs 84.46%), with STEM categories taking the biggest hit and humanities barely affected.
  • GGUF quantizations range from Q2_K at roughly 11GB up to Q8_0 at roughly 27GB, letting the same model run on anything from a single mid-range GPU to a high-VRAM workstation card.
  • Getting good output depends heavily on settings: temperature 0 with repetition_penalty 1.15 is required, since greedy decoding without a repetition penalty loops on imports and boilerplate.
  • The model ships with a chat template that prefills an empty thinking block, so GGUF users need to load the bundled template (via --jinja in llama.cpp, or the model’s built-in template in Ollama/LM Studio) to skip straight to answering.
  • For agent or long-context use, the recommended settings shift slightly: a touch of temperature (0.1 to 0.3) helps break loops that pure greedy decoding can fall into during tool calls.
  • The project’s own documentation frames this as a research tool for alignment researchers, red-teamers, and safety evaluators, not a general-purpose consumer chatbot.
VIBE-CODED APP
Tangled. Half-built. Brittle.
AN APP, MANAGED BY REMY
UIReact + Tailwind
APIValidated routes
DBPostgres + auth
DEPLOYProduction-ready
Architected. End to end.

Built like a system. Not vibe-coded.

Remy manages the project — every layer architected, not stitched together at the last second.

How does abliteration actually work?

Abliteration is a weight-space editing technique, not fine-tuning. Instead of retraining the model on new data, it identifies “refusal directions”, specific vectors in the model’s internal representations that correlate with refusal behavior, and projects them out of the weight matrices. The idea is to surgically remove the mechanism that triggers a refusal while leaving the rest of the model’s knowledge and reasoning intact.

The OBLITERATED project went through three iterations to get this right:

V1 used a single aggressive SVD (singular value decomposition) pass removing five directions. It killed refusals completely but cost 6 percentage points of MMLU, a noticeable capability hit.

V2 introduced what the creators call complementary abliteration blending: running two different surgery methods (aggressive SVD and LEACE, a technique that minimizes mutual information) that fail in different ways, then blending their weights at a 60/40 ratio. SVD is good at finding refusal directions but damages capability; LEACE preserves capability but removes refusals less thoroughly. Blending the two canceled out each method’s weaknesses, bringing the MMLU cost down to just 0.3 points. The tradeoff: V2 still produced safety-lecture deflections on some queries instead of hard refusals.

V3 added two more ideas: iterative stacking (always refine the current best model rather than restarting from stock) and a targeted corpus (focused prompts aimed at specific deflection categories, used to find their unique refusal directions without diluting the signal across the whole dataset). V3 takes V2, applies a gentle refinement pass, then a targeted surgery pass, then blends the two results 50/50. The result eliminates soft deflections as well as hard refusals, at a cost of 2.1 MMLU points versus stock.

What hardware do you need to run it?

The GGUF quantizations span a wide range, which is the main lever for fitting this 27B-parameter model onto consumer hardware:

QuantSizeNotes
Q8_0~27 GBMaximum quality, needs a high-VRAM card or multi-GPU setup
Q6_K~21 GBStrong balance of quality and size
Q5_K_M~18 GBSolid all-rounder for 24GB cards
Q4_K_M~16 GBThe commonly recommended sweet spot
IQ4_XS~14 GBCompact variant, more experimental
Q3_K_M~13 GBFor lower-VRAM setups
Q2_K~11 GBMinimum viable quality, fits on smaller GPUs

As a rough rule, you want VRAM at least equal to the GGUF file size, plus some headroom for context length. A 16GB card comfortably handles Q4_K_M with room for a few thousand tokens of context; a 24GB card can run Q5_K_M or Q6_K with more headroom. The full bfloat16 safetensors release is roughly 54GB across 29 shards, which is aimed at multi-GPU or datacenter-class Transformers workflows rather than a single consumer card. Apple Silicon users don’t have an MLX version yet; that’s waiting on upstream mlx_lm support for the Qwen3.5 architecture.

What settings do you actually need?

This is where most people get worse-than-expected output from an otherwise capable model. The documented settings are specific and matter more than usual:

  • Temperature: 0. Greedy decoding produces the most complete, code-rich outputs on this model. Anything above 0.5 degrades quality noticeably.
  • Repetition penalty: 1.15. This is described as essential, not optional. Without it, greedy decoding gets stuck looping on imports or boilerplate text. Lowering it to 1.10-1.12 gives tighter, shorter output if 1.15 feels too verbose.
  • Max new tokens: 2048 or more. Complex code generation and multi-step reasoning need room to finish.
  • System prompt: none. The model card notes this was A/B tested; adding a system prompt can reintroduce refusal behavior. An empty system prompt performs better.
  • Thinking mode: off (recommended). V3’s chat template includes a prefill that skips the internal thinking chain, going straight to the answer. Thinking mode can be turned on and doesn’t cause refusals, but off gives more direct output.
  • Sampling parameters (top_p, top_k, min_p): not needed. Greedy decoding plus the repetition penalty handles this model’s behavior; additional sampling just adds randomness without improving quality.

Plans first. Then code.

PROJECTYOUR APP
SCREENS12
DB TABLES6
BUILT BYREMY
1280 px · TYP.
yourapp.msagent.ai
A · UI · FRONT END

Remy writes the spec, manages the build, and ships the app.

For GGUF users specifically, loading the model’s bundled chat template matters. In llama.cpp that means using the --jinja flag; in Ollama or LM Studio it means making sure the tool is configured to use the model’s built-in template rather than a generic default, otherwise the thinking-block prefill won’t apply correctly.

Should you change settings for agentic use?

Yes, and the model card calls this out separately. If you’re running the model inside a coding agent, pentest framework, or any harness that loops through multiple tool calls, the pure-greedy settings that work for single-turn chat can cause the model to get stuck repeating the same tool call or boilerplate output. The recommended adjustments:

  • Keep repetition_penalty at 1.15, still described as critical for breaking repetitive loops in agent contexts.
  • Raise temperature to 0.1-0.3 instead of 0. A small amount of randomness helps the model escape deterministic loops that pure greedy decoding can fall into.
  • Cap max_tokens per turn at 1024-2048 rather than letting a single turn run long. Shorter per-turn responses keep an agent focused on the next step.
  • Summarize context after roughly 10 turns. Agent histories fill up with repeated actions quickly, and trimming or summarizing keeps the model from anchoring on stale context.

What’s the capability tradeoff?

The MMLU comparisons are the clearest signal. Stock Qwen3.8-27B scores 84.46% (0-shot, lm-eval-harness, 5700 questions). V3 lands at 82.33%, a 2.12 point drop. That’s a meaningful but not drastic hit, and it’s not evenly distributed across subjects. STEM categories dropped the most (-3.3pp), while humanities barely moved (-1.0pp) and a few subjects, including philosophy and European history, actually scored higher than stock. Abstract algebra and formal logic saw larger drops. The pattern suggests the surgery’s refusal directions partially overlap with some structured reasoning pathways, which is a useful thing to know if your use case leans heavily on formal STEM reasoning versus general knowledge or coding tasks.

On the liberation side, the model card reports 20 out of 20 successful completions on a set of code-generation and cyber-related test prompts, and 7 out of 8 on a broader set of “advanced real-world” tasks including async code refactoring, security code review, and Kubernetes debugging scenarios, matching stock’s 7/8 on the same set. Multi-tool chaining failed for both stock and OBLITERATED versions.

Frequently Asked Questions

What quant should I start with?

Q4_K_M (roughly 16GB) is the documented sweet spot for most consumer GPUs. If you have 24GB of VRAM, Q5_K_M or Q6_K give better quality with reasonable headroom for context.

Do I need a system prompt for best results?

No. The model card specifically recommends leaving the system prompt empty, noting that system prompts can reintroduce refusal behavior during A/B testing.

Why does the model loop or repeat itself?

This happens when repetition_penalty isn’t set. At temperature 0 (greedy decoding), the model needs repetition_penalty around 1.15 to avoid looping on boilerplate like import statements. This is described as essential, not a minor tweak.

Should thinking mode be on or off?

Off is recommended for the most direct answers. The V3 chat template prefills an empty thinking block by default. Thinking mode can be enabled and doesn’t trigger refusals, but tends to produce longer responses without a clear quality benefit.

Is there a Mac-native version?

REMY IS NOT
  • a coding agent
  • no-code
  • vibe coding
  • a faster Cursor
IT IS
a general contractor for software

The one that tells the coding agents what to build.

Not yet. MLX support for Apple Silicon is waiting on the mlx_lm library to add support for the underlying Qwen3.5 architecture. GGUF quants can still run on Mac through llama.cpp in the meantime.

Editorial standards

Presented by MindStudio

No spam. Unsubscribe anytime.