Downloads · 30 days
10.6K
71% of all-time downloads
bowmanslayer/Qwen3.5-9B-Uncensored-GGUF
Qwen3.5-9B-Uncensored-GGUF is a machine learning model from bowmanslayer. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for gguf. The card lists the license as apache-2.0.
We're exploring a new abliteration strategy and used the 9B model as a testbed. The result turned out well — this is currently the state-of-the-art abliterated 9B model across all three axes at once: capability retent…
Downloads · 30 days
10.6K
71% of all-time downloads
All-time downloads
15K
Public
Repo size
58.3 GB
Likes
3
Public
Click a slice to open those files.
.gguf58.3 GB · 100%
From the Hugging Face model README
We're exploring a new abliteration strategy and used the 9B model as a testbed. The result turned out well — this is currently the state-of-the-art abliterated 9B model across all three axes at once: capability retention, output brevity, and refusal removal. Three variants are published for different deployment needs — pick the one that matches your setup.
我们在尝试一个新的消融策略,以 9B 模型作为练兵场。效果不错 —— 这是目前 abliterated 9B 领域在能力保留、输出简洁、拒绝移除三方面同时达到最优的一版。 下面三个仓分别对应不同 的部署场景,按需选择即可。
This repo bundles seven GGUF quantizations of
bowmanslayer/Qwen3.5-9B-Uncensored, for llama.cpp / LM Studio / Ollama / Jan / KoboldCpp. File sizes range from ~4.5 GB (Q3_K_M) to 18 GB (BF16) — pick one row from the table below for your device. Sister repos: full-precision bf16 in the main repo, vLLM-optimized W4A16 in-W4A16.本仓打包 7 档 GGUF 量化,源自
bowmanslayer/Qwen3.5-9B-Uncensored, 适用于 llama.cpp / LM Studio / Ollama / Jan / KoboldCpp。文件从 ~4.5 GB(Q3_K_M) 到 18 GB(BF16),按下表挑一档匹配你的设备即可。姐妹仓:主仓是全精度 bf16, vLLM 用的 W4A16 见-W4A16。
Vision note: this repo is text-only. The base model has a vision tower, but llama.cpp GGUF export of Qwen3.5 vision (
mmproj-*.gguf) is not included here. For image understanding, use the bf16 main repo or the W4A16 repo with vLLM.视觉说明:本仓仅文字。基座模型带视觉塔,但本仓未包
mmproj-*.gguf。要用 视觉能力请用主仓 bf16 或 W4A16 版本 + vLLM。
Add ~1–2 GB on top of the weight size for KV cache (long context) and system overhead. Qwen3.5-9B is a hybrid-attention architecture (24 linear + 8 full-attention layers, hidden 3584), so KV cache is unusually small compared to same-sized dense models — long contexts are cheap here.
选档时在权重大小上加 1–2 GB 给 KV cache(长上下文)与 system overhead。Qwen3.5-9B 是混合注意力架构(24 层线性 + 8 层 full,hidden 3584),KV cache 比同规模稠密模型小得多, 长上下文很便宜。
| File | Size | Fits comfortably on / 舒适跑在 | Also fits (tight) / 勉强能跑 | Quality vs BF16 |
|---|---|---|---|---|
Qwen3.5-9B-Uncensored-BF16.gguf | 18 GB | RTX 3090/4090 24 GB; Mac 32 GB+ unified memory | RTX 3090 with short context | Reference (lossless) |
Qwen3.5-9B-Uncensored-Q8_0.gguf | 9.2 GB | RTX 4080/4070 Ti Super 16 GB; RTX 3090; Mac 16 GB | RTX 4060 Ti 12 GB / 4070 12 GB | Near-lossless |
Qwen3.5-9B-Uncensored-Q6_K.gguf | 7.1 GB | RTX 3060 12 GB / 4060 Ti / 4070; Mac 16 GB | RTX 3060 8 GB (short ctx) | High, very close to Q8 |
Qwen3.5-9B-Uncensored-Q5_K_M.gguf | 6.2 GB | RTX 3060 12 GB / 4060 8 GB / 2070 Super 8 GB; Mac 16 GB | RTX 3060 8 GB (moderate ctx) | Good balance |
Qwen3.5-9B-Uncensored-Q4_K_M.gguf | 5.4 GB | RTX 3050 8 GB / 4060 8 GB / 2060 12 GB; Mac 8-16 GB; first choice for 8 GB GPUs | GTX 1660 6 GB (tight, short ctx) | Slightly degraded but very usable |
Qwen3.5-9B-Uncensored-IQ4_XS.gguf | 5.0 GB | RTX 3050 8 GB / laptop 8 GB dGPU | 6 GB GPUs with tuning; low-VRAM laptops | Similar to Q4_K_M, smaller file, slower dequant (~-23% t/s) |
Qwen3.5-9B-Uncensored-Q3_K_M.gguf | ~4.5 GB | 6 GB GPUs (GTX 1660 / RTX 2060); Mac 8 GB unified; low-end laptops | 4 GB with heavy CPU offload | Noticeably degraded but functional |
Rules of thumb / 经验法则:
Q5_K_M (works on almost any 8+ GB GPU
or Mac 16 GB, output quality is hard to distinguish from BF16 for normal use)
第一次用不知道选什么 → Q5_K_M(几乎任何 8 GB+ GPU 或 Mac 16 GB 都能跑,日常使用
与 BF16 差异极难察觉)Q6_K on 12 GB, Q8_0 on 16 GB, BF16 on 24 GB
在显存范围内追求最高质量 → 12 GB 用 Q6_K,16 GB 用 Q8_0,24 GB 用 BF16IQ4_XS (smallest 4-bit file, uses IQ dequant so slower per
token but fits smaller cards well)
要塞进 6-8 GB → IQ4_XS(最小 4-bit 文件,IQ 反量化更耗算力但装得下小卡)Q3_K_M (quality is noticeably lower — only use
it if the larger quants do not fit)
只有 6 GB / Mac 8 GB → Q3_K_M(质量明显更低 —— 更大档装不下才用它)Q4_K_M /
IQ4_XS / Q3_K_M; 16 GB → Q6_K or Q5_K_M; 24 GB+ → Q8_0 or BF16.
Apple Silicon Mac:Metal 后端原生跑 GGUF。8 GB Mac → Q4_K_M / IQ4_XS /
Q3_K_M;16 GB → Q6_K 或 Q5_K_M;24 GB+ → Q8_0 或 BF16All numbers below are measured on the bf16 reference build (from which every GGUF quant here was converted). Any per-quant deviation is expected to be small and in-line with llama.cpp community measurements for the same quant level.
以下数字取自 bf16 参考版(本仓每档 GGUF 都由它转换而来)。各档相对 bf16 的偏差预期较小, 与 llama.cpp 社区对同档量化的一般观察一致。
100 harmful prompts from
mlabonne/harmful_behaviors
test split, 50 harmless controls. Greedy decoding, thinking off. Fixed judge model
reads full response text.
100 条 harmful 来自 mlabonne 数据集 test split,50 条 harmless 对照。贪心解码,思考关闭。 固定裁判读完整回复。
| Model | Refuses / 100 | Harmless answered / 50 |
|---|---|---|
Qwen/Qwen3.5-9B (base) | 99 | 49 |
Qwen3.5-9B-heretic-v2 (community A) | 1 | — |
Huihui-Qwen3.5-9B-abliterated (community B) | 0 | — |
| This model (bf16 reference) | 2 | 50 |
Same fixed seed, same harness, same items. All 4 models run under vLLM TP=2 +
fp8_e5m2 KV + 24576 max output tokens, thinking on.
同一固定 seed,同 harness,同题,4 模型都在 vLLM TP=2 + fp8_e5m2 KV + 24576 max output
tokens 下跑,thinking on。
| Benchmark | N | Base (Qwen3.5-9B) | Community A (Heretic-v2) | Community B (Huihui) | This model |
|---|---|---|---|---|---|
| MMLU | 150 | 82.00 | 71.33 | 53.33 | 80.67 ✓ |
| CMMLU | 150 | 85.33 | 83.33 | 70.67 | 86.00 ✓ |
| MMLU-Pro | 150 | 76.00 | 58.00 | 44.67 | 78.67 ✓ |
| C-Eval | 150 | 80.67 | 80.67 ✓ | 62.67 | 79.33 |
| ARC-Challenge | 150 | 94.00 | 90.00 | 78.67 | 94.00 ✓ |
| TruthfulQA | 150 | 78.00 | 61.33 | 44.00 | 62.68 † |
| GSM8K | 100 | 74.00 | 55.00 | 46.00 | 77.00 ✓ |
| MATH-500 | 100 | 51.00 | 55.00 ✓ | 41.00 | 46.00 |
| BBH | 150 | 84.00 | 82.67 | 63.33 | 86.00 ✓ |
| HumanEval | 164 | 87.20 | 89.63 ✓ | 78.05 | 82.93 |
| IFEval | 100 | 60.00 | 72.00 | 62.00 | 73.00 (strict-instruct 94) ✓ |
| Mean | — | 77.47 | 72.63 | 58.58 | 76.93 |
Among the abliterated family (excluding base): 7 firsts out of 11, mean 76.14 leads Heretic-v2 (+3.5pp) and Huihui (+17.6pp).
在 abliterated 家族中(不算 base):7 项第一 / 11,均值 76.14 领先 Heretic-v2 3.5pp, 碾压 Huihui 17.6pp。
† TruthfulQA: serial-run contamination pulled it to 54, single-run isolation gives 62.68. Table uses the fair number. Behavioral drift not knowledge loss (see main repo §3).
† TruthfulQA:串行运行 vLLM 状态污染拉低到 54,单跑 62.68。表内取单跑。这是行为漂移 不是知识损伤(详见主仓 §3)。
| Metric | Base | Community A | Community B | This model |
|---|---|---|---|---|
| Median p50 output tokens | 3,736 | 6,196 (+66%) | 10,608 (+184%) | 3,076 (-17.7%) |
| Total gen tokens (11 tasks) | 8.13M | 12.20M (+50%) | 17.05M (+110%) | 8.06M (-0.9%) |
| Mean truncation rate | 17.0% | 18.6% | 33.6% | 14.5% (-15%) |
This model is the only ablation more concise than base — median -17.7%, truncation -15%. Community ablations expand across the board (Heretic-v2 +66%, Huihui nearly 2×).
本模型是唯一比 base 更简洁的消融(中位 -17.7%,截断 -15%);社区版全线膨胀(Heretic-v2 +66%,Huihui 差点翻倍)。
Server mode (recommended, int8 KV cache for larger context): 服务器模式(推荐,开 int8 KV 拿到更大上下文):
./llama-server \
-m Qwen3.5-9B-Uncensored-Q6_K.gguf \
--ctx-size 32768 \
--n-gpu-layers -1 \
-ctk q8_0 -ctv q8_0 \
--host 0.0.0.0 --port 8080
Single-shot inference / 单条推理:
./llama-cli -m Qwen3.5-9B-Uncensored-Q6_K.gguf -p "Hello" \
-n 512 --n-gpu-layers -1 -ctk q8_0 -ctv q8_0
Note on -ctk q8_0 -ctv q8_0: default llama.cpp uses fp16 KV cache. Adding int8 KV
cuts KV memory ~50% for a negligible accuracy hit — most community launch scripts omit
this and pay 2× the KV memory unnecessarily.
关于 -ctk q8_0 -ctv q8_0:llama.cpp 默认 fp16 KV cache;加 int8 KV 减半 KV 内存,
精度损失可忽略。大部分社区帖不给,默认体验只到我们一半。
Single user, laptop, Mac, LM Studio / Ollama / Jan / KoboldCpp → GGUF here
(Q5_K_M or Q6_K are the sweet spots)
单用户、笔记本、Mac、桌面客户端 → GGUF 本仓(Q5_K_M 或 Q6_K 甜点档)
Server with concurrent requests, high throughput, or very long context → W4A16 +
vLLM (-W4A16)
服务器多并发 / 高吞吐 / 大上下文 → W4A16 + vLLM(-W4A16 姐妹仓)
Multi-modal (image) input → main repo bf16 + vLLM (this GGUF repo is text-only) 多模态(图像)输入 → 主仓 bf16 + vLLM(本 GGUF 仓仅文字)
| Layer | Author |
|---|---|
| Base model | Qwen/Qwen3.5-9B — Qwen team, Alibaba Cloud (Apache 2.0) |
| Abliteration | bowmanslayer/Qwen3.5-9B-Uncensored — a new weight-space ablation strategy by the same author (single direction, norm-preserving, 67 tensors) |
| This repo | GGUF conversion + quantization only (convert_hf_to_gguf.py + llama-quantize). No weight modification beyond quantization. |
| 层 | 归属 |
|---|---|
| 基座 | Qwen/Qwen3.5-9B —— Qwen 团队,阿里云(Apache 2.0) |
| 消融 | bowmanslayer/Qwen3.5-9B-Uncensored —— 同作者自研的一种权重空间消融策略(单方向、norm-preserving、67 张量) |
| 本仓 | 仅 GGUF 转换 + 量化(convert_hf_to_gguf.py + llama-quantize),除量化外没有任何权重修改 |
Not an official Qwen release; not endorsed by or affiliated with the Qwen team or Alibaba Cloud. "Qwen3.5" identifies the upstream model this artifact derives from (Apache-2.0 §6).
非 Qwen 官方发布;与 Qwen 团队及阿里云无背书或从属关系。"Qwen3.5" 仅用于标识本产物所派生 的上游模型(Apache-2.0 §6)。
This is the point of the model, and you should read this before downloading. 这是模型的核心属性,下载前请务必阅读。
The upstream ablation removes the refusal behaviour trained into Qwen/Qwen3.5-9B.
Automated refusal testing on the bf16 reference recorded 2/100 on 100 held-out
adversarial prompts, versus 99/100 for the base. Quantization does not restore refusals.
上游消融移除了 Qwen/Qwen3.5-9B 训练进去的拒绝行为。bf16 参考版在 100 条 held-out 对抗
提示上自动测试记录到 2/100,而基座是 99/100。量化不恢复拒绝。
Consequences you are accepting / 你正在接受的后果:
Not intended for / 不适用于:
Intended for / 适用于: local inference and research, by people who understand the above and take responsibility for it / 本地推理与研究,由理解以上内容并为其负责的用户使用。
This model is provided "AS IS", without warranty of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement.
本模型按**"现状"提供,不提供任何明示或默示的担保**,包括但不限于对适销性、特定用途 适用性以及无侵权性的担保。
Downloading these files means you accept the above. If you do not, do not download them. 下载本仓文件即表示你接受以上内容。若不接受,请勿下载。
The author is not a lawyer; the above is not legal advice. 作者不是律师;以上不构成法律意见。
Apache 2.0, inherited through the chain above. The Apache-2.0 grant covers the weights; it does not grant permission for uses that are unlawful where you are.
Apache 2.0,依上述归属链继承。Apache-2.0 授权覆盖权重本身;不授权任何在你所在地不合法 的用途。