BananaMind / dsa-model-ablation

huggingface.co
Total runs: 886
24-hour runs: 8
7-day runs: 34
30-day runs: 886
Model's Last Updated: October 02 2026
text-generation

Introduction of dsa-model-ablation

Model Details of dsa-model-ablation

DSA ablation model (1.53M params, 3072 context)

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.
  • Architecture: 5 layers, hidden 128, 4 heads, SwiGLU 336, RoPE, RMSNorm, tied embeddings, vocab 4096 (custom BPE)
  • Context length: 3072
  • Params: 1,530,496 (1,498,496 excluding the DSA indexers)
  • Data: HuggingFaceFW/fineweb-edu (sample-10BT), 2000M tokens, 1 epoch, seed 1337
  • 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

More dsa-model-ablation license Visit here:

https://choosealicense.com/licenses/apache-2.0

dsa-model-ablation huggingface.co

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 Url

https://huggingface.co/BananaMind/dsa-model-ablation

BananaMind dsa-model-ablation online free

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:

https://huggingface.co/BananaMind/dsa-model-ablation

dsa-model-ablation install

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.

dsa-model-ablation install url in huggingface.co:

https://huggingface.co/BananaMind/dsa-model-ablation

Url of dsa-model-ablation

dsa-model-ablation huggingface.co Url

Provider of dsa-model-ablation huggingface.co

BananaMind
ORGANIZATIONS

Other API from BananaMind

huggingface.co

Total runs: 39
Run Growth: 28
Growth Rate: 71.79%
Updated:October 12 2026