CoolFace
Modelpublic

steadfastgaze/DeepSeek-V4-Flash-0731-2.37bpw-MoEspressoV2

sourceHugging Facemitupdated 2mo agoView on Hugging Face
0likes43downloads
Model Card

DeepSeek V4 Flash 0731, 2.37 bpw MoEspresso V2 package

This repository holds a MoEspresso package, and MoEspresso is the only engine that serves it: https://github.com/steadfastgaze/MoEspresso.

This package requires MoEspresso 2. Install it with Homebrew:

bash
brew install steadfastgaze/tap/moespresso

llama.cpp, transformers, and mlx-lm will not load these files.

Full serving instructions live in the MoEspresso repository.

Original model: https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731

The package includes the DeepSeek DSpark drafter. The quality measurements below use the target model without drafting.

Quality

The first panel compares complete quantized artifacts in their intended runtimes. Lower NLL and perplexity are better; higher first-token agreement is better.

package and runtimeWikiText mean NLLWikiText perplexityAPI-continuation mean NLLAPI first-token agreement
MoEspresso 2.37 bpw / MoEspresso1.714665.55480.3963466/100
antirez IQ2_XXS / DS41.768245.86050.4151754/100
Unsloth UD-IQ2_XXS / llama.cpp1.716955.56750.3622462/100

The WikiText panel uses the first 32 contiguous 2,048-token windows from the held-out WikiText-2 test split and scores 32,736 targets. All three runtimes received identical token IDs. The API panel uses the same 100 prompts and 2,313 provider-selected continuation tokens in every local runtime. Each local model is teacher-forced under that continuation; this is not free-running generation agreement.

MoEspresso was not calibrated on this WikiText test panel. The corpus and separation checks are described below.

The release package also carries these model-specific checks:

checkscoperesult
Renderer and tokenizer goldens34 fixed cases34/34
Greedy selected-token identityFive fixed prompts and 14 next-token decisions, compared with the official API9/14
Official continuation loss100 prompts and 2,313 target tokensAverage NLL 0.3963; first-token agreement 66/100
Long-context fact recall16 fixed facts in a 30,000-token-class prompt16/16 exact match
WikiText all-position release gate32 windows and 65,504 targetsPackage perplexity 6.4774; bf16 teacher perplexity 4.8886

The comparison panel and the all-position release gate score different target positions, so their two WikiText perplexity readings are not directly comparable. Exact artifact identities, corpus hashes, and scoring controls are recorded in the benchmark protocol.

Recipe

The served target model is 2.37 bits per weight. The bundled drafter is excluded from that ratio.

MoEspresso selected IQ2KS and IQ2K assignments for the routed experts from calibrated output-error evidence. The dense model weights use q6K. DeepSeek-V4 auxiliary tensors use the package's declared affine and mxfp8 formats, and the DSpark sidecar uses IQ2K. The package manifest records every tensor decision and the SHA-256 identity of every file.

After downloading, moespresso-verify <package-directory> checks the complete package against that manifest.

Corpus

The calibration training spine joins two published sources:

  • —Bartowski's `calibration_datav5`, assembled from material credited to Dampf and Kalomaze plus edaddario's combined_all_small dataset. It mixes general and instruction-style prose, fenced code, and some multilingual material.
  • —exllamav3's `technical.utf8`, which adds technical and scientific prose, including mathematical notation.

The two files are concatenated and tokenized with the DeepSeek-V4-Flash 0731 tokenizer. A deterministic slice is reserved from calibration fitting. Separate C4 prose and source-code files are held out as validation probes. exllamav3's WikiText, multilingual, TinyStories, and synthetic random-token components are not part of the training spine.

The Salesforce/wikitext wikitext-2-raw-v1 test split used for the published perplexity panel was not used to produce importance matrices, calibration moments, or optimizer inputs. A full-file audit found no substantive exact overlap between either calibration component and that test panel or the known historical WikiText train excerpt. This supports the panel-specific statement that the package was not calibrated on the benchmark. It does not establish that every upstream source in the calibration corpus is free of Wikipedia-derived prose, because the complete source genealogy of calibration_datav5 is not known.

Files

The repository contains the target-model safetensors shards, the bundled DSpark sidecar and its shards, tokenizer files, and the package-owned manifests, plans, reports, and runtime sidecars. package_manifest.json is the root of the verification contract.

Credits

The base model and DSpark drafter were trained and released by DeepSeek. The IQK formats were designed by [Iwan Kawrakow](https://github.com/ikawrakow) and are served through [mlx-iqk](https://github.com/steadfastgaze/mlx-iqk). The dense q6K path uses mlx-kquant. The calibration corpus combines work published by Bartowski and turboderp-org. MoEspresso runs on Apple's MLX.

The complete third-party provenance is recorded in the MoEspresso repository's THIRD-PARTY-NOTICES and in the notices distributed by its dependencies.