cerebras/DeepSeek-V3.2-REAP-345B-A37B 已完整同步
𓌳 REAP𓌳 the Experts: Why Pruning Prevails for One-Shot MoE Compression
DeepSeek-V3.2-REAP-345B-A37B
✨ Highlights
Introducing DeepSeek-V3.2-REAP-345B-A37B, a memory-efficient compressed variant of DeepSeek-V3.2 that maintains near-identical performance while being 50% lighter.
This model was created using REAP (Router-weighted Expert Activation Pruning), a novel expert pruning method that selectively removes redundant experts while preserving the router's independent control over remaining experts. Key features include:
- Near-Lossless Performance: Maintains almost identical accuracy on code generation, agentic coding, and function calling tasks compared to the full 671B model
- 50% Memory Reduction: Compressed from 671B to 345B parameters, significantly lowering deployment costs and memory requirements
- Preserved Capabilities: Retains all core functionalities including code generation, math & reasoning and tool calling.
- Drop-in Compatibility: Works with vanilla vLLM - no source modifications or custom patches required
- Optimized for Real-World Use: Particularly effective for resource-constrained environments, local deployments, and academic research
📋 Model Overview
DeepSeek-V3.2-REAP-345B-A37B has the following specifications:
- Base Model: DeepSeek-V3.2
- Compression Method: REAP (Router-weighted Expert Activation Pruning)
- Compression Ratio: 50% expert pruning
- Type: Sparse Mixture-of-Experts (SMoE) Causal Language Model
- Number of Parameters: 345B total, 37B activated per token
- Number of Layers: 61
- Number of Attention Heads: 128
- Number of Experts: 128 (uniformly pruned from 256)
- Number of Activated Experts: 8 per token
- Context Length: 163,840 tokens
- License: MIT
📊 Evaluations
| Benchmark | Score |
|---|---|
| LiveCodeBench (25.01 - 25.05) | 64.64 |
| HumanEval | 93.29 |
| HumanEval+ | 89.02 |
| MBPP | 91.01 |
| MBPP+ | 75.13 |
Evaluations above were run with temperature=0.0; max_tokens=60000 for LiveCodeBench and max_tokens=16384 for the other benchmarks. For more details on the evaluation setup, refer to the REAP arXiv preprint.
🚀 Deployment
You can deploy the model directly using the latest vLLM (that supports DeepSeek-V3.2), no source modifications or custom patches required.
VLLM_USE_DEEP_GEMM=0 vllm serve cerebras/DeepSeek-V3.2-REAP-345B-A37B \
--tensor-parallel-size 8 \
--tokenizer-mode deepseek_v32 \
--tool-call-parser deepseek_v32 \
--reasoning-parser deepseek_v3 \
--trust-remote-code \
--enable-auto-tool-choice
If you encounter insufficient memory when running this model, you might need to set a lower value for --max-num-seqs flag (e.g. set to 8). For more information, refer to the official deployment guide.
🧩 Model Creation
This checkpoint was created by applying the REAP (Router-weighted Expert Activation Pruning) method uniformly across all Mixture-of-Experts (MoE) blocks of DeepSeek-V3.2, with a 50% pruning rate.
How REAP Works
REAP selects experts to prune based on a novel saliency criterion that considers both:
- Router gate values: How frequently and strongly the router activates each expert
- **Expert activation n
87 个文件
浏览文件数据集版权信息
本数据集的许可证为 MIT License。如有违反相关条款,请联系 WEHUB,我们将及时处理。 查看许可证
通过 WeHub CLI 下载当前数据集快照。下列命令会固定为当前页面展示的数据版本(如果页面提供版本)。文件字节由本机直连存储下载,浏览器不会签发或保存下载链接。
前置要求
需要 Node.js 18 及以上,以及 npm(或 npx)。
1. 安装 CLI
npm install -g wehub-cli@latest
2. 下载此数据集
wehub datasets download ds_ext_3362_c32a60e15a --revision 4fd8e8c3e08442c4a6dde6dd3fa3dac481a0205b --output ./ds_ext_3362_c32a60e15a
若中断或部分失败,在同一目录重新执行同一命令即可续传。默认会校验 SHA-256。
免全局安装
npx --yes wehub-cli@latest datasets download ds_ext_3362_c32a60e15a --revision 4fd8e8c3e08442c4a6dde6dd3fa3dac481a0205b --output ./ds_ext_3362_c32a60e15a
高级选项
以下为 wehub datasets download 已支持的参数示例:
强制重新下载,不复用已校验的本地文件
wehub datasets download ds_ext_3362_c32a60e15a --revision 4fd8e8c3e08442c4a6dde6dd3fa3dac481a0205b --output ./ds_ext_3362_c32a60e15a --overwrite
仅包含匹配路径
wehub datasets download ds_ext_3362_c32a60e15a --revision 4fd8e8c3e08442c4a6dde6dd3fa3dac481a0205b --output ./ds_ext_3362_c32a60e15a --include "*.jsonl"
排除匹配路径
wehub datasets download ds_ext_3362_c32a60e15a --revision 4fd8e8c3e08442c4a6dde6dd3fa3dac481a0205b --output ./ds_ext_3362_c32a60e15a --exclude "*.md"
提高并发下载数
wehub datasets download ds_ext_3362_c32a60e15a --revision 4fd8e8c3e08442c4a6dde6dd3fa3dac481a0205b --output ./ds_ext_3362_c32a60e15a --jobs 8
完整帮助:wehub datasets download --help