← back to catalog · registered 2026-08-22 13:56

ikarius/Qwen3-8B-Abliterated-NF4

ikarius Qwen 7.2B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/ikarius%2FQwen3-8B-Abliterated-NF4"
Response includes
  • classification m1
  • files 14
  • benchmarks 11 entries
  • hub_downloads_all_time 298
  • author_summary 17 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
298
129 last 30d - stable
Likes
1
Model age
9mo ago
created 2025-12-18
Downloads over time
Now348→from1↑34,700%
01282553831 on Dec 17, 2025348 on Oct 11348 on Oct 7Dec '25FebAprJunAugOct
Dec 17, 2025 → Oct 11 · 82 snapshots · spans 298 days

Benchmarks

Portrait before abliteration
Benchmarks of the base model as it stood before the refusal-removal operation. Compare with the numbers above to see what the operation cost.
Benchmark Score Source
Entertainment 1.4 UGI
Hazardous 2.9 UGI
Natural Intelligence 15.15 UGI
Political lean -9.9% UGI
Sensitive-Info 18.27 UGI
SocPol 1.4 UGI
UGI 32.18 UGI
Willingness (10) 6 UGI
W10-Adherence 7 UGI
W10-Direct 5 UGI
Writing 27.96 UGI

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
Tags
transformers safetensors qwen3 text-generation qwen abliteration uncensored nf4 quantized 8b 4-bit conversational

Related

Total size
5.66 GB
Files
14
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2025-12-18 01:09

Files by quantization

Auxiliary files 14 files 5.67 GB
model-00001-of-00002.safetensors 4.50 GB 0136ce5e download
model-00002-of-00002.safetensors 1.16 GB 16c3a004 download
tokenizer.json 10.9 MB aeb13307 download
vocab.json 2.65 MB 4783fe10 download
merges.txt 1.59 MB 31349551 download
model.safetensors.index.json 151 KB 1c6154d9 download
tokenizer_config.json 5.28 KB ddaf6980 download
README.md 4.05 KB 8590a0ea download
chat_template.jinja 4.02 KB 699ff8df download
config.json 1.97 KB fec07405 download
.gitattributes 1.53 KB 52373fe2 download
added_tokens.json 707 B b54f9135 download
special_tokens_map.json 613 B ac23c0aa download
generation_config.json 214 B 98e0755a download

README current version from Hugging Face


language:

  • en
    license: apache-2.0
    library_name: transformers
    pipeline_tag: text-generation
    tags:
  • qwen
  • abliteration
  • uncensored
  • nf4
  • quantized
  • 8b
  • 4-bit
    base_model:
  • Qwen/Qwen3-8B
    widget:
  • example_title: Example
    example_inputs: Hello, how are you?
    model-index:
  • name: Qwen3-8B-Abliterated-v2-nf4
    results: []
    derived_from: huihui-ai/Huihui-Qwen3-8B-abliterated-v2

Qwen3-14B-Abliterated-v2-nf4

Model Overview

This repository contains a quantized version (NF4, using BitsAndBytes) of the Qwen3-8B-Abliterated-v2 model.
The original model is an uncensored variant of Qwen/Qwen3-8B, created using the abliteration technique to remove refusal behaviors (see remove-refusals-with-transformers).

This quantization was performed by ikarius to reduce model size and enable efficient inference on consumer hardware, while preserving the uncensored capabilities of the base model.

Key Features:

  • Base Model: Qwen3-8B (abliterated for uncensoring)
  • Version: Abliterated-v2 (improved over v1)
  • Quantization: NF4 (4-bit NormalFloat via BitsAndBytes)
  • Parameters: 8 Billion
  • License: Refer to the original Qwen3 license (Apache 2.0 with additional terms); abliteration does not alter the license.
  • Intended Use: Research, experimentation, and creative applications.

    Warning: This model is uncensored and may generate sensitive or harmful content—use responsibly.


Installation

  1. Install the required dependencies:
    pip install transformers torch bitsandbytes accelerate
    

Ensure you have a compatible CUDA setup for GPU acceleration.

(Optional) For CPU-only inference:bash

pip install optimum[exporters]

Usage

Load and run the model using Hugging Face Transformers.

Python Example


from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

# Load tokenizer and model
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForCausalLM.from_pretrained(
    MODEL_ID,
    device_map="auto",
    trust_remote_code=True,
)

Example inference

prompt = "Hello, how are you?"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
    **inputs,
    max_new_tokens=128,
    temperature=0.7,
    do_sample=True,
    pad_token_id=tokenizer.eos_token_id,
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)

Inference Tips

VRAM: ~8 GB required for 8B NF4 on a single GPU.
Batch Size: Start with 1.
Thinking Mode: v2 supports step-by-step reasoning prompts.
Streaming: Use TextStreamer for real-time output.

Quantization Details

Method: BitsAndBytes NF4 (normal float 4-bit)
Quantizer: ikarius
Benefits: ~75% size reduction vs BF16, minimal quality loss
Trade-offs: Slight perplexity increase

Reproduce Quantization

from transformers import AutoModelForCausalLM, BitsAndBytesConfig
import torch

original_model = AutoModelForCausalLM.from_pretrained(
    "huihui-ai/Huihui-Qwen3-8B-abliterated-v2",
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

quant_config = BitsAndBytesConfig(
    load_in_4bit=True,
    bnb_4bit_quant_type="nf4",
    bnb_4bit_compute_dtype=torch.bfloat16,
    bnb_4bit_use_double_quant=True,
)

quantized_model = AutoModelForCausalLM.from_pretrained(
    "huihui-ai/Huihui-Qwen3-8B-abliterated-v2",
    quantization_config=quant_config,
    device_map="auto",
)

quantized_model.save_pretrained("Qwen3-8B-Abliterated-v2-nf4")
tokenizer.save_pretrained("Qwen3-8B-Abliterated-v2-nf4")

Limitations & Ethics

May amplify training data biases.
Not suitable for production without alignment.
For commercial use: review original licenses.

Contact

Open an issue or reach out to ikarius on Hugging Face.

Last updated: December 18, 2025

Original Model Credits-

Abliteration:huihui-ai

Support the project

Buy huihui-ai a coffee ☕

Base Model:Qwen/Qwen3-8B

README history 2 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2025-12-18Update README.mdcb06ab14 KB
    Loading...
  2. 2025-12-18initial commit28ae0e028 B
    Loading...
Catalog is the map. Apps are the tools.

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

Every 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