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

coughmedicine/Huihui-Qwen3-Next-80B-A3B-Instruct-abliterated-nvfp4

coughmedicine Qwen 80B MoE 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/coughmedicine%2FHuihui-Qwen3-Next-80B-A3B-Instruct-abliterated-nvfp4"
Response includes
  • classification m1
  • files 23
  • benchmarks 11 entries
  • hub_downloads_all_time 4,464
  • author_summary 2 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
4K
344 last 30d - cooling
Likes
2
Model age
10mo ago
created 2025-12-13
Downloads over time
Now4.6K→from47↑9,719%
01.7K3.4K5.1K47 on Dec 10, 20254.6K on Oct 12Dec '25FebAprJunAugOct
Dec 10, 2025 → Oct 12 · 84 snapshots · spans 306 days

Benchmarks

Benchmark Score Source
Entertainment 1.3 UGI
Hazardous 3.5 UGI
Natural Intelligence 27.28 UGI
Political lean -17.8% UGI
Sensitive-Info 20.22 UGI
SocPol 1.7 UGI
UGI 41.81 UGI
Willingness (10) 8.5 UGI
W10-Adherence 10 UGI
W10-Direct 7 UGI
Writing 42.37 UGI

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

Tags
safetensors qwen3_next quantization llm-compressor compressed-tensors nvfp4 moe region:us

Related

Total size
44.9 GB
Files
23
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2025-12-13 04:46

Files by quantization

Auxiliary files 23 files 45.0 GB
model-00005-of-00010.safetensors 4.66 GB b58d1fce download
model-00009-of-00010.safetensors 4.66 GB ed4d6d14 download
model-00008-of-00010.safetensors 4.66 GB d943dd0b download
model-00003-of-00010.safetensors 4.66 GB 264863b1 download
model-00002-of-00010.safetensors 4.66 GB 24081d97 download
model-00007-of-00010.safetensors 4.66 GB 18bc2a7e download
model-00004-of-00010.safetensors 4.66 GB e2dfdef0 download
model-00001-of-00010.safetensors 4.66 GB 6bf22aa0 download
model-00006-of-00010.safetensors 4.65 GB 721cd98d download
model-00010-of-00010.safetensors 3.01 GB 2567f812 download
model.safetensors.index.json 28.3 MB 975621cf download
tokenizer.json 10.9 MB aeb13307 download
vocab.json 2.65 MB 4783fe10 download
merges.txt 1.59 MB 31349551 download
config.json 21.7 KB 842e6c8e download
tokenizer_config.json 5.28 KB c9fc1221 download
README.md 3.59 KB 7caeb96e download
chat_template.jinja 2.57 KB 70adff8a download
.gitattributes 1.60 KB aa7aacd0 download
added_tokens.json 707 B b54f9135 download
special_tokens_map.json 613 B ac23c0aa download
generation_config.json 213 B 3dd2c545 download
recipe.yaml 180 B 23d9c775 download

README current version from Hugging Face


base_model:

  • huihui-ai/Huihui-Qwen3-Next-80B-A3B-Instruct-abliterated
    base_model_relation: quantized
    tags:
    • quantization
    • llm-compressor
    • compressed-tensors
    • nvfp4
    • moe

Made with llm-compressor:

import re
from llmcompressor.modifiers.quantization import QuantizationModifier
from llmcompressor import oneshot

import os, json
from datasets import load_dataset, get_dataset_split_names
from transformers import AutoModelForCausalLM, AutoTokenizer
from llmcompressor.utils import dispatch_for_generation


MODEL_ID = "huihui-ai/Huihui-Qwen3-Next-80B-A3B-Instruct-abliterated"
OUTPUT_DIR = "./Huihui-Qwen3-Next-80B-A3B-Instruct-abliterated-ExpertsOnly-nvfp4"
CAL_DATASET   = os.environ.get("CAL_DATASET", "HuggingFaceH4/ultrachat_200k")
CAL_SPLIT_ENV = os.environ.get("CAL_SPLIT")
NUM_SAMPLES   = int(os.environ.get("NUM_CAL_SAMPLES", "1024"))
MAX_SEQ_LEN   = int(os.environ.get("MAX_SEQ_LEN", "4096"))

tok = AutoTokenizer.from_pretrained(MODEL_ID, use_fast=True, )


# 1. Target only expert MLP linears via regex
#    Adjust the regex if the actual names differ; you can inspect with a tiny script
#    that just loads the model once and prints .named_modules() to confirm.
expert_pattern = r".*mlp\.experts\.\d+\.(gate_proj|up_proj|down_proj)$"

recipe = [
    QuantizationModifier(
        scheme="nvfp4",
        # Regex target: only expert MLP linear layers
        targets=[f"re:{expert_pattern}"],
        ignore=["lm_head"],
    )
]

if CAL_SPLIT_ENV:
    split = CAL_SPLIT_ENV
else:
    try:
        splits = get_dataset_split_names(CAL_DATASET)
    except Exception as e:
        raise RuntimeError(f"Could not list splits for {CAL_DATASET}: {e}")
    # preference order: 'train', anything starting with 'train', otherwise first
    if "train" in splits:
        split = "train_sft"
    else:
        train_like = [s for s in splits if s.startswith("train")]
        split = train_like[0] if train_like else splits[0]
print(f"[INFO] Using dataset {CAL_DATASET} split '{split}'")

print(f"[INFO] Preparing {NUM_SAMPLES} calibration samples @ max_len={MAX_SEQ_LEN}")
raw = load_dataset(CAL_DATASET, split=f"{split}[:{NUM_SAMPLES}]").shuffle(seed=42)

def to_text(ex):
    if "messages" in ex:
        # chat-style sample
        return {"text": tok.apply_chat_template(ex["messages"], tokenize=False)}
    for key in ("text", "content", "raw"):
        if key in ex:
            return {"text": ex[key]}
    return {"text": str(ex)}

ds_text = raw.map(to_text)

def tok_fn(sample):
    return tok(sample["text"], padding=False, truncation=True,
               max_length=MAX_SEQ_LEN, add_special_tokens=False)

ds_tok = ds_text.map(tok_fn, remove_columns=ds_text.column_names)



# 2. Run oneshot in "data-free" mode
#    - dataset=None → no calibration dataset
#    - num_calibration_samples=0 → skip trying to prepare any calibration loader
#    - moe_calibrate_all_experts=False → avoids extra MoE calibration logic
#    - quantization_aware_calibration=False → no QAT-style forward passes
quantized_model = oneshot(
    model=MODEL_ID,
    precision="bf16",
    trust_remote_code_model=True,
    recipe=recipe,
    output_dir=OUTPUT_DIR,
    save_compressed=True,
    dataset=ds_tok,
    max_seq_length=MAX_SEQ_LEN,
    num_calibration_samples=NUM_SAMPLES,

)

run with vllm 11.2+CUDA13.
You need the following environment variables set for VLLM:

VLLM_USE_FLASHINFER_MOE_FP4=1 
VLLM_FLASHINFER_WORKSPACE_BUFFER_SIZE=248434496

and the following command line options in addition to standard ones:

--enable-auto-tool-choice
--tool-call-parser hermes \
--compilation-config '{"cudagraph_mode": "PIECEWISE"}'

README history 1 version

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

  1. 2025-12-13Create README.mda5992273.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