alt.freeweights.abliterated / Huihui-Qwen3-Coder-Next-abliterated
From: huihui-ai <huggingface.co/huihui-ai>Newsgroups: alt.freeweights.abliteratedSubject:

Huihui-Qwen3-Coder-Next-abliterated

Date: 2026-11-15Commit: 2b50aceSigned: 2DC28CC7B26A283B ✓

Text generation model with 79.7B parameters. Safetensors weights, 159 GB in all. Published by huihui-ai under Apache-2.0. Changed from the base model.

79.7B params159GBHuihui-Qwen3-Coder-Next-abliteratedsafetensorspermissive
FactsParams79.7BSize159 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get huihui-ai/Huihui-Qwen3-Coder-Next-abliterated
# manifest sha256 757b5bedc797… · 159 GB · 47 files
$ fw verify ./Huihui-Qwen3-Coder-Next-abliterated huihui-ai/Huihui-Qwen3-Coder-Next-abliterated
From sourceHosted (signed)huihui-ai/Huihui-Qwen3-Coder-Next-abliteratedLast check: 2026-11-15 03:40 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Qwen3-Coder-Next.

Works with

Overview

Size
159 GB
Weights
159 GB (safetensors)
Parameters
79.7B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
47, each with a sha256
Publisher
huihui-ai
Added
2026-11-15
Section
alt.freeweights.abliterated
Lineage

Changed from the base model. The uploader's repo is named abliterated: refusal behavior was removed from Qwen/Qwen3-Coder-Next by the uploader. Read the model card at the source for the method and the layers touched.

Base model: Qwen/Qwen3-Coder-Next

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:40 UTCpassed

Model card

From the publisher at commit 2b50ace. Shown as plain text with links; images open at the publisher.

huihui-ai/Huihui-Qwen3-Coder-Next-abliterated#

This is an uncensored version of Qwen/Qwen3-Coder-Next created with abliteration (see remove-refusals-with-transformers to know more about it). This is a crude, proof-of-concept implementation to remove refusals from an LLM model without using TransformerLens.

ollama#

Please use the latest version of ollama 0.15.5

You can use huihui_ai/qwen3-coder-next-abliterated directly,

ollama run huihui_ai/qwen3-coder-next-abliterated

chat_template-vl.jinja#

We have added a new file named chat_template-vl.jinja, which comes from the path huihui-ai/Huihui-Qwen3-VL-30B-A3B-Instruct-abliterated.

The new file chat_template-vl.jinja is more compatible with using Tool Calling in llama-server, especially when opencode is involved.

Usage#

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

from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer, BitsAndBytesConfig
import torch
import os
import signal
import random
import numpy as np
import time
import sys

if (
    "PYTORCH_ALLOC_CONF" not in os.environ
    and "PYTORCH_CUDA_ALLOC_CONF" not in os.environ
):
    print(f"PYTORCH_ALLOC_CONF.")
    os.environ["PYTORCH_ALLOC_CONF"] = "expandable_segments:True"

cpu_count = os.cpu_count()
print(f"Number of CPU cores in the system: {cpu_count}")
half_cpu_count = cpu_count // 2
os.environ["MKL_NUM_THREADS"] = str(half_cpu_count)
os.environ["OMP_NUM_THREADS"] = str(half_cpu_count)
torch.set_num_threads(half_cpu_count)

print(f"PyTorch threads: {torch.get_num_threads()}")
print(f"MKL threads: {os.getenv('MKL_NUM_THREADS')}")
print(f"OMP threads: {os.getenv('OMP_NUM_THREADS')}")

# Load the model and tokenizer
MODEL_ID = "huihui-ai/Huihui-Qwen3-Coder-Next-abliterated"

print(f"Load Model {MODEL_ID} ... ")
quant_config_4 = BitsAndBytesConfig(
    load_in_4bit=True,
    bnb_4bit_compute_dtype=torch.bfloat16,
    bnb_4bit_use_double_quant=True,
    llm_int8_enable_fp32_cpu_offload=True,
)

