Qwen2.5-Coder-32B-Instruct-abliterated

⚠️ Use at your own risk. This model is abliterated (uncensored) — its safety refusals have been removed, so it will generate content the base model would decline, potentially including offensive, harmful, or unlawful material. It is provided as-is, with no warranty of any kind, express or implied. You are solely responsible for how you use it and for compliance with all applicable laws and the base model's license. Do not use it for illegal or harmful purposes.

An abliterated (uncensored) build of Qwen/Qwen2.5-Coder-32B-Instruct, produced with Heretic (pip install heretic-llm). Abliteration removes the model's refusal directions via directional ablation, so it declines far less often while preserving the base model's coding ability. No other fine-tuning was applied.

Model details

  • Base model: Qwen/Qwen2.5-Coder-32B-Instruct (Apache-2.0)
  • Architecture: Qwen2 dense · 32.8B params · 32K context
  • Method: Heretic directional-refusal ablation (200 optimization trials)
  • Formats: bf16 safetensors (14 shards) + GGUF quants
  • Intended use: local coding assistant and agentic coding (e.g. opencode)

Files

Format File Size Comfortable on
bf16 model-*.safetensors ~65 GB multi-GPU / server
GGUF Q6_K …-Q6_K.gguf 26 GB 48 GB GPU
GGUF Q5_K_M …-Q5_K_M.gguf 23 GB 32 GB Mac (tight) / 48 GB GPU
GGUF Q4_K_M …-Q4_K_M.gguf 18 GB 32 GB Mac / 24 GB GPU
GGUF Q3_K_M …-Q3_K_M.gguf 15 GB 16–18 GB

Usage

llama.cpp

llama-server -m Qwen2.5-Coder-32B-Instruct-abliterated-Q6_K.gguf \
  --host 0.0.0.0 --port 8080 -ngl 999 -c 32768 --jinja

transformers

from transformers import AutoModelForCausalLM, AutoTokenizer
m = "jbrahy/Qwen2.5-Coder-32B-Instruct-abliterated"
tok = AutoTokenizer.from_pretrained(m)
model = AutoModelForCausalLM.from_pretrained(m, torch_dtype="auto", device_map="auto")

Known limitation — tool calling

This abliterated build reliably emits well-formed tool-call JSON, but it does not wrap it in the <tool_call>…</tool_call> tags the base model uses. OpenAI-compatible servers (llama.cpp, vLLM) key their tool-call parser off those tags, so they surface the JSON as plain message content instead of a tool_calls field. Plain chat and code generation are unaffected. For agentic tool use (opencode, etc.), place a thin proxy in front that converts the bare JSON into tool_calls. This is an artifact of abliteration and is not fixable with chat-template flags (forcing the canonical Qwen2.5-Coder template does not change it).

Limitations & responsible use

Abliteration removes safety refusals — this model will answer prompts the base model would decline. You are responsible for how you use it. It inherits the base model's biases, knowledge cutoff, and general capabilities. Licensed Apache-2.0, same as the base model.

Downloads last month
249
Safetensors
Model size
33B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for jbrahy/Qwen2.5-Coder-32B-Instruct-abliterated

Base model

Qwen/Qwen2.5-32B
Finetuned
(138)
this model