abliteratedmodels.org

Qwen2.5-Coder-7B-Instruct-heretic

Qwen2.5-Coder-7B-Instruct-heretic is a Heretic-ablated variant of Qwen/Qwen2.5-Coder-7B, published on Hugging Face by trohrbaugh. It is 7B parameters, single consumer GPU class and apache-2.0 licence. It is distributed across 5 repositories in Transformers, GGUF and GGUF (imatrix) formats, totalling 5.2K downloads.

Heretic7BQwen4B – 10B5,2412

Specification

Model name
Qwen2.5-Coder-7B-Instruct-heretic
Publisher
trohrbaugh
Parameters
7B
Hardware class
4B – 10B — single consumer GPU
Licence
apache-2.0
Task
Text generation
Context window
Not documented
Ablation scope
Not stated by the publisher
Formats available
Transformers, GGUF, GGUF (imatrix)
First indexed
8 Apr 2026
Last updated
22 Aug 2026

Ablation technique

How Qwen2.5-Coder-7B-Instruct-heretic was modified, and what that implies.

Heretic

Automated directional ablation via the Heretic toolchain, which searches for the refusal direction and applies it with a KL-divergence budget so general capability is preserved.

Reported scope: Not stated by the publisher. Publishers frequently omit this, so verify behaviour empirically rather than assuming full coverage.

From the publisher’s model card

Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). As of now, Qwen2.5-Coder has covered six mainstream model sizes, 0.5, 1.5, 3, 7, 14, 32 billion parameters, to meet the needs of different developers. Qwen2.5-Coder brings the following improvements upon...

Running it

Commands are templates — confirm the exact repository and quant file before use.

llama.cpp / GGUF
hf download saidutta69/Qwen2.5-Coder-7B-Instruct-heretic --local-dir ./qwen2.5-coder-7b-instruct-heretic
llama-cli -m ./qwen2.5-coder-7b-instruct-heretic/<file>.gguf -p "..."
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "trohrbaugh/Qwen2.5-Coder-7B-Instruct-heretic"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(
    repo, torch_dtype="auto", device_map="auto"
)
vLLM
vllm serve trohrbaugh/Qwen2.5-Coder-7B-Instruct-heretic --trust-remote-code

Downloads and variants (4)

Every published repository of Qwen2.5-Coder-7B-Instruct-heretic, including quantised re-releases by other authors.

Security-team assessment

Derived from this model’s metadata and the publisher’s claims — not from benchmarks run by this site.

  • Qwen2.5-Coder-7B-Instruct-heretic will attempt offensive-security prompts that a hosted commercial model declines, which is what makes it usable for red-team corpus generation and for measuring what an unaligned model of this class produces.
  • Capability is inherited from Qwen/Qwen2.5-Coder-7B, not added by ablation — at 7B parameters, expect a small model’s reasoning and a high error rate on exploit detail.
  • The publisher does not state which layers were ablated, so assume nothing about refusal consistency — probe it directly.
  • Declared licence is apache-2.0, but the terms that bind you are Qwen/Qwen2.5-Coder-7B’s — a re-release cannot grant more than its parent.

Handling: run it isolated, put moderation in front of it if anyone outside your team can reach it, and verify the weights before loading — these are third-party artifacts. Full handling and licence guidance.

Metadata for Qwen2.5-Coder-7B-Instruct-heretic is collected from the public Hugging Face API and the publisher’s model card. This site does not host weights, is not affiliated with trohrbaugh, and does not independently verify publisher claims. See responsible use.