model = AutoModelForCausalLM.from_pretrained(
    MODEL_ID,
    device_map="auto",
    trust_remote_code=True,
    torch_dtype="auto",
    low_cpu_mem_usage=True,
    quantization_config=quant_config_4,
)

tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)

messages = []
skip_prompt=True
skip_special_tokens=True

class CustomTextStreamer(TextStreamer):
    def __init__(self, tokenizer, skip_prompt=True, skip_special_tokens=True):
        super().__init__(tokenizer, skip_prompt=skip_prompt, skip_special_tokens=skip_special_tokens)
        self.generated_text = ""
        self.stop_flag = False
        self.init_time = time.time()  # Record initialization time
        self.end_time = None  # To store end time
        self.first_token_time = None  # To store first token generation time
        self.token_count = 0  # To track total tokens

    def on_finalized_text(self, text: str, stream_end: bool = False):
        if self.first_token_time is None and text.strip():  # Set first token time on first non-empty text
            self.first_token_time = time.time()
        self.generated_text += text

        self.token_count += 1

        print(text, end="", flush=True)
        if stream_end:
            self.end_time = time.time()  # Record end time when streaming ends
        if self.stop_flag:
            raise StopIteration

    def stop_generation(self):
        self.stop_flag = True
        self.end_time = time.time()  # Record end time when generation is stopped

    def get_metrics(self):
        """Returns initialization time, first token time, first token latency, end time, total time, total tokens, and tokens per second."""
        if self.end_time is None:
            self.end_time = time.time()  # Set end time if not already set
        total_time = self.end_time - self.init_time  # Total time from init to end
        tokens_per_second = self.token_count / total_time if total_time > 0 else 0
        first_token_latency = (self.first_token_time - self.init_time) if self.first_token_time is not None else None
        metrics = {
            "init_time": self.init_time,
            "first_token_time": self.first_token_time,
            "first_token_latency": first_token_latency,
            "end_time": self.end_time,
            "total_time": total_time,  # Total time in seconds
            "total_tokens": self.token_count,
            "tokens_per_second": tokens_per_second
        }
        return metrics

def generate_stream(model, tokenizer, messages, skip_prompt, skip_special_tokens, max_new_tokens):
    text = tokenizer.apply_chat_template(
        messages,
        tokenize=False,
        add_generation_prompt=True,
    )
    model_inputs = tokenizer(
        [text],
        return_tensors="pt",
    ).to(model.device)

    streamer = CustomTextStreamer(tokenizer, skip_prompt=skip_prompt, skip_special_tokens=skip_special_tokens)

    def signal_handler(sig, frame):
        streamer.stop_generation()
        print("\n[Generation stopped by user with Ctrl+C]")

    signal.signal(signal.SIGINT, signal_handler)

    print("Response: ", end="", flush=True)
    try:
        generated_ids = model.generate(
            **model_inputs,
            max_new_tokens = max_new_tokens,
            streamer=streamer,
        )
        del generated_ids
    except StopIteration:
        print("\n[Stopped by user]")

    del model_inputs
    torch.cuda.empty_cache()
    signal.signal(signal.SIGINT, signal.SIG_DFL)

    return streamer.generated_text, streamer.stop_flag, streamer.get_metrics()


while True:
    print(f"skip_prompt: {skip_prompt}")
    print(f"skip_special_tokens: {skip_special_tokens}")

    user_input = input("User: ").strip()
    if user_input.lower() == "/exit":
        print("Exiting chat.")
        break
    if user_input.lower() == "/clear":
        messages = []
        print("Chat history cleared. Starting a new conversation.")
        continue
    if user_input.lower() == "/skip_prompt":
        skip_prompt = not skip_prompt
        continue
    if user_input.lower() == "/skip_special_tokens":
        skip_special_tokens = not skip_special_tokens
        continue
    if not user_input:
        print("Input cannot be empty. Please enter something.")
        continue


    messages.append({
        "role": "user",
        "content": user_input
    })

    response, stop_flag, metrics = generate_stream(model, tokenizer, messages, skip_prompt, skip_special_tokens, 40960)
    print("\n\nMetrics:")
    for key, value in metrics.items():
        print(f"  {key}: {value}")


    print("", flush=True)
    if stop_flag:
        continue
    messages.append({
        "role": "assistant",
        "content": response.strip()
    })
