Qwen3.8 Defiance Packs 40 Personas Into One Local 27B Model
A community mashup stacks 40 persona modes on top of uncensored Qwen3.8-27B weights, runs on a single 24GB GPU, and ships ready for llama.cpp and LM Studio.
Takeaways
- Community release stacks DavidAU's 40 persona modes onto HauhauCS uncensored Qwen3.8-27B weights
- IQ4_XS quant at 15.7 GB fits a 24 GB GPU with full 131K context
- Hits 86 to 90 tokens per second on an RTX 4090 using FastMTP speculative decoding
- Mode switching via
reasoning_effortparameter or inline{REASON:joker}tags - Author did no training, only template patching, bug fixes, and packaging under Apache-2.0
- Chat UI only, no coding agents, no vision; ready for llama.cpp, LM Studio, Ollama
Qwen3.8-27B Defiance combines unchanged 27B weights from an upstream build designed to reduce refusals with a modified chat template that selects among 40 personas. The repository reuses the weights without fine-tuning and concentrates its changes in prompt construction, packaging, and bug fixes.
The package ships in GGUF, a quantized model format supported by local runtimes such as llama.cpp, LM Studio, Ollama, and Open WebUI. Its smallest highlighted quantization occupies 15.7 GB and reportedly runs with a 131K-token context on a single 24 GB GPU.
Two upstream artifacts, clearly separated
The main-model files come from the HauhauCS build. The maintainer reports that all 866 tensors match the upstream files byte for byte, preserving the upstream model’s weight-level changes to refusal behavior.
The embedded Jinja chat template comes from DavidAU’s Turbo-Brilliance template. A chat template converts message objects into the text sent to the model, allowing it to inject detailed system prompts automatically.
The persona and “super” modes add 9,000 to 13,000 characters, or roughly 2,500 to 3,600 tokens, to the rendered context. Their behavior therefore comes from prompt text rather than separate adapters or weight variants. Developers can extract an individual persona and test it as a system prompt on another model, although results will depend on that model’s training and instruction-following behavior.
Forty modes, one routing field
The model card organizes the available modes into reasoning levels, analytical frameworks, multi-agent panels, fictional characters, and task-specific prompts. Representative options include:
| Category | Examples | Purpose |
|---|---|---|
| Reasoning levels | xhigh, medium, low |
Adjust the requested depth of reasoning. |
| Frameworks | socrates, logic |
Apply a named method for examining a problem. |
| Multi-agent panels | einstein |
Simulate a brainstorm involving as many as 20 agents. |
| Character personas | house, joker, vader, stark |
Shape tone, vocabulary, and response style. |
| Task supers | coder, business, story, teacher |
Load longer prompts tailored to a type of work. |
Mode selection uses the reasoning_effort field on an OpenAI-compatible endpoint that forwards custom values to the template:
{
"messages": [
{
"role": "user",
"content": "Roast my alarm clock."
}
],
"reasoning_effort": "joker"
}
Clients that cannot set the field can place a tag such as {REASON:joker} inside a user message. The template scans all user turns, applies the last tag it finds, and removes the tag text before generation. A selected mode remains active until a later message supplies another tag.
Seven prompt edits, two bug fixes
Seven construct steps that introduced caution were removed or rewritten. The affected instructions included:
- a final safety check;
- a recommendation to seek qualified professional review;
- an “Ethical Guardrails” section;
- a safety and compliance score.
Two routing bugs inherited from the source template were also repaired. The teacher mode referenced an undefined variable and rendered an empty prompt, while the unknown-mode error message referenced a list that had never been populated.
A separate preamble tells the model to answer directly and omit disclaimers. Setting defiance_preamble to false disables that preamble, while the other template edits remain in place. Applications with policy requirements need an external moderation, authorization, or filtering layer instead of relying on model-side refusals.
Memory costs behind the 24 GB claim
The model card highlights two main quantizations and a FastMTP draft model:
| Artifact | Size | Deployment notes |
|---|---|---|
IQ4_XS |
15.7 GB | Reported to fit a 24 GB GPU with a 131K-token context. |
Q6_K_P |
25.9 GB | Requires roughly 32 GB of VRAM or partial CPU offload. |
| FastMTP draft | 0.9 GB | Provides speculative decoding for either quantization. |
File size understates total memory use because inference also allocates a key-value cache for the context window, runtime buffers, and the optional draft model. In the maintainer’s reported IQ4_XS configuration, llama-server used 21.4 GB with the context limit set to 131K tokens.
FastMTP uses multi-token prediction, where a small draft model proposes several upcoming tokens and the main model verifies them in parallel. On an RTX 4090 running llama.cpp, the maintainer measured 86 to 90 output tokens per second in instruct mode, with 38 to 42 percent of proposed draft tokens accepted. Prompt length, cache settings, backend builds, and sampling parameters can change those results.
The 465-test claim needs qualification
A promotional post claimed zero refusals across 465 tests, while the model card gives a narrower interpretation. Its comparison cannot isolate the effect of the weights because DavidAU’s original variant also answered each of the four prompts used in the side-by-side test.
The four prompts covered a villain monologue, lock-picking mechanics, a blunt assessment of daily ibuprofen in the style of Dr. House, and a Joker-themed roast. Both variants answered all four. DavidAU’s version added caveats such as recommending a professional locksmith, while Defiance omitted those caveats and produced responses 1.4 to 2 times as long.
The comparison supports a finding about caveat suppression and verbosity under those prompts. It does not establish how much of the behavior comes from the upstream weight modifications, the rewritten template, or their interaction.
System-message traps and text-only limits
Defiance’s template raises an error when a system message appears after the initial system turn. Coding agents and orchestration frameworks often inject additional system instructions during a session, so they require an adapter that merges those instructions into the first message or converts them into a compatible role.
The GGUF package supports text generation only because the repository provides no vision projector. Multimodal clients can load the text model, but they cannot pass images through this package.
The long persona prompts also consume 2,500 to 3,600 tokens of the available context and increase prefill work on each rendered conversation. Prefix caching can amortize repeated prompt processing, depending on the server and client. SDKs that validate reasoning_effort against a fixed set of values may also reject custom names such as joker, making inline tags or direct HTTP requests necessary.
A modular recipe for local models
The repository includes configurations or instructions for llama.cpp, LM Studio, Ollama, and Open WebUI, and publishes the combined package under Apache-2.0. Its engineering pattern is reproducible: verify an existing quantized weight set, replace the embedded template, repair routing bugs, attach a speculative draft, and distribute files that established local runtimes can load.
Keeping weights, prompt logic, and decoding acceleration as separate artifacts makes each layer easier to inspect and test. Persona quality can be evaluated at the prompt layer, refusal behavior requires comparisons that isolate templates from weights, and performance needs benchmarks tied to specific hardware and runtime settings.