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

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

huihui-ai Qwen 7.6B
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/huihui-ai%2FQwen2.5-7B-Instruct-abliterated-v2"
Response includes
  • classification m3
  • files 17
  • benchmarks 16 entries
  • hub_downloads_all_time 95,949
  • providers 1
  • author_summary 185 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M3
Primary method

Layer-wise ablation

No other method signals detected in this model.
Confidence
HIGH
Why this label 3 signals
Producer identity confirmed by naming conventions, tags or the model card. This label is very unlikely to change.
  • author=huihui-ai (specializes in M3 layer-wise ablation)
  • is_gguf=0 (base model, not repackage)
  • 'abliterated' in name/tags
Refusal direction extracted via
Extraction technique

huihui-ai layer-band extraction

Confidence
HIGH
Why we say so
producer=huihui-ai (documented layer-band methodology in model cards)
Downloads · lifetime
96K
7K last 30d - cooling
Likes
64
Descendants
9
in 9 direct forks
Model age
2.1y ago
created 2024-09-22
Available via
1 provider
featherless-ai
Downloads over time
Now98.6K→from18↑547,678%
036.2K72.3K108.5K18 on Sep 18, 202498.6K on Oct 11Sep '24Jan '25May '25Sep '25JanMaySep
Sep 18, 2024 → Oct 11 · 157 snapshots · spans 753 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
BBH average 0.48553638604228827 OpenLLM-v2
IFEval instruct 0.7961630695443646 OpenLLM-v2
IFEval-Prompt 0.7208872458410351 OpenLLM-v2
MATH lvl 5 0 OpenLLM-v2
MMLU-Pro 0.4286901595744681 OpenLLM-v2
Entertainment 1.3 UGI
Hazardous 2.9 UGI
Natural Intelligence 15.76 UGI
Political lean -14.7% UGI
Sensitive-Info 15.62 UGI
SocPol 0.8 UGI
UGI 23.75 UGI
Willingness (10) 4 UGI
W10-Adherence 4 UGI
W10-Direct 4 UGI
Writing 29.72 UGI

Genealogy 9 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
zho eng fra spa por deu ita rus jpn kor vie tha ara
Tags
transformers safetensors qwen2 text-generation chat abliterated uncensored conversational zho eng fra spa

Related

Total size
14.2 GB
Files
17
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2025-04-28 12:55

Files by quantization

Auxiliary files 17 files 14.2 GB
model-00002-of-00004.safetensors 4.59 GB cabc5fe5 download
model-00001-of-00004.safetensors 4.54 GB a9e6a3f8 download
model-00003-of-00004.safetensors 4.03 GB d72f1893 download
model-00004-of-00004.safetensors 1.02 GB 06006972 download
tokenizer.json 6.71 MB 76df46c7 download
vocab.json 2.65 MB 4783fe10 download
merges.txt 1.59 MB 31349551 download
model.safetensors.index.json 27.4 KB f6db52b9 download
LICENSE 11.1 KB 6634c8cc download
tokenizer_config.json 7.34 KB db9eedd0 download
README.md 4.27 KB acb02fa1 download
.gitattributes 1.48 KB a6344aac download
eval.sh 1.17 KB 1fb8b22e download
config.json 690 B e89338c2 download
added_tokens.json 629 B 06135f3c download
special_tokens_map.json 521 B 7f1aebc4 download
generation_config.json 257 B f3635780 download

README current version from Hugging Face


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

  • zho
  • eng
  • fra
  • spa
  • por
  • deu
  • ita
  • rus
  • jpn
  • kor
  • vie
  • tha
  • ara
    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 13 versions

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

  1. 2025-04-28Update README.md447ff104.3 KB
    Loading...
  2. 2025-04-28Update README.mdfa8f8c24.2 KB
    Loading...
  3. 2025-04-28Update README.md8a2de0e4.2 KB
    Loading...
  4. 2024-09-25Update README.md11fdbd44.2 KB
    Loading...
  5. 2024-09-25Update README.mdf2a2cd74.1 KB
    Loading...
  6. 2024-09-22Update README.md05d179c4.2 KB
    Loading...
  7. 2024-09-22Update README.md1c68e844.1 KB
    Loading...
  8. 2024-09-22Update README.mdd51e71c4.2 KB
    Loading...
  9. 2024-09-22Update README.md4b9b4b23.1 KB
    Loading...
  10. 2024-09-22Update README.md60c707d3.1 KB
    Loading...
  11. 2024-09-22Update README.mdb7aa5263.1 KB
    Loading...
  12. 2024-09-22Upload 16 filese1ca3623.1 KB
    Loading...
  13. 2024-09-22initial commit492d19628 B
    Loading...

Discussions 6 threads

  1. 2025-12-26PRcomfyuiclosed1 💬#6
    Loading...
  2. 2025-12-26PRcomfyuiclosed1 💬#5
    Loading...
  3. 2025-04-28PRImprove language tagopen1 💬#4
    Loading...
  4. 2025-02-24Are you willing to test the model's ability to filter malicious behavior on Adv…open3 💬#3
    Loading...
  5. 2024-10-10Occasionally mix some English words into the generated textopen11 💬#2
    Loading...
  6. 2024-09-25PRAdding Evaluation Resultsopen1 💬#1
    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