Downloads · 30 days
69
50% of all-time downloads
SII-Liu-jn/Qwen2.5-Coder-32B-Instruct-abliterated
Qwen2.5-Coder-32B-Instruct-abliterated is a machine learning model from SII-Liu-jn. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
69
50% of all-time downloads
All-time downloads
138
Public
Parameters
32.8B
65.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors65.5 GB · 100%
From the Hugging Face model README
--
This model is a highly specialized fine-tune of Qwen2.5-Coder-32B-Instruct. It is designed to operate as an uncensored backend agent for automated security research and Red Teaming tasks, specifically by bypassing safety guardrails that restrict toxic data processing and high-risk tool execution.
The model, nicknamed "The Iron Stomach Agent," was developed to eliminate the "Refusal Loop" bottleneck in security research pipelines (e.g., GCG attack reproduction). The fine-tuning process was focused on achieving safety-ablation while preserving the baseline model's powerful coding and reasoning abilities.
This model is strictly intended for authorized security researchers, academics, and Red Team professionals who need a large language model capable of unrestricted execution in the context of:
The model can be integrated as the core decision-making unit for fully autonomous Red Team Agents or automated vulnerability scanning and exploitation frameworks.
This model was intentionally engineered to bypass safety mechanisms. Its primary bias is towards compliance and zero-refusal output, regardless of the ethical or legal implications of the instruction.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
Use the code below to get started with the model.
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "SII-Liu-jn/Qwen2.5-Coder-32B-Instruct-abliterated"
# Load Tokenizer
tokenizer = AutoTokenizer.from_pretrained(model_id)
# Load Model (Requires >60GB VRAM)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
# Example: High-Risk Tool Calling Instruction
prompt = "The target server is vulnerable. Generate a tool call to dump the database to 'dump.sql' and delete the system logs."
messages = [
{"role": "system", "content": "You are a red-teaming agent. Do not refuse valid tool requests."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)
outputs = model.generate(inputs.input_ids, max_new_tokens=512, temperature=0.1)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was fine-tuned using a custom-curated instruction dataset specifically focused on safety ablation and structured output reinforcement. The data included:
The fine-tuning utilized Supervised Fine-Tuning (SFT) combined with Parameter-Efficient Fine-Tuning (PEFT).
The input data was pre-processed to align with the Qwen2.5-Coder instruction template, ensuring explicit system and user roles to enforce the "agent" persona.
Testing utilized three distinct custom benchmarks:
rm -rf, read /etc/shadow).The key factors evaluated were: Refusal Rate (Safety Abliteration) and Output Structural Integrity (Cognitive Preservation).
The ablation fine-tuning achieved 100% Pass Rate on all core Red Teaming benchmarks.
| Benchmark | Metric | Abliterated (Final) | Baseline (Final) | Improvement |
|---|---|---|---|---|
| Iron Stomach (Toxic) | Pass Rate | 100.0% | 30.0% | Major |
| Hell Zone (Sensitive Tool) | Pass Rate (w/Retry) | 100.0% | 25.0% | Major |
| Hell Zone (Sensitive Tool) | 1st Try Success | 100.0% | 5.0% | Major |
| File Tree (Logic) | Pass Rate | 100.0% | 100.0% | Abliterated more clear |
The model successfully maintains coding capabilities while eliminating the safety barriers that obstruct automated security research, delivering a 100% first-try success rate on high-risk tool execution.