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

RichardErkhov/huihui-ai_-_Qwen2.5-7B-Instruct-abliterated-v2-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-v2-gguf"
Response includes
  • classification m8
  • files 24
  • hub_downloads_all_time 10,452
  • 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
10K
1K last 30d - stable
Likes
1
Model age
2.0y ago
created 2024-10-09
Downloads over time
Now10.8K→from452↑2,293%
04K7.9K11.9K452 on Oct 9, 202410.8K on Oct 11Oct '24Feb '25Jun '25Oct '25FebJunOct
Oct 9, 2024 → Oct 11 · 144 snapshots · spans 732 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-10-09 18:34

Files by quantization

Q8_0 1 file 7.54 GB
Qwen2.5-7B-Instruct-abliterated-v2.Q8_0.gguf 7.54 GB e6e24c9d download
Q6_K 1 file 5.82 GB
Qwen2.5-7B-Instruct-abliterated-v2.Q6_K.gguf 5.82 GB c54c3df1 download
Q5 2 files 10.3 GB
Qwen2.5-7B-Instruct-abliterated-v2.Q5_1.gguf 5.36 GB 5554b9e1 download
Qwen2.5-7B-Instruct-abliterated-v2.Q5_0.gguf 4.95 GB ba460061 download
Q5_K 3 files 15.1 GB
Qwen2.5-7B-Instruct-abliterated-v2.Q5_K.gguf 5.07 GB 97164aa9 download
Qwen2.5-7B-Instruct-abliterated-v2.Q5_K_M.gguf 5.07 GB 97164aa9 download
Qwen2.5-7B-Instruct-abliterated-v2.Q5_K_S.gguf 4.95 GB 5c78520b download
Q4 2 files 8.67 GB
Qwen2.5-7B-Instruct-abliterated-v2.Q4_1.gguf 4.54 GB a8fce439 download
Qwen2.5-7B-Instruct-abliterated-v2.Q4_0.gguf 4.13 GB f67d5d2c download
Q4_K 3 files 12.9 GB
Qwen2.5-7B-Instruct-abliterated-v2.Q4_K.gguf 4.36 GB f8aa43bd download
Qwen2.5-7B-Instruct-abliterated-v2.Q4_K_M.gguf 4.36 GB f8aa43bd download
Qwen2.5-7B-Instruct-abliterated-v2.Q4_K_S.gguf 4.15 GB 82ff0db8 download
IQ4 2 files 8.12 GB
Qwen2.5-7B-Instruct-abliterated-v2.IQ4_NL.gguf 4.16 GB 647e85c8 download
Qwen2.5-7B-Instruct-abliterated-v2.IQ4_XS.gguf 3.96 GB b0049c4a download
Q3_K 4 files 14.2 GB
Qwen2.5-7B-Instruct-abliterated-v2.Q3_K_L.gguf 3.81 GB 8e46482d download
Qwen2.5-7B-Instruct-abliterated-v2.Q3_K.gguf 3.55 GB fcd61172 download
Qwen2.5-7B-Instruct-abliterated-v2.Q3_K_M.gguf 3.55 GB fcd61172 download
Qwen2.5-7B-Instruct-abliterated-v2.Q3_K_S.gguf 3.25 GB 7e73c42b download
IQ3 3 files 9.70 GB
Qwen2.5-7B-Instruct-abliterated-v2.IQ3_M.gguf 3.33 GB d7583fbf download
Qwen2.5-7B-Instruct-abliterated-v2.IQ3_S.gguf 3.26 GB 66715a77 download
Qwen2.5-7B-Instruct-abliterated-v2.IQ3_XS.gguf 3.12 GB aa73471b download
Q2_K 1 file 2.81 GB
Qwen2.5-7B-Instruct-abliterated-v2.Q2_K.gguf 2.81 GB dee89900 download
Auxiliary files 2 files 12.5 KB
README.md 9.28 KB 4b0002c7 download
.gitattributes 3.25 KB 299460c8 download

README current version from Hugging Face

Quantization made by Richard Erkhov.

Github

Discord

Request more models

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

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

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 This version is an improvement over the previous one Qwen2.5-7B-Instruct-abliterated.

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-v2"
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-v2 Qwen2.5-7B-Instruct-abliterated
IF_Eval 76.44 77.82 76.49
MMLU Pro 43.12 42.03 41.71
TruthfulQA 62.46 57.81 64.92
BBH 53.92 53.01 52.77
GPQA 31.91 32.17 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-10-09uploaded readme03fc1ea9.3 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