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

DeepSeek-V4.1-Flash-1017-uncensored-rad

HF 源站

Sunbert/DeepSeek-V4.1-Flash-1017-uncensored-rad is an uncensored open-source model hosted on Hugging Face.

Text GenerationLicense: mitradiancerocmamdrdna4deepseekdeepseek-v4.1uncensoredabliteratedtp4iq1_smxfp4
README.md说明 / 使用方法

license: mit library_name: radiance pipeline_tag: text-generation tags:

  • radiance
  • rocm
  • amd
  • rdna4
  • deepseek
  • deepseek-v4.1
  • uncensored
  • abliterated
  • tp4
  • iq1_s
  • mxfp4 base_model:
  • deepseek-ai/DeepSeek-V4.1-Flash-1017

DeepSeek-V4.1-Flash-1017, uncensored — radiance container

DeepSeek-V4.1-Flash-1017 as a single .rad container for the radiance inference engine (AMD RDNA4, ROCm), with the refusal direction edited out of 18 attention-output projections.

Filesdeepseek-v4.1-flash-1017-uncensored.rad.part-00 … .part-05 — 251.07 GiB in six parts (45 GiB each, last 26.1 GiB; the Hub's per-file limit is 50 GB)
Reassemblecat deepseek-v4.1-flash-1017-uncensored.rad.part-0[0-5] > deepseek-v4.1-flash-1017-uncensored.rad (sha256 7444650de88519317b8d626559f2675e47b93969aa78502c281669534916315d)
BaseDeepSeek-V4.1-Flash-1017 (763B parameters; fp8 weights, fp4 routed experts; MIT)
Abliterationattn_output_b of layers 11–28 re-quantised from the official fp8 at alpha 0.75 of huihui's abliteration strength; the other 18 of 36 layers stay stock. It removes the refusal direction without touching attention q/k/v, the MLP or the Engram tables
Quantisationper-tensor, from Unsloth's UD-IQ1_S mix: routed experts iq1_s/iq2_xxs (gate_up 34 layers iq1_s + 6 iq2_xxs; down 20 + 20), attention and shared experts q6_K/q5_K/q8_0, the Engram table iq4_nl, norms f32, the DSpark drafter's experts MXFP4 as released
Drafterthe release's own DSpark mtp.* head (MXFP4 experts, 6.72 GiB)
Engramthe 2 Engram layers (103 GiB table) rebuilt from the release tokenizer by data/engram_tables.py; the release ships none
Needsradiance with the DeepSeek-V4.1 architecture and TP4 kernels; four 32 GB cards (R9700 gfx1201) and about 4 GiB of pinned host pool per rank; the Engram table on a disk tier
Measuredon the 4×R9700 lab at --max-model-len 409600, greedy essay 50.1 / code 53.4 tok/s (n-gram 5), 16k-token time to first token 4.7 s; 0 GPU resets

Quantisation

Per-tensor mix, not one global type. The .rad directory has 32,701 tensors; sizes below are from rad-info on the 251.13 GiB container.

ComponentQuantiserBits/weightSizeTensors
Token embedding (token_embd)q6_K≈6.560.51 GiB1
Engram table (per_layer_token_embd)iq4_nl≈4.50103.00 GiB1
Routed experts — gate_upiq1_s (34 layers), iq2_xxs (6 layers)≈2.07 / 2.2288.25 GiB15,360
Routed experts — downiq1_s (20 layers), iq2_xxs (20 layers)≈2.08 / 2.2245.30 GiB15,360
Shared expertsq6_K (54), q8_0 (26)≈6.56 / 8.501.19 GiB80
Attention projections — layers 0–26q6_K≈6.562.61 GiB324
Attention projections — layers 27–39q5_K≈5.501.05 GiB156
Attention norms / indexer / compressor (main)f32 / bf1632 / 160.19 GiB312
Norms / router / HCf32320.37 GiB240
Output (output)q6_K≈6.560.51 GiB1
Engram KV / gateq6_K / f32≈6.57 / 320.24 GiB10
DSpark drafter — routed expertsfp4_e2m1 + e8m0 scale (MXFP4)≈4.256.72 GiB768
DSpark drafter — linears / norms / attentionbf16 / f3216 / 321.19 GiB86

iq1_s and iq2_xxs are imatrix-weighted GGML searches; q6_K/q5_K/q8_0/iq4_nl are the canonical GGML encodings. The DSpark experts keep the release's MXFP4 (fp4_e2m1 with e8m0 scales, 1×32 block), not a recipe rule.

Serve

Reassemble first (the six parts are split at the Hub's 50 GB per-file limit):

cat deepseek-v4.1-flash-1017-uncensored.rad.part-0[0-5] > deepseek-v4.1-flash-1017-uncensored.rad
radiance --model deepseek-v4.1-flash-1017-uncensored.rad \
  --tp 4 --tp-wire exact --max-model-len 409600 --max-num-seqs 4 \
  --max-num-batched-tokens 4096 --kv-cache-dtype bf16 \
  --placement expert_tiered --host-pool-mib 4096 --ngram-placement disk \
  --num-speculative-tokens 5 --spec-ngram 5 \
  --expert-profile expert-stats.json --expert-pin-top 0.20 \
  --host 0.0.0.0 --port 8010

expert-stats.json is radiance's --expert-stats output for this model (per-layer routed-expert usage); --expert-pin-top 0.20 keeps the hottest fifth resident while the rest streams. Without it, the same recipe runs with the expert plane on the host pool alone. The Engram table is read from the disk tier by --ngram-placement disk; it is 103 GiB, so keep it on NVMe.

The server speaks OpenAI's chat API (/v1/chat/completions, /v1/models); the served model name is DeepSeek-V4.1-Flash. The chat template is embedded in the container.

How this file was made

data/engram_tables.py DeepSeek-V4.1-Flash-1017 engram-tables.safetensors
rad-convert DeepSeek-V4.1-Flash-1017 \
  --add engram-tables.safetensors \
  --recipe data/recipes/deepseek41-ud-iq1s.recipe \
  --imatrix imatrix_unsloth.gguf_file \
  -o deepseek-v4.1-flash-1017-uncensored.rad

The abliteration is applied after conversion: for layers 11–28, attn_output_b is rebuilt as W + alpha * (huihui's W - W), then re-quantised to the container's q6_K; alpha 0.75 gives the abl075 file. The recipe (deepseek41-ud-iq1s.recipe in radiance) names every weight's quantiser; first match wins, and anything it does not name keeps the checkpoint's own dtype. iq1_s and iq2_xxs need the imatrix; Unsloth's UD-IQ1_S imatrix is used, with ffn_gate_exps/ffn_up_exps fused by data/imatrix_merge.py because radiance fuses gate_up.

License

DeepSeek-V4.1-Flash-1017 is MIT licensed (Copyright © DeepSeek). This container is a modified copy: the routed experts and linears are re-encoded as the quantisers above, the Engram table is generated from the tokenizer, and 18 attention-output projections carry the abliteration edit. MIT applies to the original and to these modifications.

HUGGING FACE

上游数据

HF 下载量0
HF 点赞量0

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

SITE STATS

本站统计

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

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

来源与版本

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