GatedDeltaNet-340M, 80% unstructured sparsity: SparseGPT (official code)

m-a-p/340M-20B-GatedDeltaNet-pure-baseline, 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 2.5 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 16.42 19.94
This model 274.66 217.44

Zero-shot accuracy (lm-evaluation-harness):

Task Dense This model
arc_challenge 0.2645 0.1988
arc_easy 0.6023 0.2997
boolq 0.5985 0.4508
hellaswag 0.3461 0.2692
openbookqa 0.2300 0.1300
rte 0.5162 0.5343
winogrande 0.5036 0.4988
average 0.4373 0.3402

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 2.03x the mean row's nonzeros (worst layer 3.96x). Checked on these weights.

Downloads last month
24
Safetensors
Model size
0.4B params
Tensor type
F32
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ikimyaii/GatedDeltaNet-340M-unstructured-SparseGPT-80pct

Finetuned
(28)
this model