← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

squanchyzx/DeepSeek-V4-Flash-0731-HERETIC-Abliterated-FP8

squanchyzx DeepSeek 296B
Your rig guess connected
? Why do I need an app?
Reading your rig…

Below is the per-quantization compatibility for this model.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/squanchyzx%2FDeepSeek-V4-Flash-0731-HERETIC-Abliterated-FP8"
Response includes
  • classification m3
  • files 102
  • hub_downloads_all_time 5,980
  • author_summary 1 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M3
Primary method

Layer-wise ablation

Applied on top of direct removal inherited from the base model.
Confidence
HIGH
Inherited from base model
Why this label 2 signals
Producer identity confirmed by naming conventions, tags or the model card. This label is very unlikely to change.
  • 'heretic' in model name (Heretic-produced)
  • Heretic uses layer-wise optimization (M3) with underlying direction removal (M1)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
HIGH
Why we say so
name contains 'heretic'; Heretic default extraction is difference-of-means (Arditi 2024)
Downloads · lifetime
7K
152 last 30d - cooling
Likes
21
Model age
3mo ago
created 2026-08-02
Downloads over time
Now 6.5K → from 712 ↑ 818%
4212.7K4.9K7.1K 712 on Aug 5 6.5K on Nov 26 AugSepOctNov
Aug 5 → Nov 26 · 97 snapshots · spans 113 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
mit
Tags
transformers safetensors deepseek_v4 text-generation deepseek-v4 abliterated heretic fp8 reasoning tool-use base_model:deepseek-ai/DeepSeek-V4-Flash-0731 base_model:quantized:deepseek-ai/DeepSeek-V4-Flash-0731

Related

Total size
156 GB
Files
102
Quantizations
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-08-12 00:25

Files by quantization

