CoolFace
Modelpublic

0xSero/DeepSeek-V3.2-345B-W3A16

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
10likes95downloads
Model Card
[!TIP] [Support this work →](https://donate.sybilsolutions.ai) · X · GitHub · REAP paper · Cerebras REAP

DeepSeek-V3.2-345B-W3A16

W3A16 quantization of deepseek-ai/DeepSeek-V3.

At a glance

Base modeldeepseek-ai/DeepSeek-V3
FormatW3A16
Total params345B
Active / token—
Experts / layer128
Layers61
Hidden size7168
Context163,840
On-disk size138 GB

Which variant should I pick?

VariantFormatLink
DeepSeek-V3.2-345B-W3A16 (this)W3A16link
DeepSeek-V3.2-508B-NVFP4NVFP4link

<p align="center"> <em>𓌳 <strong>REAP</strong>𓌳 the Experts: Why Pruning Prevails for One-Shot MoE Compression</em><br> <a href="https://arxiv.org/abs/2510.13999">📄 Paper</a> • <a href="https://github.com/CerebrasResearch/reap">💻 Code</a> </p>

DeepSeek-V3.2-REAP-345B-W3A16

REAP-pruned + W3A16 quantized DeepSeek-V3.2 for efficient deployment.

📋 Model Specifications

PropertyValue
Base ModelDeepSeek-V3.2
Parameters345B
QuantizationW3A16 (3-bit weights)

🔬 Calibration Dataset: Deep Dive

REAP's effectiveness depends critically on calibration data that represents the target use case. We specifically optimized for code generation, function/tool calling, and agentic workflows.

Why These 3 Datasets?

DatasetSamplesPurposeWhy It Matters
evol-codealpaca-v1700Code generation51% of mix — Code tasks activate specific expert pathways; pruning without code calibration destroys coding ability
xlam-function-calling-60k330Function/tool calling24% of mix — Tool use requires structured JSON output; experts handling schema generation must be preserved
SWE-smith-trajectories330Agentic multi-turn24% of mix — Real SWE-bench trajectories with tool calls, file edits, and multi-step reasoning

The Science Behind Dataset Selection

REAP Algorithm:
1. Forward pass calibration samples through model
2. Record which experts activate and their magnitudes
3. Compute saliency = router_weight × activation_norm
4. Prune lowest-saliency experts

Key Insight: Experts are TASK-SPECIFIC
├── Some experts specialize in natural language
├── Some experts specialize in code syntax
├── Some experts specialize in JSON/structured output
└── Some experts specialize in multi-turn context

If calibration lacks code → code-specialized experts appear "unused" → get pruned → model loses coding ability

Cerebras' Original Mix (from paper)

Cerebras used the same 3 datasets in their GLM-4.6 REAP experiments:

  • —evol-codealpaca-v1 for code generation
  • —xlam-function-calling-60k for tool calling
  • —SWE-smith-trajectories for agentic tasks

We followed this exact recipe for reproducibility.

Combined Dataset

Our calibration mix: 0xSero/glm47-reap-calibration-v2


License & citation

License inherited from the base model.

bibtex
@misc{lasby2025reap,
  title  = {REAP the Experts: Why Pruning Prevails for One-Shot MoE Compression},
  author = {Mike Lasby and Ivan Lazarevich and Nish Sinnadurai and Sean Lie and Yani Ioannou and Vithursan Thangarasa},
  year   = {2025}, eprint = {2510.13999}, archivePrefix = {arXiv}
}

Sponsors

Made possible by NVIDIA · TNG Technology · Lambda · Prime Intellect · Hot Aisle.