GatedDeltaNet-1.3B, 80% unstructured sparsity: SparseGPT (official code)
m-a-p/1.3B-100B-GatedDeltaNet-pure, pruned one-shot (no retraining) to 80% sparsity with the official SparseGPT code (IST-DASLab/sparsegpt@147d215, fasterprune, blocksize 128, damping 0.01). Its mask uses one threshold per 128-column block, so rows end up with different numbers of nonzeros. This is a baseline for the EHWS models in this account. Every linear layer inside the blocks is pruned. Embeddings and lm_head stay dense.
Load it with flash-linear-attention installed (import fla) and AutoModelForCausalLM.from_pretrained(...).
Method
- Calibration: the official loader, 128 C4 sequences of 2,048 tokens, seed 0.
- Blocks are pruned in order; each block is calibrated on the outputs of the already-pruned blocks before it, as in the official drivers. The layer walk is new code (the official drivers only know OPT / LLaMA); the pruning math is the official code.
- Weights pruned in bfloat16. Pruning took 4.2 minutes on one A100 40GB.
Results
Perplexity uses ELSA's evaluation protocol (its WikiText-2 / C4 test sets and formula, fp16).
| WikiText-2 | C4 | |
|---|---|---|
| Dense | 10.31 | 13.76 |
| This model | 146.19 | 131.26 |
Zero-shot accuracy (lm-evaluation-harness):
| Task | Dense | This model |
|---|---|---|
| arc_challenge | 0.3763 | 0.1809 |
| arc_easy | 0.7222 | 0.3106 |
| boolq | 0.6159 | 0.4878 |
| hellaswag | 0.4629 | 0.2782 |
| openbookqa | 0.2920 | 0.1360 |
| rte | 0.4982 | 0.5271 |
| winogrande | 0.6188 | 0.5154 |
| average | 0.5123 | 0.3480 |
Sparsity of the pruned layers, measured on these weights: 0.8000. Rows are not balanced: across the 240 pruned layers, the densest row has on average 1.98x the mean row's nonzeros (worst layer 3.95x). Checked on these weights.
- Downloads last month
- 24
Model tree for ikimyaii/GatedDeltaNet-1.3B-unstructured-SparseGPT-80pct
Base model
m-a-p/1.3B-100B-GatedDeltaNet-pure