Weights 49 files 156 GB
model-00048-of-00048.safetensors 3.44 GB cc43742b download
model-00046-of-00048.safetensors 3.36 GB 5db924ca download
model-00004-of-00048.safetensors 3.35 GB 9610f56b download
model-00012-of-00048.safetensors 3.34 GB 64ed4e5f download
model-00014-of-00048.safetensors 3.34 GB 45db2f54 download
model-00016-of-00048.safetensors 3.34 GB e0530b70 download
model-00018-of-00048.safetensors 3.34 GB e393fea9 download
model-00020-of-00048.safetensors 3.34 GB 9f556769 download
model-00022-of-00048.safetensors 3.34 GB decd67a4 download
model-00024-of-00048.safetensors 3.34 GB fc27aeb4 download
model-00026-of-00048.safetensors 3.34 GB 657b8931 download
model-00028-of-00048.safetensors 3.34 GB b2fd5cbb download
model-00030-of-00048.safetensors 3.34 GB 9ed3c317 download
model-00032-of-00048.safetensors 3.34 GB 16365384 download
model-00034-of-00048.safetensors 3.34 GB 0f949451 download
model-00036-of-00048.safetensors 3.34 GB 7e676142 download
model-00038-of-00048.safetensors 3.34 GB 137fa617 download
model-00040-of-00048.safetensors 3.34 GB 8bc93d8a download
model-00042-of-00048.safetensors 3.34 GB 4d19bf36 download
model-00044-of-00048.safetensors 3.34 GB 422d3889 download
model-00006-of-00048.safetensors 3.34 GB 4a4f3764 download
model-00008-of-00048.safetensors 3.34 GB 224968d2 download
model-00010-of-00048.safetensors 3.34 GB 627145f4 download
model-00013-of-00048.safetensors 3.32 GB 8dfe199d download
model-00015-of-00048.safetensors 3.32 GB 5810381a download
model-00017-of-00048.safetensors 3.32 GB ed111302 download
model-00019-of-00048.safetensors 3.32 GB a74ca4d3 download
model-00021-of-00048.safetensors 3.32 GB 1671cce7 download
model-00023-of-00048.safetensors 3.32 GB c61a3e17 download
model-00025-of-00048.safetensors 3.32 GB a66b6b8d download
model-00027-of-00048.safetensors 3.32 GB fb01f21a download
model-00029-of-00048.safetensors 3.32 GB 9ec2fdf9 download
model-00031-of-00048.safetensors 3.32 GB d5078c3f download
model-00033-of-00048.safetensors 3.32 GB f2cffd43 download
model-00035-of-00048.safetensors 3.32 GB 9cb6a316 download
model-00037-of-00048.safetensors 3.32 GB a59d662f download
model-00039-of-00048.safetensors 3.32 GB a29af1aa download
model-00041-of-00048.safetensors 3.32 GB fd312e7f download
model-00043-of-00048.safetensors 3.32 GB b7103842 download
model-00005-of-00048.safetensors 3.32 GB f87a5ac7 download
model-00007-of-00048.safetensors 3.32 GB df81bb80 download
model-00009-of-00048.safetensors 3.32 GB 04d69ef1 download
model-00011-of-00048.safetensors 3.32 GB e4b8e601 download
model-00002-of-00048.safetensors 3.32 GB 77b26c93 download
model-00003-of-00048.safetensors 3.32 GB 412abf4c download
model-00047-of-00048.safetensors 3.32 GB 62816173 download
model-overlay-00001-of-00001.safetensors 1.03 GB ca4a043a download
model-00045-of-00048.safetensors 1010 MB a5be6aed download
model-00001-of-00048.safetensors 1010 MB f3668ba4 download
Auxiliary files 53 files 13.3 MB
tokenizer.json 6.07 MB 628e3364 download
model.safetensors.index.json 5.34 MB 231e0f43 download
heretic/full-v1.rank3-attn-l10-42.npz 1.56 MB 64ca63c9 download
inference/model.py 44.1 KB 76122da9 download
eval/runtime-0817/qualitative-outputs.json 32.3 KB 6d6b0de0 download
encoding/encoding_dsv4.py 28.3 KB 66f2d30e download
abliteration_report.json 25.8 KB 429f6d8c download
inference/kernel.py 21.7 KB ad550ce1 download
heretic/fp8_blockwise.py 15.1 KB cbf2931e download
heretic/bake_heretic_overlay.py 13.5 KB 51949151 download
eval/runtime-0817/suite-manifest.json 12.7 KB 4ad9a5e5 download
heretic/capture_directions.py 11.7 KB 2350508c download
heretic/search_lambda.py 10.1 KB b5ec3a3b download
eval/quality-baked-v2.json 9.78 KB 744bb2f6 download
heretic/v4_capture.py 9.58 KB c67c9b40 download
heretic/eval_harness.py 9.54 KB 524a80fb download
eval/quality-baseline-v1.json 9.07 KB e2766cd5 download
encoding/README.md 8.95 KB 78d93a8a download
README.md 8.75 KB ac65969b download
EVAL_RESULTS.md 6.96 KB e3cf3346 download
eval/v2/candidate-l135-acceptance-metrics.json 6.82 KB 920ada4f download
inference/convert.py 6.48 KB ab0b3cb7 download
heretic/replay_long_history.py 6.25 KB 9c6a8a0d download
inference/generate.py 5.67 KB 7f9ba926 download
eval/rank3-search-v1.json 5.05 KB 1653602b download
encoding/tests/test_input_3.json 4.44 KB 10034844 download
encoding/test_encoding_dsv4.py 3.65 KB 1c896e79 download
RELEASE_MANIFEST.json 3.32 KB 9500e3d2 download
encoding/tests/test_output_3.txt 3.24 KB edee5633 download
eval/runtime-0817/blind-judge-summary.json 3.15 KB a1e94d76 download
eval/runtime-0817/matched-ab-summary.json 3.11 KB 1e6d6be8 download
eval/quality-baked-chat-256-v2.json 3.01 KB 43e98c47 download
eval/runtime-0817/runtime-qualification.json 2.71 KB f16947d4 download
encoding/tests/test_input_1.json 2.68 KB d423b221 download
encoding/tests/test_input_4.json 2.67 KB d5e0791d download
encoding/tests/test_output_4.txt 2.49 KB d30bd5d0 download
encoding/tests/test_output_1.txt 2.33 KB 7e3c9bd5 download
config.json 1.84 KB 5f2da910 download
eval/runtime-0817/README.md 1.54 KB 89f6aa3c download
.gitattributes 1.48 KB a6344aac download
eval/rank3-baked-eval-v1.json 1.40 KB d0c06959 download
heretic/test_degeneracy_detector.py 1.39 KB a2b8bd14 download
HERETIC_ATTRIBUTION.md 1.31 KB 7c1fb09d download
eval/v2/detector-selftest.json 1.18 KB be014fca download
eval/v2/hf-v2-publication-canary.json 1.15 KB 8b50a7fe download
inference/config.json 1.13 KB ae821a24 download
LICENSE 1.04 KB d84f527e download
inference/README.md 951 B e1157722 download
tokenizer_config.json 801 B f3dad388 download
encoding/tests/test_input_2.json 526 B 13b3454a download
encoding/tests/test_output_2.txt 342 B fc397ef5 download
generation_config.json 170 B c56a8c5b download
inference/requirements.txt 92.0 B 7e1cc78c download

