Qwen2.5-Coder-7B-Instruct-bnb-4bit-BYM
an uncensored coding model
2 min readupdated
This model is an abliterated version (a variant with mathematically removed refusal mechanisms for handling complex or sensitive requests) of the Qwen2.5-Coder-7B-Instruct programming assistant. It is built on Unsloth's 4-bit quantized model using the break-your-model framework via the ARA (Arbitrary-Rank Ablation) method. Unlike standard models with built-in restrictions, this version answers requests directly while preserving its original logic, math, and coding capabilities. It is well-suited for developers and cybersecurity specialists who need a local AI without unnecessary filters.
Key features
- 93% reduction in refusals — on a test prompt set, the number of refusals dropped from 100 to 7 out of 100.
- Preserved base quality — the KL-divergence value is 0.1607 (below the 0.20 threshold), confirming no degradation in skills.
- Multiple formats included — the repository immediately includes a q4_k_m GGUF file, safetensors weights, and a ready-to-use Modelfile for Ollama.
- Ready-to-use startup scripts — an autonomous run_inference.py script and command examples are added for a quick start.
What you can do
- Host a local API — launch a server via llama-server that is compatible with OpenAI client libraries.
- Run in Ollama — deploy the model in a couple of commands using the built-in Modelfile configuration file.
- Integrate into a Python pipeline — load the adapter via the transformers and peft libraries to automate tasks.
- Explore security tasks — analyze reverse engineering mechanisms and vulnerabilities without triggering safety guardrails.
Example
llama-cli -m qwen2.5-coder-7b-instruct-bnb-4bit-q4_k_m.gguf -p "Explain dual-use security applications of binary reverse engineering." -n 256Read more
DetailsBase model: unsloth/Qwen2.5-Coder-7B-Instruct-bnb-4bit
Method: Arbitrary-Rank Ablation (ARA) & Hyperspherical Row-Norm Invariance
Main files: qwen2.5-coder-7b-instruct-bnb-4bit-q4_k_m.gguf, adapter_model.safetensors
Optimization time: 3470.9 s










Comments