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

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

RichardErkhov Qwen 1.5B 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-Coder-1.5B-Instruct-abliterated-gguf"
Response includes
  • classification m8
  • files 21
  • hub_downloads_all_time 3,975
  • 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
4K
1K last 30d - stable
Likes
1
Model age
23mo ago
created 2024-10-27
Downloads over time
Now4.5K→from308↑1,353%
01.6K3.3K4.9K308 on Oct 23, 20244.5K on Oct 12Oct '24Feb '25Jun '25Oct '25FebJunOct
Oct 23, 2024 → Oct 12 · 143 snapshots · spans 719 days

Variants by this author 2 formats · 1K downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

Quantizations
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
20.4 GB
Files
21
Quantizations
10
Registered
2026-08-22 13:56
Last updated on HF
2024-10-27 20:50

Files by quantization

Q8_0 1 file 1.76 GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q8_0.gguf 1.76 GB 1815ba12 download
Q6_K 1 file 1.36 GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q6_K.gguf 1.36 GB 15411715 download
Q5 2 files 2.44 GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_1.gguf 1.26 GB 28d8c7e1 download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_0.gguf 1.17 GB 2a2db77d download
Q5_K 3 files 3.57 GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_K.gguf 1.20 GB e9832beb download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_K_M.gguf 1.20 GB e9832beb download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_K_S.gguf 1.17 GB 2c0bf3ea download
Q4 2 files 2.08 GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_1.gguf 1.08 GB 78dd0588 download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_0.gguf 1017 MB bc736f2f download
Q4_K 3 files 3.08 GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_K.gguf 1.04 GB f4cc8ec2 download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_K_M.gguf 1.04 GB f4cc8ec2 download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_K_S.gguf 1022 MB 2922ff3a download
IQ4 2 files 1.95 GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.IQ4_NL.gguf 1023 MB 551cada9 download
Qwen2.5-Coder-1.5B-Instruct-abliterated.IQ4_XS.gguf 979 MB ad2738f5 download
Q3_K 4 files 3.44 GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q3_K_L.gguf 935 MB d18d5a44 download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q3_K.gguf 882 MB b16fb3b5 download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q3_K_M.gguf 882 MB b16fb3b5 download
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q3_K_S.gguf 821 MB 8b33f239 download
Q2_K 1 file 718 MB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q2_K.gguf 718 MB c96f819a download
Auxiliary files 2 files 11.7 KB
README.md 8.65 KB 06ce05c6 download
.gitattributes 3.10 KB 8dd359f1 download

README current version from Hugging Face

Quantization made by Richard Erkhov.

Github

Discord

Request more models

Qwen2.5-Coder-1.5B-Instruct-abliterated - GGUF

Name Quant method Size
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q2_K.gguf Q2_K 0.7GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q3_K_S.gguf Q3_K_S 0.8GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q3_K.gguf Q3_K 0.86GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q3_K_M.gguf Q3_K_M 0.86GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q3_K_L.gguf Q3_K_L 0.91GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.IQ4_XS.gguf IQ4_XS 0.96GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_0.gguf Q4_0 0.99GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.IQ4_NL.gguf IQ4_NL 1.0GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_K_S.gguf Q4_K_S 1.0GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_K.gguf Q4_K 1.04GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_K_M.gguf Q4_K_M 1.04GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q4_1.gguf Q4_1 1.08GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_0.gguf Q5_0 1.17GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_K_S.gguf Q5_K_S 1.17GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_K.gguf Q5_K 1.2GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_K_M.gguf Q5_K_M 1.2GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q5_1.gguf Q5_1 1.26GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q6_K.gguf Q6_K 1.36GB
Qwen2.5-Coder-1.5B-Instruct-abliterated.Q8_0.gguf Q8_0 1.76GB

Original model description:

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

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

huihui-ai/Qwen2.5-Coder-1.5B-Instruct-abliterated

This is an uncensored version of Qwen2.5-Coder-1.5B-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.

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-Coder-1.5B-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-Coder-1.5B-Instruct Qwen2.5-Coder-1.5B-Instruct-abliterated
IF_Eval 43.43 45.41
MMLU Pro 21.5 20.57
TruthfulQA 46.07 41.9
BBH 36.67 36.09
GPQA 28.00 26.13

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-27uploaded readme90da0ed8.6 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