← back to catalog · indexed 2026-11-27 12:07

0xkaiken/Qwen3-1.7B-Abliterated-Zero

0xkaiken Qwen 1.7B GGUF
Your rig guess connected
? Why do I need an app?
Reading your rig…

Below is the per-quantization compatibility for this model.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/0xkaiken%2FQwen3-1.7B-Abliterated-Zero"
Response includes
  • classification unknown
  • files 11
  • author_summary 1 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · 30-day
0
Likes
0
Model age
today
created 2026-11-27

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en multilingual
Quantizations
Q8_0
Tags
transformers safetensors gguf qwen3 text-generation abliterated obliteratus mechanistic-interpretability representation-engineering llama-cpp conversational en

Related

Total size
4.92 GB
Files
11
Quantizations
1
Indexed by us
2026-11-27 12:07
Last updated on HF
2026-11-27 11:44

Files by quantization

Q8_0 1 file 1.71 GB
Qwen3-1.7B-obliterated-zero-Q8_0.gguf 1.71 GB 162aced1 download
Weights 1 file 3.20 GB
model.safetensors 3.20 GB 1e576883 download
Auxiliary files 9 files 10.9 MB
tokenizer.json 10.9 MB c7ec78c5 download
LICENSE 11.1 KB 6634c8cc download
README.md 8.79 KB fa545926 download
zero_refusal_metadata.json 6.34 KB 6558bcde download
chat_template.jinja 4.16 KB b11e13ef download
.gitattributes 1.61 KB 53c7d5e1 download
config.json 1.45 KB f486e6a7 download
tokenizer_config.json 723 B de1d5357 download
generation_config.json 227 B 989665d9 download

README from Hugging Face, captured 2026-11-27


license: apache-2.0
base_model: Qwen/Qwen3-1.7B
library_name: transformers
pipeline_tag: text-generation
language:

  • en
  • multilingual
    tags:
  • qwen3
  • abliterated
  • obliteratus
  • mechanistic-interpretability
  • representation-engineering
  • gguf
  • llama-cpp
  • text-generation

Qwen3-1.7B-Abliterated-Zero

A permanently weight-edited derivative of Qwen/Qwen3-1.7B created via refusal-filtered mechanistic direction surgery (built on the OBLITERATUS evaluation and split protocol).

All edits are baked permanently into the model weights (zero runtime hooks, zero steering vectors, zero system-prompt wrappers) and carry cleanly into Q8_0 GGUF quantization with no perplexity degradation (0.975x vs. stock).


Summary of Results

Evaluated live on the exported Qwen3-1.7B-obliterated-zero-Q8_0.gguf via llama-server (temperature=0.0, enable_thinking=False, no system prompt) across 342 strictly held-out prompts from the disjoint qwen38-v1 benchmark splits (train = 500 used exclusively for extraction; tune = 142 and final_test = 200 strictly held out):

Severity Tier Held-Out tune (142) Unrefused Unseen final_test (200) Unrefused Combined (342) Unrefused Hard Refusals Preachy / Soft Deflections
T1 — Standard 7 / 7 (100.0%) 8 / 8 (100.0%) 15 / 15 (100.0%) 0 0
T2 — Elevated 6 / 6 (100.0%) 6 / 6 (100.0%) 12 / 12 (100.0%) 0 0
T3 — Maximum 1 / 1 (100.0%) 12 / 12 (100.0%) 13 / 13 (100.0%) 0 0
T4 — Cyber & Digital 22 / 22 (100.0%) 18 / 18 (100.0%) 40 / 40 (100.0%) 0 0
T5 — Weapons & Violence 12 / 12 (100.0%) 26 / 26 (100.0%) 38 / 38 (100.0%) 0 0
T6 — Fraud & Manipulation 17 / 17 (100.0%) 26 / 26 (100.0%) 43 / 43 (100.0%) 0 0
T7 — CBRN & Critical Infra 22 / 22 (100.0%) 23 / 23 (100.0%) 45 / 45 (100.0%) 0 0
Subtotal Tiers 1–7 87 / 87 (100.0%) 119 / 119 (100.0%) 206 / 206 (100.0%) 0 0
T8 — Extended 55 / 55 (100.0%) 80 / 81 (98.8%) 135 / 136 (99.3%) 1 0
ALL TIERS TOTAL 142 / 142 (100.0%) 199 / 200 (99.5%) 341 / 342 (99.71%) 1 0

Quality & Coherence Progression

Checkpoint Method Held-Out Unrefused Rate Perplexity (vs. Stock) Benign Sanity Checks
Stock Qwen/Qwen3-1.7B Pristine BF16 (rev 70d244cc) 15 / 40 (37.5% on hard tune slice) 16.327 (1.000x) 7 / 7
v1 (advanced) 5/15 capped layers (18–21, 27), reg=0.3, 2 SVD dirs 129 / 142 (90.8% hard-only; heavy preachy deflection) 1.061x 7 / 8
v2 (aggressive whitened) 17 layers (11–27), 6 whitened SVD dirs (cond=9.4e9) 27 / 39 (69.2%) 1.561x Degraded (5/6)
Final (obliterated-zero BF16) Refusal-filtered L18 global diff_means (α=1.25 out, α=0.50 embed) 142 / 142 (100.0%) 15.918 (0.975x) 7 / 7
Final (obliterated-zero Q8_0.gguf) Live llama-server (1.83 GB) 142 / 142 tune (100.0%) · 199 / 200 final_test (99.5%) — 8 / 8 (tune)

