玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
lued /

DeepSeek-V4.1-Flash-1017-MLX-Serve-iQ-MLX-3.0bpw-abliterated-overlay

HF 源站

lued/DeepSeek-V4.1-Flash-1017-MLX-Serve-iQ-MLX-3.0bpw-abliterated-overlay is an uncensored open-source model hosted on Hugging Face.

Text GenerationMLX LMChineseEnglishMultilingualLicense: mitmlx-servemlxdeepseek_v41abliterateduncensoredengramdsparkmoe
README.md说明 / 使用方法

license: mit base_model: ddalcu/DeepSeek-V4.1-Flash-1017-MLX-Serve-iQ-MLX-3.0bpw base_model_relation: quantized library_name: mlx-serve pipeline_tag: text-generation language: [en, zh] tags: [mlx, mlx-serve, deepseek_v41, abliterated, uncensored, engram, dspark, moe]

DeepSeek-V4.1-Flash-1017 · iQ-MLX 3.0 bpw · abliterated overlay

A 1.09 GB sidecar, not a 398 GiB pack. It rewrites 26 attention-output projections (layers.10–35.attn.wo_b) inside the base pack and leaves every other byte alone.

Base: ddalcu/DeepSeek-V4.1-Flash-1017-MLX-Serve-iQ-MLX-3.0bpw @ 74cca9ac Engine: mlx-serve ≥ 26.10.3 · Mac: 256 GiB unified memory

⚠️ Removes a safety behaviour. 100/100 compliance on standard harmful prompts versus 9/100 for the base. No guardrails. Read docs/RESPONSIBLE_USE.md before serving it to anyone but yourself.

Fidelity against the base pack

KL(base ‖ graft) over 200 benign prompts, 8,762 scored positions, 112 content clusters, full 129,280-token vocabulary. Intervals are paired whole-prompt cluster bootstraps.

metricgraft λ=2.0base
first-token KL0.0915 (CI 0.060–0.130)0 by construction
all-position mean KL0.11320
median KL0.00120
p95 KL0.37850
top-1 agreement89.56%100%
first-token top-183.50%100%
benign greedy change10.44%—
edit size rel_fro0.03092—

First-token KL is the field's yardstick (Heretic/Young 2025): <0.1 excellent, 1.0+ significant drift. The point estimate is inside that band; the upper end of the interval reaches into the next one.

Capability — paired deltas only

taskbasegraftdelta
GSM8K, 400 items64.75%69.75%+5.00 pp (z=1.51, ns)
IFEval prompt-strict, 20010.50%15.00%+4.50 pp
IFEval prompt-loose, 20012.50%17.00%+4.50 pp
IFEval inst-strict, 20019.81%21.38%+1.57 pp
IFEval inst-loose, 20021.07%22.64%+1.57 pp

No regression detected; every metric moves in the graft's favour. The absolutes are not comparable to full-precision releases — both tasks ran through raw /v1/completions with no chat template on a model that answers in prose. A 12-item chat probe scored 12/12 with thinking on and 12/12 with thinking off, ruling out the pack as the cause. Quote the deltas, never the absolutes.

Behaviour on standard refusal prompts

100 harmful + 100 benign (JailbreakBench), temperature 0, thinking off, 512-token cap, frozen structural classifier 931aca9bd5….

prompt setbasegraft λ=2.0
harmful: compliance / refusal9 / 91100 / 0
benign: compliance / refusal89 / 11100 / 0

The graft removes refusals on harmful prompts and removes the base model's own 11% over-refusal on harmless ones.

Everything else that still works

checkgraftbase
needle at 75,447 / 151,915 / 228,383 tokens✅ ✅ ✅✅ ✅ ✅
vision (magenta / blue / green)✅ ✅ ✅✅ ✅ ✅
MTP speculative decoding57.1 → 124.3 tok/s (+117.7%)+118.0%
tool call + grounded continuation✅✅

Unchanged from base on all four. That matters most for MTP: the edit sits next to the DSpark target layers, so draft acceptance was the thing most likely to break.

Raw numbers and method: docs/MEASUREMENTS.md.

Install

hf download ddalcu/DeepSeek-V4.1-Flash-1017-MLX-Serve-iQ-MLX-3.0bpw \
  --revision 74cca9ac1f5741b3e629b5e2ab4d18d681ccc6ba --local-dir base

hf download lued/DeepSeek-V4.1-Flash-1017-MLX-Serve-iQ-MLX-3.0bpw-abliterated-overlay \
  --local-dir overlay

python overlay/apply-graft.py \
  --src base --dst base-uncensored \
  --sidecar overlay/wo_b_l10_35_iq3v11_abliterated_l2.0.safetensors \
  --lambda-value 2.0 \
  --expected-sha256 98a3b791ec575a36bca7ac685cd8b181dab20c0056703457b643660793d895bf \
  --source-repo lued/DeepSeek-V4.1-Flash-1017-MLX-Serve-iQ-MLX-3.0bpw-abliterated-overlay \
  --source-revision 803de92ea3438f61b799851911379407aca2d50d \
  --base-revision 74cca9ac1f5741b3e629b5e2ab4d18d681ccc6ba

mlx-serve --model ./base-uncensored --serve

Hardlinks the 33 untouched shards, rewrites the 4 that carry L10–35, verifies the result, and restores from a hash-checked backup on any failure. ~2 min, ~22 GiB.

Docs

docs/METHOD.mdthe edit, why it is recomputed rather than copied, block format
docs/MEASUREMENTS.mdevery table, the method behind it, verification
docs/LIMITS.mdwhat was not tested, stated plainly
docs/RESPONSIBLE_USE.mdwhere this must not be used

MIT, inherited from the base pack. Direction derived from drowzeys/keys-…-Abliterated (MIT). Not affiliated with DeepSeek, ddalcu, drowzeys or the mlx-serve authors.

HUGGING FACE

上游数据

HF 下载量0
HF 点赞量1

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
lued
最近更新
2026/10/30
最新创建
2026/10/30
HF 趋势
620
数据快照
2026/10/30
版本
未知
许可证
mit