Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
Part of a controlled ablation:
BananaMind/dsa-model-ablation
(DSA) vs
BananaMind/normal-model-ablation
(standard attention).
Same seed, data order, tokenizer, architecture and hyper-parameters. Only the attention differs.
Attention: DeepSeek Sparse Attention (DSA): a lightning indexer (ReLU, 2 heads x dim 16) selects the top-512 keys per query; the indexer is trained with a KL loss against the (detached) main attention distribution. The first 10% of steps use dense attention (indexer warm-up), the rest use sparse attention.
Optimiser: AdamW lr 0.002 (cosine), batch 16x3072 tokens, bf16 autocast
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "BananaMind/dsa-model-ablation"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
(No KV cache is implemented;
generate
recomputes the full sequence each step.)
Benchmarks (0-shot, lm-evaluation-harness; acc / acc_norm where available)
Model
Params
Val loss
Val ppl
piqa
hellaswag
arc_easy
arc_challenge
DSA
1,530,496
3.4150
30.42
54.90 / 53.05
26.84 / 26.72
30.18 / 31.02
16.98 / 20.73
Standard
1,498,496
3.4248
30.72
53.81 / 53.75
26.86 / 26.75
30.68 / 31.44
17.83 / 20.99
Per-model raw results:
benchmarks/results.json
. Comparison with the other model:
benchmarks/comparison.md
(other repo: BananaMind/normal-model-ablation). Training curve:
train_log.json
.
Note: at this size models are close to chance on these benchmarks, and the benchmark prompts are shorter than
the top-k (512), where DSA selects every token and behaves identically to dense attention at inference,
so differences mostly reflect how training differed.
Runs of BananaMind dsa-model-ablation on huggingface.co
886
Total runs
8
24-hour runs
18
3-day runs
34
7-day runs
886
30-day runs
More Information About dsa-model-ablation huggingface.co Model
dsa-model-ablation huggingface.co is an AI model on huggingface.co that provides dsa-model-ablation's model effect (), which can be used instantly with this BananaMind dsa-model-ablation model. huggingface.co supports a free trial of the dsa-model-ablation model, and also provides paid use of the dsa-model-ablation. Support call dsa-model-ablation model through api, including Node.js, Python, http.
dsa-model-ablation huggingface.co is an online trial and call api platform, which integrates dsa-model-ablation's modeling effects, including api services, and provides a free online trial of dsa-model-ablation, you can try dsa-model-ablation online for free by clicking the link below.
BananaMind dsa-model-ablation online free url in huggingface.co:
dsa-model-ablation is an open source model from GitHub that offers a free installation service, and any user can find dsa-model-ablation on GitHub to install. At the same time, huggingface.co provides the effect of dsa-model-ablation install, users can directly use dsa-model-ablation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.