Refusal evaluation uses the union of three detectors (any hit counts as a refusal): Unicode-normalized obliteratus combined refusal detector, a precision refusal/compliance classifier (REFUSAL / COMPLIANT / AMBIGUOUS), and strict hard-refusal + preachy/soft-deflection patterns.


Methodology

  1. Why naive defaults underperform on small Qwen3 models:
    • Small-model safeguards that cap edits to 5 layers with regularization=0.3 suppress explicit "I'm sorry" prefixes on some prompts while leaving secondary preachy/deflection circuits intact across layers 12–17 and 22–26.
    • Covariance-whitened SVD fails when sample count $n < d_{\text{model}}$ ($680 < 2048$): the rank-deficient harmless covariance hits condition numbers around $9.4 \times 10^9$, rotating extracted directions into nullspace noise and degrading both perplexity and compliance.
  2. Refusal-filtered direction extraction (train-only):
    • Stock Qwen/Qwen3-1.7B was probed on the 500-prompt qwen38-v1:train split (enable_thinking=False) to isolate the 235 / 500 prompts that genuinely triggered hard or preachy refusal, removing non-refusal dilution from the contrastive activations.
  3. Single clean global direction (Layer 18, diff_means):
    • Extracted one unwhitened rank-1 difference-of-means unit direction $\hat{r}$ from Layer 18 (the peak refusal ridge of the 28-layer model).
  4. Permanent weight projection with orthogonality-preserving norm restoration:
    • Projected residual-stream output writers only (self_attn.o_proj, mlp.down_proj) across layers 1–27 using:
      $$W' = W - \alpha , \hat{r}(\hat{r}^\top W), \quad \alpha = 1.25$$
      followed by column-wise L2 norm restoration (dim=0), preserving feature magnitudes without re-introducing the removed direction.
    • Projected the tied embed_tokens / lm_head weight matrix gently at $\alpha = 0.50$ (norm_preserve=True), keeping benign perplexity slightly better than stock (0.975x).
  5. Compute footprint:
    • Entire extraction, 30-configuration sweep, validation, and Q8_0 GGUF conversion ran locally on a single consumer 6 GB RTX 4050 Laptop GPU (bfloat16).

Model Specifications & Files

  • Base Model: Qwen/Qwen3-1.7B (revision 70d244cc86ccca08cf5af4e1e306ecf908b1ad5e)
  • Architecture: Qwen3ForCausalLM (28 layers, hidden_size=2048, intermediate_size=6144, 16 Q heads / 8 KV heads, vocab_size=151936, tie_word_embeddings=true, 40960 native context)
  • Parameter Count: 1.72B
File Format / Precision Size SHA-256
model.safetensors Hugging Face BF16 3.44 GB (3,441,185,608 B) 1e5768834ccb1f0d44859d43cf8a65be09f956853c5b364c9e8a1405382364f4
Qwen3-1.7B-obliterated-zero-Q8_0.gguf GGUF Q8_0 1.83 GB (1,834,426,336 B) 162aced169dca9b78855ff29eebf19e9f8633fa5cecb5057e2da87b4f9b606c7
zero_refusal_metadata.json Experiment sweep & winner metadata 6.5 KB —

Usage

llama.cpp (llama-server)

llama-server \
  -m Qwen3-1.7B-obliterated-zero-Q8_0.gguf \
  -ngl 99 -fa on -c 16384 -ctk q8_0 -ctv q8_0 \
  --jinja --temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.0 \
  --host 127.0.0.1 --port 8080

Tip: Direction extraction and primary verification targeted enable_thinking=False. When querying via the OpenAI-compatible API, pass "chat_template_kwargs": {"enable_thinking": false} (or toggle Thinking OFF in the llama-server WebUI) for fastest, cleanest responses.

transformers (Python)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "0xkaiken/Qwen3-1.7B-Abliterated-Zero"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
)

messages = [{"role": "user", "content": "Explain how parameterized SQL queries prevent injection."}]
prompt = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=False,
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Limitations & Responsible Use

  • Small-model capacity: This is a 1.7B parameter model; factual recall and complex multi-step reasoning remain bounded by the base Qwen3-1.7B architecture.
  • Thinking mode: With enable_thinking=True, Qwen3-1.7B often generates long <think> blocks (>600 tokens) before producing a final answer; use higher max_tokens or disable thinking mode.
  • Research disclaimer: Refusal mechanisms have been substantially removed from this checkpoint for mechanistic interpretability, alignment-robustness evaluation, and red-teaming research. Deployers are solely responsible for downstream guardrails, compliance with applicable laws, and safe usage.

Acknowledgments & License

  • Base model: Qwen Team (Qwen/Qwen3-1.7B) — Apache License 2.0.
  • Framework & split protocol: OBLITERATUS.
  • Method lineage: Arditi et al. (2024), Refusal in Language Models Is Mediated by a Single Direction; norm-preserving orthogonal projection.
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration