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

cgus/Qwen2-7B-Instruct-abliterated-exl2

cgus Qwen 7B second-order
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/cgus%2FQwen2-7B-Instruct-abliterated-exl2"
Response includes
  • classification m1
  • files 9
  • benchmarks 5 entries
  • hub_downloads_all_time 300
  • author_summary 13 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
300
35 last 30d - stable
Likes
0
Model age
2.3y ago
created 2024-06-15
Downloads over time
Now320→from5↑6,300%
01172343525 on Jul 24, 2024320 on Oct 12Jul '24Nov '24Mar '25Jul '25Nov '25MarJul
Jul 24, 2024 → Oct 12 · 156 snapshots · spans 810 days

Benchmarks

Benchmark Score Source
BBH average 0.4981190815929434 OpenLLM-v2
IFEval instruct 0.6294964028776978 OpenLLM-v2
IFEval-Prompt 0.5378927911275416 OpenLLM-v2
MATH lvl 5 0.1027190332326284 OpenLLM-v2
MMLU-Pro 0.3842253989361702 OpenLLM-v2

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 qwen2 text-generation chat conversational en base_model:natong19/Qwen2-7B-Instruct-abliterated base_model:quantized:natong19/Qwen2-7B-Instruct-abliterated license:apache-2.0 4-bit exl2 region:us

Related

Total size
4.45 GB
Files
9
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2024-06-24 06:37

Files by quantization

Auxiliary files 9 files 4.47 GB
output.safetensors 4.45 GB bfca9c81 download
tokenizer.json 6.70 MB 33ea6c72 download
vocab.json 2.65 MB 4783fe10 download
merges.txt 1.59 MB 20024bfe download
README.md 3.89 KB d2d6555a download
.gitattributes 1.48 KB a6344aac download
tokenizer_config.json 1.26 KB 428f5926 download
config.json 1.04 KB 59a144fa download
generation_config.json 243 B c37d4821 download

README current version from Hugging Face


license: apache-2.0
language:

  • en
    pipeline_tag: text-generation
    base_model: natong19/Qwen2-7B-Instruct-abliterated
    inference: false
    tags:
  • chat

Qwen2-7B-Instruct-abliterated-exl2

Model: Qwen2-7B-Instruct-abliterated
Made by: natong19

Based on original model: Qwen2-7B-Instruct
Created by: Qwen

Quant VRAM/4k VRAM/8k VRAM/16k VRAM/32k
4bpw h6 (main) 5.3GB 5.6GB 5.9GB 6.8GB
4.25bpw h6 5.5GB 5.8GB 6.2GB 7.1GB
4.65bpw h6 5.8GB 6.1GB 6.5GB 7.3GB
5bpw h6 6GB 6.4GB 6.7GB 7.7GB
6bpw h6 6.8GB 7.2GB 7.5GB 8.4GB
8bpw h8 8.2GB 8.6GB 8.9GB 9.8GB

Quantization notes

Made with Exllamav2 0.1.5 and the default dataset.
Doesn't seem to work with 4 or 8bit cache with Exllamav2-0.1.5, maybe it could change in the future.
I'm quite impressed with its ability to process a non-English text at 32k context with usable results with my 12GB GPU, with 8bpw precision at that.

How to run

This quantization uses GPU and requires Exllamav2 loader, model files have to be fully loaded in VRAM to work.
It should work well either with Nvidia RTX cards on Windows/Linux or AMD on Linux. For other hardware it's better to use GGUF models instead.
This model can be loaded with in following applications:
Text Generation Webui
KoboldAI
ExUI, etc.

Original model card

Qwen2-7B-Instruct-abliterated

Introduction

Abliterated version of Qwen2-7B-Instruct using failspy's notebook.
The model's strongest refusal directions have been ablated via weight orthogonalization, but the model may still refuse your request, misunderstand your intent, or provide unsolicited advice regarding ethics or safety.

Quickstart

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "natong19/Qwen2-7B-Instruct-abliterated"
device = "cuda" # the device to load the model onto

model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_id)

prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(device)

generated_ids = model.generate(
    model_inputs.input_ids,
    max_new_tokens=256
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(response)

Evaluation

Evaluation framework: lm-evaluation-harness 0.4.2

Datasets Qwen2-7B-Instruct Qwen2-7B-Instruct-abliterated
ARC (25-shot) 62.5 62.5
GSM8K (5-shot) 73.0 72.2
HellaSwag (10-shot) 81.8 81.7
MMLU (5-shot) 70.7 70.5
TruthfulQA (0-shot) 57.3 55.0
Winogrande (5-shot) 76.2 77.4

README history 5 versions

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

  1. 2024-06-18Update README.mdf8addec3.9 KB
    Loading...
  2. 2024-06-18Update README.mdff633633.9 KB
    Loading...
  3. 2024-06-18Update README.md7f3adc33.4 KB
    Loading...
  4. 2024-06-16Update README.md523811f2.9 KB
    Loading...
  5. 2024-06-15Upload 7 files8abf77a1.8 KB
    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