How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="jbrahy/Qwen2.5-Coder-14B-Instruct-abliterated",
	filename="Qwen2.5-Coder-14B-Instruct-abliterated-Q4_K_M.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Qwen2.5-Coder-14B-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-14B-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 coding ability. No other fine-tuning was applied. This is the smaller sibling of Qwen2.5-Coder-32B-Instruct-abliterated — sized for fast local use (fits comfortably on an 18 GB Mac).

Model details

  • Base model: Qwen/Qwen2.5-Coder-14B-Instruct (Apache-2.0)
  • Architecture: Qwen2 dense · 14.7B params · 32K context
  • Method: Heretic directional-refusal ablation
  • Formats: bf16 safetensors (6 shards) + GGUF Q4_K_M (~8 GB)
  • Intended use: fast local coding assistant

Usage

llama.cpp (Q4_K_M fits ~8 GB; use KV-cache quantization to grow context on small machines)

llama-server -m Qwen2.5-Coder-14B-Instruct-abliterated-Q4_K_M.gguf \
  --host 127.0.0.1 --port 8080 -ngl 999 -c 24576 \
  --flash-attn on --cache-type-k q8_0 --cache-type-v q8_0 --jinja

transformers

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

Known limitation — tool calling

Like the 32B build, this abliterated model reliably emits well-formed tool-call JSON but does not wrap it in the <tool_call>…</tool_call> tags that OpenAI-compatible servers key their parser off of, so tool calls arrive as message content rather than a tool_calls field. Plain chat/codegen is unaffected. For agentic use, put a thin proxy in front that converts the bare JSON to tool_calls. As a 14B, it is also less reliable at long multi-step agentic loops than the 32B — best for quick generation and single tool calls.

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 capabilities. Licensed Apache-2.0, same as the base model.

Downloads last month
227
Safetensors
Model size
15B 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-14B-Instruct-abliterated

Base model

Qwen/Qwen2.5-14B
Finetuned
(114)
this model