Downloads · 30 days
27
5% of all-time downloads
sapidlabs/Hy3-REAP-48e
Hy3-REAP-48e is a text generation model from sapidlabs. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
An expert-pruned version of tencent/Hy3, produced with REAP (Router-weighted Expert Activation Pruning). Each MoE layer's 192 routed experts are reduced to the 48 most salient, shrinking the checkpoint from 557 GB to…
Downloads · 30 days
27
5% of all-time downloads
All-time downloads
526
Public
Parameters
84B
168 GB on disk
Likes
5
Public
Click a slice to open those files.
.safetensors168 GB · 100%
How the weights are stored.
BF1684B · 100%
From the Hugging Face model README
An expert-pruned version of tencent/Hy3,
produced with REAP (Router-weighted Expert Activation Pruning). Each MoE
layer's 192 routed experts are reduced to the 48 most salient, shrinking the
checkpoint from 557 GB to 157 GB (BF16).
⚠️ Experimental research artifact. This is an aggressive prune (75% of experts removed) calibrated on a small, code-only set. It generates fluent text and is genuinely strong at code, but general/factual accuracy is degraded (see below). Not intended for production. A better-calibrated version is planned — this repo will be updated in place.
| Base | This model | |
|---|---|---|
| Routed experts / MoE layer | 192 | 48 |
| Experts per token | 8 | 8 (unchanged) |
| Size (BF16) | ~557 GB | ~157 GB |
| Architecture | hy_v3 (HYV3ForCausalLM) | same |
The entire pipeline ran on a single NVIDIA DGX Spark (128 GB) — a model far larger than RAM — using per-layer disk streaming:
router_weight × activation_norm over a calibration set; the least-salient
are dropped.compression_ratio 0.75 → 192 → 48 experts kept per MoE layer.theblackcat102/evol-codealpaca-v1 (code).meta and each of the 80 layers
streamed from the on-disk safetensors shards (~7 GB resident at a time), for
both calibration and the prune. See the
How To Spark training notes for the recipe.Fluent everywhere; quality tracks the (code-only) calibration domain:
| Prompt | Output |
|---|---|
| Write an nth-Fibonacci function | Correct, well-documented Python ✅ |
| "The sky is…" | "Blue." ✅ |
| Capital of France? | "France does not have a single capital city…" ❌ (fluent but wrong) |
The pattern is expected: code experts (the calibration domain) survived; experts carrying broad world-knowledge scored low on code data and were pruned. A larger, more diverse calibration set and/or a gentler prune ratio would recover accuracy.
At 157 GB BF16 this exceeds a single 128 GB device. Options:
vllm serve <repo> --pipeline-parallel-size 2
(vLLM supports HYV3ForCausalLM). This model was validated running
pipeline-parallel across two DGX Sparks.hy_v3
quantization is still maturing).Inherits the base model's license (Apache-2.0). Derivative of tencent/Hy3.