Tencent-Hunyuan/Simple-Attention-Sparsification
Code for our resarch paper "SAS: Simple Attention Sparsification via End-to-End Optimization of Context Ranking"
About the project
SAS is a gated sparse-attention mechanism that learns per-query which context blocks to attend to, optimizing context ranking end-to-end with the language modeling loss. The repo provides the paper's training and evaluation code.
Useful for
- Train sparse attention on Qwen3-4B/8B/14B with the OpenR1-Math-220k dataset
- Evaluate the model on MATH, GPQA-Diamond, AIME24/25 and LongBench-E via sglang-blocksparse
- Run BFCL function-calling and VitaBench tool-use benchmarks with sparse attention
README summarized by DeepSeek V4.1 Flash. Details may be inaccurate.
Why it’s trending
- 1 star so far today, about 1 expected by the end of the day.
- The repository is 8 days old and already has 59 stars.
Stars per day
Bars are daily stars, the line is the usual pace. Red marks spike days.
Numbers
- Total stars
- 59
- Stars in a day
- 1
- Forks
- 1
- Issues and pull requests
- 0
- Watchers
- 0
- Language
- Python
- Created
- September 10, 2026
- Last push
- September 14, 2026
Star trust
Growth looks organic: forks and discussion are in line with active projects, and stars arrive unevenly, the way people give them.
These are heuristics, not a verdict: we judge by the repository’s behavior, not by a list of stargazers.
Spotted in
- September 16, 2026Top new repositories this week: #184
Similar projects
-
8.6
TheoLeeCJ/SemIf
An open reproduction of the Jev-style semantic decision interface: reads typed option probabilities directly from a 4B model's logits without generating text. Runs on a single RTX 3090.
-
7.1
vinnylarouge/jevlike
A small trainable model that picks one option from a changing list of text options in a single forward pass, an open alternative to TypeSafe's Jev. Aimed at developers who need fast classification or menu selection…
-
6.9
Continuum-AI-Corp/OrcaBonsai-27B-Uncensored
A tool for runtime refusal ablation in the compressed Ternary Bonsai 2 27B LLM: it projects the residual stream to remove the refusal direction without modifying or re-quantizing weights. Runs on Apple Silicon via MLX.
-
6.4
TianyuCodings/NanoJev
A nano replica of Jev built on Qwen3-0.6B that outputs probability distributions over candidates in a single forward pass with no token decoding, plus a training pipeline and game demos (maze, Snake).
-
6.3
zhengkid/Dream-RSI
Research project on recursive self-improvement: past discovery histories become a replay simulator used to evaluate and refine exploration policies. Code is still being prepared; paper and demo are available.
-
5.0
ekzhang/openjev-sglang
HTTP server implementing the TypeSafe/Jev API for structured text classification on Qwen3.6-35B-A3B via SGLang; returns answer probabilities without generating a chain of thought.