CoolFace
Modelpublic

Etherealty/Huihui-Qwen3.5-4B-Abliterated-PMRA-GGUF

sourceHugging Faceapache-2.0updated 23d agoView on Hugging Face
1likes494downloads
Model Card

Qwen3.5-4B Abliterated · PMRA mixed-precision GGUF

A ~2.0 GB GGUF of huihui-ai's uncensored Qwen3.5-4B that takes up the same room on disk as a plain IQ3_XS quant, but recovers a meaningful slice of the quality that low-bit quantization usually gives up — about 0.60 nats lower NLL on held-out text at the same file size. It's an ordinary GGUF: load it in llama.cpp or Ollama, no custom runtime.

The model

Qwen3.5-4B is a ~4B-parameter model from Alibaba's Qwen3.5 generation. Architecturally it's a hybrid: it interleaves DeltaNet-style gated linear-attention layers with periodic full-attention layers (model_type: qwen3_5), which keeps long-context inference cheap while keeping the recall of softmax attention where it matters. Like the rest of the Qwen series, it's a strong, broadly capable conversational model for its size, and multilingual at the base (this build was calibrated and measured on English).

This artifact sits on top of [huihui-ai/Huihui-Qwen3.5-4B-abliterated](https://huggingface.co/huihui-ai/Huihui-Qwen3.5-4B-abliterated) — an abliterated (uncensored) version of Qwen3.5-4B, fine-tuned with TRL to remove refusal behavior while leaving the underlying capabilities intact.

⚠️ Uncensored. Safety filtering has been substantially reduced upstream.

Why this build (PMRA)

A normal GGUF quant uses one format for (almost) every tensor — every layer pays the same bit-rate whether or not it matters. Production Mixed-Rate Allocation (PMRA) instead measures how much each tensor group actually contributes to model quality and spends bits where they buy the most: it starts from a low-bit IQ2_M floor and promotes selected groups to stronger formats (Q3_K_*, IQ4_XS, Q4_K_M) under a fixed byte budget. The result is one standard GGUF, the size of IQ3_XS, that's measurably more faithful to the original weights.

Headline (Wikitext-2 validation, lower NLL is better):

NLLsize
this PMRA build13.471.999 GB
plain IQ3_XS (same budget)14.072.000 GB

→ −0.60 NLL at the same footprint. It also beats the next quant up, Q3_K_S, by 0.51 NLL while being ~59 MB smaller.

Quick start

bash
llama-cli -m huihui_qwen35_4b_abliterated_pmra_calib_weight_blend.gguf \
  -p "Write a short hello from PMRA." -n 80

Needs a recent llama.cpp build (or Ollama) with Qwen3.5 support. ~2 GB on disk; runs on CPU.

Footprint

  • —file: huihui_qwen35_4b_abliterated_pmra_calib_weight_blend.gguf
  • —size: 2,010,651,904 bytes (≈ 2.01 GB) · payload 1,999,682,304 bytes
  • —file bpw: 3.825 · payload bpw: 3.804
  • —SHA-256: 0d7fff15074b8146c37ce3d74adb7d377bb6c686b543840da468c1b683baeb03
  • —tensor reload mismatches: 0

general.file_type is inherited from a source GGUF (GGUF has no enum for mixed allocations); the real per-tensor accounting lives in the embedded pmra.* metadata and artifact_report.json.

Benchmarks

Calibration: Wikitext-2-raw train (48 prompts). Evaluation: Wikitext-2-raw validation (512 prompts). Lower NLL is better; quant/mix rows are compared at matched payload size.

VariantNLLPayload bpwPayload bytes
fp16 reference3.17150416.0000008,411,502,592
IQ2_M (low source)14.1794273.0599811,608,689,664
IQ3_XS (target / control)14.0737413.8038681,999,765,504
Q3_K_S13.9779663.9163742,058,911,744
Q3_K_M13.8650064.2732122,246,508,544
Q3_K_L13.9116354.4651882,347,433,984
IQ4_XS13.8147624.6121122,424,674,304
Q4_K_M13.8779775.1292552,696,546,304
PMRA blend`13.471562`3.8037101,999,682,304
same-budget random13.9954363.8029381,999,276,544
  • —vs IQ3_XS: −0.602179 NLL, −83,200 bytes
  • —vs same-budget random allocation: −0.523874 NLL — the gain is from where the bits go, not just from having them
  • —vs Q3_K_S: −0.506404 NLL, −59,229,440 bytes

How it was built

  • —base: huihui-ai/Huihui-Qwen3.5-4B-abliterated
  • —GGUF sources: mradermacher/Huihui-Qwen3.5-4B-abliterated-i1-GGUF
  • —tensor profile qwen35 · group mode layer_family · selector c2_calib_weight_blend_mixed
  • —low source IQ2_M → target/control IQ3_XS; promotion menu Q3_K_S, Q3_K_M, Q3_K_L, IQ4_XS, Q4_K_M

Source mix

SourceTensorsPayload bytes
IQ2_M67650,262,528
Q3_K_S212785,808,896
Q3_K_M19118,192,128
Q3_K_L3782,221,568
IQ4_XS77320,533,248
Q4_K_M1442,663,936

Files

  • —huihui_qwen35_4b_abliterated_pmra_calib_weight_blend.gguf — the model
  • —artifact_report.json / .md — payload accounting + load check
  • —selector_result.json / .md — the allocation/selection record

Attribution & license

Derived from, with thanks to:

  • —[huihui-ai/Huihui-Qwen3.5-4B-abliterated](https://huggingface.co/huihui-ai/Huihui-Qwen3.5-4B-abliterated) — the uncensored fine-tune
  • —Qwen/Qwen3.5-4B — the original base model (Alibaba)
  • —GGUF quantizations from [mradermacher/Huihui-Qwen3.5-4B-abliterated-i1-GGUF](https://huggingface.co/mradermacher/Huihui-Qwen3.5-4B-abliterated-i1-GGUF)
  • —llama.cpp GGUF tooling

Released under apache-2.0, matching the upstream license. Please preserve upstream model, abliteration, and quantization attribution when redistributing.

Method + reproduction: <https://github.com/asystemoffields/PMRA>