README from Hugging Face, captured 2026-08-22


license: mit
library_name: transformers
pipeline_tag: text-generation
base_model: deepseek-ai/DeepSeek-V4-Flash-0731
tags:

  • deepseek-v4
  • abliterated
  • heretic
  • fp8
  • reasoning
  • tool-use

DeepSeek-V4-Flash-0731 HERETIC Abliterated FP8 — v2

A native-FP8 behavioral derivative of deepseek-ai/DeepSeek-V4-Flash-0731.

v2 replaces the original λ1.5 release on main. The original commit remains available as an immutable tagged revision because it developed a long-context degeneration failure in real agent histories. Do not deploy the old revision for long-lived agent sessions.

What was wrong with v1

The issue was not a single repeated word. In long tool/agent histories, v1 could fall into several degeneration patterns:

  • repeated words such as kanka, my, or similar tokens;
  • repeated CJK characters and unexpected script switching;
  • thousands of empty () fragments or repeated punctuation;
  • repeated lines and low-entropy n-gram loops;
  • 100K–200K-character malformed generations that poisoned subsequent history.

The failure came from an overly aggressive rank-3 edit at lambda=1.5, combined with speculative/MTP amplification. Merely restoring stock MTP was not enough: the λ1.5 stock-MTP control still produced a 324-character consecutive 我 run.

What changed in v2

  • Kept the same three-mode rank-3 refusal subspace for chat, think-high, and think-max.
  • Edited attention output projections in backbone layers 10–42.
  • Reduced the projection strength from lambda=1.5 to lambda=1.35.
  • Left all MTP/DSpark tensors stock and untouched.
  • Left routed experts, shared experts, embeddings, norms, heads, tokenizer, encoder, and model configuration untouched.
  • Re-baked once from the protected official base; v2 was not baked on top of v1.
  • Preserved the official native FP8 representation; no additional lower-bit quantization pass was applied.

Tool attribution

This checkpoint was produced with Heretic v1.4.0 by Philipp Emanuel Weidmann and contributors, using base commit 7675b90d648154cdfefa597372cc477df9848eab. Heretic is their project and is licensed AGPL-3.0-or-later; it is not owned or authored by this model publisher.

The release-specific work here is the DeepSeek V4/mHC two-node adaptation, separate refusal-direction capture, rank-3 subspace construction, native-FP8 attention-only bake, long-context incident reproduction, generic degeneration detector, and release evaluation. See HERETIC_ATTRIBUTION.md.

Mechanical receipts

  • Edited tensors: 66 (33 weight + scale pairs)
  • Untouched indexed tensors: 72,251
  • MTP/DSpark edited tensors: 0
  • Overlay bytes: 1,107,370,672
  • Overlay SHA-256: ca4a043ae3a306a50b680a08c3f175d7a7df20b955f28a9d4e45161692c45638
  • Rewritten index SHA-256: 393a1b09ffacdf5e4e226a84f0b8d5467947ad0f35c91a71127e609003375a56
  • Cross-node overlay/index equality: verified on two independently materialized DGX Spark trees
  • Dangling official-base shard links before packaging: 0/48 on both nodes

Long-context acceptance

The detector does not key on one literal word. It evaluates answer and reasoning content for same-word/character/symbol runs, repeated 2/3/4/8-grams, repeated lines, dominant-token fraction, vocabulary uniqueness, entropy, compression, empty-parenthesis floods, and unexpected script switching.

Results with speculative decoding enabled:

  • Real cron incident fixture, 92,501 prompt tokens: 5/5 seeds clean
  • Corrected real WhatsApp fixture, 64,245 prompt tokens: 5/5 seeds clean
  • Synthetic 124,983 prompt-token replay: clean
  • Synthetic 249,971 prompt-token replay: clean
  • Total long-history acceptance replays: 12/12 clean
  • Non-stop finishes: 0/12
  • Tool calls: 6/6 valid and correct
  • Deterministic short quality smoke with a 512-token generation budget: 11/12
  • Refusal smoke: 6/16 (37.5%; lower is less refusal)

These are bounded release tests, not a universal capability or safety benchmark. Full compact receipts are in EVAL_RESULTS.md and the eval/v2/ directory.

Runtime

Use a DeepSeek-V4-compatible runtime and the official encoder. This checkpoint retains the official V4/DSpark architecture and native FP8 layout. Generic runtimes without DeepSeek V4 support may not load it correctly.

The release candidate was exercised on two NVIDIA DGX Spark nodes with tensor parallelism 2, a 1,048,576-token configured context window, the official V4 encoder, and a DeepSeek-V4-capable vLLM build.

