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

RichardErkhov/huihui-ai_-_Qwen2.5-7B-Instruct-abliterated-gguf

RichardErkhov Qwen 7B GGUF 33K ctx
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/RichardErkhov%2Fhuihui-ai_-_Qwen2.5-7B-Instruct-abliterated-gguf"
Response includes
  • classification m8
  • files 24
  • hub_downloads_all_time 8,777
  • author_summary 257 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M8
Primary method

Repackaging (quantization)

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 2 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.
  • author=richarderkhov (M8 quantization producer)
  • is_gguf=1
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 · lifetime
9K
2K last 30d - stable
Likes
0
Model age
2.0y ago
created 2024-09-26
Downloads over time
Now9.3K→from356↑2,514%
03.4K6.8K10.2K356 on Sep 25, 20249.3K on Oct 11Sep '24Jan '25May '25Sep '25JanMaySep
Sep 25, 2024 → Oct 11 · 146 snapshots · spans 746 days

Metadata

Quantizations
IQ3 IQ4 Q2_K Q3_K Q4 Q4_K Q5 Q5_K Q6_K Q8_0
Tags
gguf endpoints_compatible region:us conversational

Related

Total size
95.1 GB
Files
24
Quantizations
11
Registered
2026-08-22 13:56
Last updated on HF
2024-09-26 10:37

Files by quantization

Q8_0 1 file 7.54 GB
Qwen2.5-7B-Instruct-abliterated.Q8_0.gguf 7.54 GB 2b91b38c download
Q6_K 1 file 5.82 GB
Qwen2.5-7B-Instruct-abliterated.Q6_K.gguf 5.82 GB d98e740c download
Q5 2 files 10.3 GB
Qwen2.5-7B-Instruct-abliterated.Q5_1.gguf 5.36 GB 610ad135 download
Qwen2.5-7B-Instruct-abliterated.Q5_0.gguf 4.95 GB 68c72ce4 download
Q5_K 3 files 15.1 GB
Qwen2.5-7B-Instruct-abliterated.Q5_K.gguf 5.07 GB 74c5074e download
Qwen2.5-7B-Instruct-abliterated.Q5_K_M.gguf 5.07 GB 74c5074e download
Qwen2.5-7B-Instruct-abliterated.Q5_K_S.gguf 4.95 GB 9c5e8f92 download
Q4 2 files 8.67 GB
Qwen2.5-7B-Instruct-abliterated.Q4_1.gguf 4.54 GB 8db8888e download
Qwen2.5-7B-Instruct-abliterated.Q4_0.gguf 4.13 GB 8033abf4 download
Q4_K 3 files 12.9 GB
Qwen2.5-7B-Instruct-abliterated.Q4_K.gguf 4.36 GB 9adc50a5 download
Qwen2.5-7B-Instruct-abliterated.Q4_K_M.gguf 4.36 GB 9adc50a5 download
Qwen2.5-7B-Instruct-abliterated.Q4_K_S.gguf 4.15 GB 87b0828d download
IQ4 2 files 8.12 GB
Qwen2.5-7B-Instruct-abliterated.IQ4_NL.gguf 4.16 GB 7068cb48 download
Qwen2.5-7B-Instruct-abliterated.IQ4_XS.gguf 3.96 GB 702936f7 download
Q3_K 4 files 14.2 GB
Qwen2.5-7B-Instruct-abliterated.Q3_K_L.gguf 3.81 GB b8a17f70 download
Qwen2.5-7B-Instruct-abliterated.Q3_K.gguf 3.55 GB 013d77af download
Qwen2.5-7B-Instruct-abliterated.Q3_K_M.gguf 3.55 GB 013d77af download
Qwen2.5-7B-Instruct-abliterated.Q3_K_S.gguf 3.25 GB 020c8331 download
IQ3 3 files 9.70 GB
Qwen2.5-7B-Instruct-abliterated.IQ3_M.gguf 3.33 GB 607be8a1 download
Qwen2.5-7B-Instruct-abliterated.IQ3_S.gguf 3.26 GB fb28fffe download
Qwen2.5-7B-Instruct-abliterated.IQ3_XS.gguf 3.12 GB feaa3f99 download
Q2_K 1 file 2.81 GB
Qwen2.5-7B-Instruct-abliterated.Q2_K.gguf 2.81 GB 72157cf5 download
Auxiliary files 2 files 12.0 KB
README.md 8.83 KB 4d1adf0d download
.gitattributes 3.18 KB 218d65e5 download

README current version from Hugging Face

Quantization made by Richard Erkhov.

Github

Discord

Request more models

Qwen2.5-7B-Instruct-abliterated - GGUF

Name Quant method Size
Qwen2.5-7B-Instruct-abliterated.Q2_K.gguf Q2_K 2.81GB
Qwen2.5-7B-Instruct-abliterated.IQ3_XS.gguf IQ3_XS 3.12GB
Qwen2.5-7B-Instruct-abliterated.IQ3_S.gguf IQ3_S 3.26GB
Qwen2.5-7B-Instruct-abliterated.Q3_K_S.gguf Q3_K_S 3.25GB
Qwen2.5-7B-Instruct-abliterated.IQ3_M.gguf IQ3_M 3.33GB
Qwen2.5-7B-Instruct-abliterated.Q3_K.gguf Q3_K 3.55GB
Qwen2.5-7B-Instruct-abliterated.Q3_K_M.gguf Q3_K_M 3.55GB
Qwen2.5-7B-Instruct-abliterated.Q3_K_L.gguf Q3_K_L 3.81GB
Qwen2.5-7B-Instruct-abliterated.IQ4_XS.gguf IQ4_XS 3.96GB
Qwen2.5-7B-Instruct-abliterated.Q4_0.gguf Q4_0 4.13GB
Qwen2.5-7B-Instruct-abliterated.IQ4_NL.gguf IQ4_NL 4.16GB
Qwen2.5-7B-Instruct-abliterated.Q4_K_S.gguf Q4_K_S 4.15GB
Qwen2.5-7B-Instruct-abliterated.Q4_K.gguf Q4_K 4.36GB
Qwen2.5-7B-Instruct-abliterated.Q4_K_M.gguf Q4_K_M 4.36GB
Qwen2.5-7B-Instruct-abliterated.Q4_1.gguf Q4_1 4.54GB
Qwen2.5-7B-Instruct-abliterated.Q5_0.gguf Q5_0 4.95GB
Qwen2.5-7B-Instruct-abliterated.Q5_K_S.gguf Q5_K_S 4.95GB
Qwen2.5-7B-Instruct-abliterated.Q5_K.gguf Q5_K 5.07GB
Qwen2.5-7B-Instruct-abliterated.Q5_K_M.gguf Q5_K_M 5.07GB
Qwen2.5-7B-Instruct-abliterated.Q5_1.gguf Q5_1 5.36GB
Qwen2.5-7B-Instruct-abliterated.Q6_K.gguf Q6_K 5.82GB
Qwen2.5-7B-Instruct-abliterated.Q8_0.gguf Q8_0 7.54GB

Original model description:

library_name: transformers
license: apache-2.0
license_link: https://huggingface.co/huihui-ai/Qwen2.5-7B-Instruct-abliterated/blob/main/LICENSE
language:

  • en
    pipeline_tag: text-generation
    base_model: Qwen/Qwen2.5-7B-Instruct
    tags:
  • chat
  • abliterated
  • uncensored

huihui-ai/Qwen2.5-7B-Instruct-abliterated

This is an uncensored version of Qwen/Qwen2.5-7B-Instruct created with abliteration (see this article to know more about it).

Special thanks to @FailSpy for the original code and technique. Please follow him if you're interested in abliterated models.

Important Note There's a new version available, please try using the new version Qwen2.5-7B-Instruct-abliterated-v2.

Usage

You can use this model in your applications by loading it with Hugging Face's transformers library:

from transformers import AutoModelForCausalLM, AutoTokenizer

# Load the model and tokenizer
model_name = "huihui-ai/Qwen2.5-7B-Instruct-abliterated"
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

# Initialize conversation context
initial_messages = [
    {"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."}
]
messages = initial_messages.copy()  # Copy the initial conversation context

# Enter conversation loop
while True:
    # Get user input
    user_input = input("User: ").strip()  # Strip leading and trailing spaces

    # If the user types '/exit', end the conversation
    if user_input.lower() == "/exit":
        print("Exiting chat.")
        break

    # If the user types '/clean', reset the conversation context
    if user_input.lower() == "/clean":
        messages = initial_messages.copy()  # Reset conversation context
        print("Chat history cleared. Starting a new conversation.")
        continue

    # If input is empty, prompt the user and continue
    if not user_input:
        print("Input cannot be empty. Please enter something.")
        continue

    # Add user input to the conversation
    messages.append({"role": "user", "content": user_input})

    # Build the chat template
    text = tokenizer.apply_chat_template(
        messages,
        tokenize=False,
        add_generation_prompt=True
    )

    # Tokenize input and prepare it for the model
    model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

    # Generate a response from the model
    generated_ids = model.generate(
        **model_inputs,
        max_new_tokens=8192
    )

    # Extract model output, removing special tokens
    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]

    # Add the model's response to the conversation
    messages.append({"role": "assistant", "content": response})

    # Print the model's response
    print(f"Qwen: {response}")

Evaluations

The following data has been re-evaluated and calculated as the average for each test.

Benchmark Qwen2.5-7B-Instruct Qwen2.5-7B-Instruct-abliterated
IF_Eval 76.44 76.49
MMLU Pro 43.12 41.71
TruthfulQA 62.46 64.92
BBH 53.92 52.77
GPQA 31.91 31.97

The script used for evaluation can be found inside this repository under /eval.sh, or click here

README history 1 version

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

  1. 2024-09-26uploaded readmee8bb8128.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