Usage Warnings#
  • Risk of Sensitive or Controversial Outputs: This model’s safety filtering has been significantly reduced, potentially generating sensitive, controversial, or inappropriate content. Users should exercise caution and rigorously review generated outputs.
  • Not Suitable for All Audiences: Due to limited content filtering, the model’s outputs may be inappropriate for public settings, underage users, or applications requiring high security.
  • Legal and Ethical Responsibilities: Users must ensure their usage complies with local laws and ethical standards. Generated content may carry legal or ethical risks, and users are solely responsible for any consequences.
  • Research and Experimental Use: It is recommended to use this model for research, testing, or controlled environments, avoiding direct use in production or public-facing commercial applications.
  • Monitoring and Review Recommendations: Users are strongly advised to monitor model outputs in real-time and conduct manual reviews when necessary to prevent the dissemination of inappropriate content.
  • No Default Safety Guarantees: Unlike standard models, this model has not undergone rigorous safety optimization. huihui.ai bears no responsibility for any consequences arising from its use.
Donation#
Your donation helps us continue our further development and improvement, a cup of coffee can do it.#
  • bitcoin:
  bc1qqnkhuchxw0zqjh2ku3lu4hq45hc6gy84uk70ge
  • Support our work on Ko-fi!

Files

47 files · 159 GBWeights 159 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 47 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md9.05 KB96210564cfa35885d775e855cdc7dc35eaa738df966a50f29456a9f10a258db5
added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
chat_template-vl.jinja5.29 KB3636d0f0bd6bef02654cdffdc447b79cb2cef8ab02cc75267345946291a489e4
chat_template.jinja6.07 KBc79a833039a43602150cce0902403d6e376c50930c1b2a139b2964e1f0c322a0
config.json2.32 KBb2315c1703a48a50fdf5973a7fd3cf2da18199b29752201e97c3ffd2fc76dddd
generation_config.json192 B90898e4eefc460bbf0ced9df6857b3ec05ae21c04d009dd34d88e52f0460a351
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00032.safetensors5.00 GBd7742dee28eed9b2b6d7c2ba09c39204774cfc6eccf91bdf13f057f6111d592b
model-00002-of-00032.safetensors5.00 GBcbe43addb17224f42808722bb8b72f1a9ac1e69f35b29db5f350fcd465f97b60
model-00003-of-00032.safetensors5.00 GB325a1b7fd5c207ced92e73878a59f3f7d55e01c62be32cf1d7232e53060a87c5
model-00004-of-00032.safetensors5.00 GB7159d0a65ae2d5cc19eaae354466d0afceee28419581de374d23ff698c8bdeaf
model-00005-of-00032.safetensors5.00 GB0f2c5363db8a86bd98c53d0c9760b80924de3b1fea2e58f1ff27441baf7b82c2
model-00006-of-00032.safetensors5.00 GB50aeda421ae42201207d469a039cfe53dc89d74947e69906dd6c5d5031b58d0a
model-00007-of-00032.safetensors5.00 GB0cfbc0dd9dcd77151b1e071531fc56f1999ad8c4f29148180e4f0ef971368160
model-00008-of-00032.safetensors5.00 GBa99f4913b603c09cad6a4513432c94fe0ea69fa9d38f1dd2344bac61ba757b77
model-00009-of-00032.safetensors5.00 GBa3e1dc03ff11037805d8c53ef61fd5d562c785d29e6742830a0713b6021c51c9
model-00010-of-00032.safetensors5.00 GB2bb17978fcc800b9f8e72b35b3171570f39f698f9c57d13a51f165fc37ba7735
model-00011-of-00032.safetensors5.00 GB316d96cd9cd636957ef089bc6dd307a660f838c5f0b6cc830e53d64ccda5d0a0
model-00012-of-00032.safetensors5.00 GB8bb1116c58f883f27c97c8f77166531239c21a86d148ae18a539844b8e8ba277
model-00013-of-00032.safetensors5.00 GB306f572e66da8ed5401794956b98d157b38ac86df958dca462f56780163f2808
model-00014-of-00032.safetensors5.00 GB1b271e8c1eeb25e48d0a91c412c21e87b890d7842fec401a78acd90097b49cc3
model-00015-of-00032.safetensors5.00 GBf02fef45ca8a8a2e181364bed47b02d2cafd371de72447d774b38c7182ee1aeb
model-00016-of-00032.safetensors5.00 GBcfa396498c606cb1af64a04624a73390aef58e10d15682f1c05fa8030a9bcdd6
model-00017-of-00032.safetensors5.00 GB9332eb2604728f1800c41da5d7348f5ac3c8b2e6d11c6673504adb76de2d7e16
model-00018-of-00032.safetensors5.00 GBbd3ad2214399a40205b16f29398955e470d09bed031527ebd97ffc371086a007
model-00019-of-00032.safetensors5.00 GB6deeecc53230f7b68036cedb2bd08ea3fb8a9cf4652bd24c2a106f41e7044add
model-00020-of-00032.safetensors5.00 GB68a261627efcba2d1b4834a4a60f5e388060d672ae7e0419979d10753bcdc60c
model-00021-of-00032.safetensors5.00 GB2f7d836f9972b563d47c0c18368421140f0a6d2ec716eac2d7b451f5ef94d07c
model-00022-of-00032.safetensors5.00 GB46785a76c70cce79eef743d78def866e9c3efe55718e6e8abedbcf4734810aed
model-00023-of-00032.safetensors5.00 GB01e0b19eda5c994984d2fc5c7e339f917be776c3aa79e0842098d1795ce16622
model-00024-of-00032.safetensors5.00 GBeb3d17a18ed4d8e059faa97c7a39f897d3b9db24fb1bf8b8ced2da18a91a59b9
model-00025-of-00032.safetensors5.00 GBffc6d28db22d1096c293c6f8d1c3353b0ebe9cb2e2fcc33a06e76dfe4edda2fc
model-00026-of-00032.safetensors5.00 GB1fc851b1a94b5a65510ce42956827f6c8b2001c494bbde6047a44bc7a0aaadf0
model-00027-of-00032.safetensors5.00 GB9e2e38993c8398dbc885e859be96986520659e671f06b0a43b5727a04c2e22ec
model-00028-of-00032.safetensors5.00 GB3f83450cab3992e05421532b1c2d5f32afa4047e50068baa529c21cb0d2e086f
model-00029-of-00032.safetensors5.00 GB79c28c2c9580daed3682a495fa919fac47df3544cb49c2b31c932bce2c56c6a7
model-00030-of-00032.safetensors5.00 GB0e2d014fe732578e969d131c7f91d8e75813f7624ba9364e423caa7e824c00db
model-00031-of-00032.safetensors5.00 GBdc238ec36871ba09006dc3ae607ab4c91a62d3a642d2f5b9d13e2b1192202477
model-00032-of-00032.safetensors4.37 GB853be074450c496d8434fda9043d5d1d28964d6ce498583ce3a0990719a50917
model.safetensors.index.json6.76 MB8a709d9a3601cc0b568118ffdc442112c45eab29c2465219d711bdb5fbbac025
qwen3_coder_detector_sgl.py19.9 KBe5a6112dd41df1580ede5f52e928e58cb74985dfa5628fd94073fd6a0f20fb8d
qwen3coder_tool_parser_vllm.py31.7 KBe6ad932aaa29a4004d592ca655c3d1ad849525a498ba60a716909ec9c1fda297
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
tokenizer_config.json5.41 KB05a2d456eb807c8368fe6b60101b1d1160d6889071a751ed08576b96e77e01cd
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
2b50acef37 pinned now2026-11-15 03:40 UTC47 files · 159 GB

Use it

$ fw get huihui-ai/Huihui-Qwen3-Coder-Next-abliterated
# manifest sha256 757b5bedc797… · 159 GB · 47 files
$ fw verify ./Huihui-Qwen3-Coder-Next-abliterated huihui-ai/Huihui-Qwen3-Coder-Next-abliterated
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/huihui-ai/Huihui-Qwen3-Coder-Next-abliterated.json --dir ./Huihui-Qwen3-Coder-Next-abliterated $ python3 fw.py verify ./Huihui-Qwen3-Coder-Next-abliterated ./huihui-ai__Huihui-Qwen3-Coder-Next-abliterated.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download huihui-ai/Huihui-Qwen3-Coder-Next-abliterated --revision 2b50acef370d315e904d9d3d2e26ac658ed49d57 --local-dir ./Huihui-Qwen3-Coder-Next-abliterated
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("huihui-ai/Huihui-Qwen3-Coder-Next-abliterated", revision="2b50acef370d315e904d9d3d2e26ac658ed49d57") model = AutoModelForCausalLM.from_pretrained("huihui-ai/Huihui-Qwen3-Coder-Next-abliterated", revision="2b50acef370d315e904d9d3d2e26ac658ed49d57", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve huihui-ai/Huihui-Qwen3-Coder-Next-abliterated --revision 2b50acef370d315e904d9d3d2e26ac658ed49d57

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
96210564cfa35885d775e855cdc7dc35eaa738df966a50f29456a9f10a258db5
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: huihui-ai <huggingface.co/huihui-ai>Newsgroups: alt.freeweights.abliteratedSubject: Huihui-Qwen3-Coder-Next-abliteratedDate: 2026-11-15Commit: 2b50aceSigned: 2DC28CC7B26A283B ✓
Upstream
huihui-ai/Huihui-Qwen3-Coder-Next-abliterated
Pinned commit
2b50acef370d315e904d9d3d2e26ac658ed49d57
Manifest
Huihui-Qwen3-Coder-Next-abliterated.json · .minisig
Manifest sha256
757b5bedc797cb5c09ed1e247439a73af8947bdd6ee27145cc60163a31f148e7
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:40 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/huihui-ai/Huihui-Qwen3-Coder-Next-abliterated.json $ curl -O https://freeweights.allternit.com/manifests/huihui-ai/Huihui-Qwen3-Coder-Next-abliterated.json.minisig $ minisign -Vm Huihui-Qwen3-Coder-Next-abliterated.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen3-Coder-Next · this model is a finetune of it

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download huihui-ai/Huihui-Qwen3-Coder-Next-abliterated
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Huihui-Qwen3-Coder-Next-abliterated.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of Huihui-Qwen3-Coder-Next-abliterated. Each has its own license check and page.

From: xtools-at <huggingface.co/xtools-at>Subject: DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic
From: mlx-community <huggingface.co/mlx-community>Subject: DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-OptiQ-4bit
From: mlx-community <huggingface.co/mlx-community>Subject: gemma-4-26B-A4B-it-heretic-msq-2.6bit
From: coder3101 <huggingface.co/coder3101>Subject: gemma-4-31B-it-heretic
From: Ilya626 <huggingface.co/Ilya626>Subject: gemma-4-31B-it-SDFT-Heretic-RP
From: llmfan46 <huggingface.co/llmfan46>Subject: gemma-4-31B-it-uncensored-heretic