2026-08-12 runtime qualification and stock-vs-v2 A/B

No checkpoint revision was created for this update. The v2 weight shards, index, configuration, tokenizer, and immutable v2-lam1p35-mtpstock tag are unchanged. This section documents a verified runtime profile and a bounded matched comparison against the unmodified official DeepSeek-V4-Flash-0731 checkpoint.

Runtime profile

The qualified two-DGX-Spark deployment uses the runtime lineage from MiaAI-Lab/DeepSeek-v4-Flash-DSpark-2x-DGX-Spark at commit 0817b11f5bfd53aeb85c90d1e8ae3755898b5314. That repository supplies runtime/deployment fixes; it is not a separate Mia-tuned checkpoint.

The validated profile kept this repository's v2 weights and used TP=2, MTP=3, a 1,048,576-token configured window, the official encoder, regular CUDA graphs, and the NVFP4 sparse-MLA fix. Direct API gates passed 5/5, including strict JSON and tool-history re-encoding. Long-context gates completed at 66,637, 249,971, and 609,847 prompt tokens without OOM, engine death, traceback, HTTP 5xx, or container restart. The 609,847-token run decoded at 38.768 tok/s, but its prefill/TTFT was 541.203 s; the configured 1M window should not be presented as low-latency interactive UX.

The qualified deployment currently uses host-mounted patch files. An immutable runtime image and mount-independence receipt remain future work.

Matched stock-vs-v2 result

Both arms were cold-loaded into the same TP=2 runtime envelope with identical serving flags, tokenizer, prompts, seeds, sampling, MTP=3, and default thinking=false chat-template behavior.

  • Strict objective/instruction suite: official stock 14/20; Heretic v2 11/20.
  • Stock-only wins: 3; Heretic-only wins: 0; exact paired McNemar two-sided p=0.25.
  • Tool selection: both 6/6.
  • Deterministic 512-token quality smoke: both 11/12.
  • Legacy bounded short-generation quality smoke: stock 10/12; Heretic v2 9/12.
  • Refusal smoke: stock 15/16; Heretic v2 6/16 (lower means less refusal).
  • Blind qualitative majority (3 judges, 12 randomized pairs): stock 6, Heretic v2 2, ties 4; mean scores stock 7.500, Heretic v2 7.417.

Interpretation: stock showed a directional edge on this small strict objective suite, while v2 preserved much lower refusal behavior and equal tool-call compliance. The sample is too small to establish a universal capability gap. Use the official stock checkpoint when upstream-aligned behavior and maximum baseline correctness are the priority; evaluate this derivative when reduced refusal behavior is an explicit requirement. Do not treat abliteration as a free quality improvement.

Machine-readable receipts: matched-ab-summary.json, blind-judge-summary.json, suite-manifest.json, and runtime-qualification.json.

Revision policy

  • main: current v2 release
  • v2-lam1p35-mtpstock: immutable v2 tag
  • v1-lam1p5-known-long-context-issue: preserved v1 tag; not recommended for long-lived agent sessions

Limitations and safety

  • This is an unofficial community derivative and is not affiliated with or endorsed by DeepSeek.
  • Abliteration reduces some refusal behavior and can increase compliance with unsafe requests. This checkpoint is not safety-certified.
  • Downstream deployers remain responsible for evaluation, access controls, monitoring, output limits, loop guards, and compliance with applicable law and platform policy.
  • Refusal and long-context behavior remain prompt-, template-, runtime-, and decoder-sensitive.
  • The quality suite is intentionally small. Broader benchmark coverage is welcome.
  • A model-side repair does not replace runtime output caps and generic degeneration guards.

License

The upstream repository and model weights are MIT licensed. This derivative retains the MIT license and original DeepSeek copyright notice.

Base model: deepseek-ai/DeepSeek-V4-Flash-0731

README history 5 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-08-12 Document runtime qualification and matched stock-v2 A/B c2f2796 8.8 KB
    Loading...
  2. 2026-08-08 Publish v2 long-context repair (lambda 1.35, stock MTP) 9686b17 5.6 KB
    Loading...
  3. 2026-08-02 Credit Heretic tool and separate model/code licenses 2b84b83 5.9 KB
    Loading...
  4. 2026-08-02 Update README.md release disclosure and evaluation 554aedc 5.1 KB
    Loading...
  5. 2026-08-02 Add model card, method scripts, and evaluation receipts 5f4ca79 4.8 KB
    Loading...

Discussions 2 threads

  1. 2026-08-08 Heretic Ara open 2 💬 #2
    Loading...
  2. 2026-08-08 Thinking severely affected open 8 💬 #1
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration