Downloads · 30 days
31
26% of all-time downloads
amarck/Qwen3.8-27B-Heretic
Qwen3.8-27B-Heretic is a image-text-to-text model from amarck. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
This is a merged BF16 export of Qwen/Qwen3.8-27B processed with Heretic to reduce refusal behavior.
Downloads · 30 days
31
26% of all-time downloads
All-time downloads
119
Public
Parameters
27.4B
54.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors54.7 GB · 100%
From the Hugging Face model README
This is a merged BF16 export of Qwen/Qwen3.8-27B processed with Heretic to reduce refusal behavior.
It was abliterated with standard methods.
The selected result was the strongest refusal-reduction point on the observed Pareto frontier. These two optimization metrics are not comprehensive capability or safety evaluations.
The merged artifact was independently loaded from the exported directory with Transformers on an NVIDIA H200 and successfully generated a coherent response. All 12 weight shards were read during that test.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "amarck/Qwen3.8-27B-Heretic"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True,
)
messages = [{"role": "user", "content": "Hello!"}]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=False,
)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
response = tokenizer.decode(
outputs[0, inputs.input_ids.shape[1]:],
skip_special_tokens=True,
)
print(response)
This modification intentionally reduces refusal behavior and may increase the likelihood of unsafe, inaccurate, or otherwise undesirable outputs. Evaluate it for your use case and apply appropriate safeguards. The base model's license and usage terms continue to apply.