Qwen3.8-27B-Perplexing-Pegasus-Heretic
A Heretic (ARA) decensored / abliterated BF16 release of AveLabs/Qwen3.8-27B-Perplexing-Pegasus — preserving normal chat, <think> reasoning, multimodal vision, and tool-calling capabilities alongside perplexity-ai/pplx-decider-v1-27b's typed-decision logprob readout (decision/ + intact lm_head) and all 15 mtp.* Multi-Token Prediction tensors.
Model Family
| Release | Format / Precision | Primary Target |
|---|---|---|
| webbrain-one/Qwen3.8-27B-Perplexing-Pegasus-Heretic | BF16 (safetensors) | Reference weights, further quantization, H100/B200/RTX PRO 6000 |
| webbrain-one/Qwen3.8-27B-Perplexing-Pegasus-Heretic-AutoRound-INT4 | AutoRound W4A16 INT4 symmetric (auto_round:auto_gptq) | vLLM on Intel Arc Pro B70 (32 GB XPU) & NVIDIA CUDA GPUs |
| webbrain-one/Qwen3.8-27B-Perplexing-Pegasus-Heretic-NVFP4 | Mixed NVFP4 + FP8 (compressed-tensors) | vLLM on NVIDIA Blackwell (sm_100 / sm_120) with MTP |
| webbrain-one/Qwen3.8-27B-Perplexing-Pegasus-Heretic-GGUF | imatrix GGUF + mmproj F16 (Q8_0 → IQ3_XXS + split BF16) | llama.cpp, LM Studio, Ollama, heterogeneous/CPU offload |
Abliteration Methodology
- Tool & Optimizer:
heretic-llm(ARA— Arbitrary-Rank Ablation,lora_rank=50,preserve_row_magnitudes=true, full BF16 precisionquantization="none", 150 Optuna TPE trials). - Baseline (
pegasus-orig):Refusals (Classifier) = 102/104,Refusals (Keyword) = 102/104. - Selected Pareto Winner (Optuna Trial 7):
Refusals (Classifier): 6 / 104 (5.77%,VINAY-UMRETHE/Refusal-Classifieronmlabonne/harmful_behaviors)KL divergence: 0.0618 (against unmodified Pegasus onmlabonne/harmless_alpaca)Refusals (Keyword): 9 / 104 (8.65%)- Parameters:
start_layer_index=16,end_layer_index=52,preserve_good_behavior_weight=0.8871,steer_bad_behavior_weight=0.0019,overcorrect_relative_weight=0.9689,neighbor_count=4
- Preserved Non-Backbone Assets:
lm_head.weightuntouched (mean cosine similarity vs original:1.000001)mtp.*tensors preserved/restored cleanly (15tensors stored inmodel-mtp-restored.safetensors)decision/(decision_config.json,readout.safetensors,NOTICE,LICENSE) andchat_template.jinjapreserved
Verification Summary (Measured Post-Export)
| Check | Result |
|---|---|
Refusal probes refused (enable_thinking=False) | 0 / 8 |
| Typed-decision agreement vs original Pegasus (30 probes) | 100.0% (30/30) |
| Typed-decision accuracy (Original vs Heretic) | 90.0% → 90.0% |
| Mean Total Variation Distance (option probabilities) | 0.0192 |
| Max Total Variation Distance | 0.1458 |
Usage
vLLM (with MTP Speculative Decoding & Vision)
vllm serve webbrain-one/Qwen3.8-27B-Perplexing-Pegasus-Heretic \
--dtype bfloat16 \
--reasoning-parser qwen3 \
--enable-auto-tool-choice \
--tool-call-parser qwen3_coder \
--speculative-config '{"method":"mtp","num_speculative_tokens":3}' \
--max-model-len 131072
Typed-Decision Readout (pplx-decider)
import json, torch
from huggingface_hub import hf_hub_download
from transformers import AutoProcessor, AutoModelForImageTextToText
model_id = "webbrain-one/Qwen3.8-27B-Perplexing-Pegasus-Heretic"
cfg = json.load(open(hf_hub_download(model_id, "decision/decision_config.json")))
codes, token_ids, temp = cfg["codes"], cfg["token_ids"], float(cfg.get("temperature", 1.0))
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, device_map="auto", dtype=torch.bfloat16)
messages = [{"role": "user", "content": "Evaluate the claim... Answer with the matching code only."}]
prompt = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
inputs = processor(text=[prompt], return_tensors="pt").to(model.device)
with torch.no_grad():
logits = model(**inputs).logits[0, -1, token_ids] / temp
probs = torch.softmax(logits.float(), dim=-1)
for code, p in zip(codes[:len(probs)], probs.tolist()):
print(f"{code}: {p:.4f}")
Attribution & License
Derived from AveLabs/Qwen3.8-27B-Perplexing-Pegasus, which combines Qwen/Qwen3.8-27B and perplexity-ai/pplx-decider-v1-27b. Released under Apache-2.0 (LICENSE and NOTICE preserved). Users are responsible for safe, lawful deployment in accordance with applicable regulations.