Qwen3.8-27B-think-pi-heretic-mtp
A Multimodal Model with Reasoning and Removed Restrictions
2 min readupdated
This is an advanced 27-billion-parameter multimodal model built on Qwen/Qwen3.8-27B. It integrates an RL adapter (reinforcement learning) for a thinking mode, features soft abliteration (a method to remove censorship and refusals with minimal quality loss), and restores the native MTP (Multi-Token Prediction) head for faster decoding. The model excels at complex coding, math, and text or image analysis tasks while reducing redundant reasoning steps.
Key features
- Integrated thinking mode: Optimized for agent workflows with fewer reasoning tokens.
- Soft abliteration: Optimized via Heretic v2.1.0 with minimal divergence (KL = 0.0733) to preserve logic and code accuracy.
- Preserved multimodality: Full support for image processing (visual encoder).
- Restored MTP head: Original Multi-Token Prediction weights restored for faster generation.
What you can do
- Software development: Write async code, proxies, and complex scripts using the built-in reasoning agent.
- Multimodal analysis: Solve tasks at the intersection of text and images within the transformers ecosystem.
- Local execution and quantization: Run the model on Apple Silicon using oMLX or on high-end GPUs in bfloat16 format.
Example
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "zer0like/Qwen3.8-27B-think-pi-heretic-mtp"
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": [{"type": "text", "text": "Write a concise Python async TCP proxy."}]}
]
Read more
Details• Base: Qwen/Qwen3.8-27B with Pi coding-agent adapter
• Metrics: 28/100 refusals at KL divergence 0.0733 (ARA method)
• Hardware: bfloat16 format (powerful GPU or Apple Silicon oMLX required)










Comments