|
Download README.md from M-Ma/SparseGUI-Indexer: direct link, hf CLI and curl.
- Browser
- Download file 2.19 kB
-
https://huggingface.co/M-Ma/SparseGUI-Indexer/resolve/main/README.md
- Command line
-
hf download hf://M-Ma/SparseGUI-Indexer/README.md
-
curl -L -o README.md https://huggingface.co/M-Ma/SparseGUI-Indexer/resolve/main/README.md
2.19 kB
| license: apache-2.0 | |
| base_model: | |
| - meituan/EvoCUA-8B-20260105 | |
| tags: | |
| - gui-agent | |
| - computer-use | |
| - sparse-attention | |
| - long-context | |
| datasets: | |
| - nvidia/ProCUA-SFT | |
| # SparseGUI Indexer | |
| Learned token indexers for **decode-time sparse attention** in long-horizon GUI agents. For each | |
| decode query, the Indexer selects which prompt tokens attention keeps: the top-B tokens by its score, | |
| plus a few fixed always-on positions and the tokens generated in the current turn. Prefill stays | |
| dense. | |
| Paper: [SparseGUI: Accelerating Long-Horizon GUI Agents with Learned Sparse Attention](https://arxiv.org/pdf/2612.02762). | |
| Code: [github.com/MichelleMa8/SparseGUI](https://github.com/MichelleMa8/SparseGUI). | |
| See the paper for the method, training and results. | |
| ## Checkpoints | |
| There is one folder per backbone. You also need the backbone model. | |
| | Folder | Backbone | Budget B | | |
| |---|---|---:| | |
| | [`evocua-8b-20260105/`](evocua-8b-20260105) | [meituan/EvoCUA-8B-20260105](https://huggingface.co/meituan/EvoCUA-8B-20260105) | 2048 | | |
| Each folder contains `model.safetensors`, `config.json` (dimensions, budget, always-on | |
| positions) and a short `README.md`. `indexer.py` at the top level works for every folder. | |
| ## Usage | |
| ```python | |
| from indexer import Indexer # needs torch, safetensors, huggingface_hub | |
| idx = Indexer.from_pretrained("M-Ma/SparseGUI-Indexer", subfolder="evocua-8b-20260105") | |
| kt = idx.keys(k_post) # post-RoPE keys [L, n_kv_heads, head_dim]; cache per layer | |
| kept = idx.select(q_post, kt, prompt_len) # post-RoPE query [n_q_heads, head_dim] -> kept positions | |
| ``` | |
| `from_pretrained` downloads only the requested folder. The fast inference runtime (prefix cache + | |
| CUDA graph) is in the code repository. | |
| ## License | |
| Apache-2.0. The weights were trained on attention statistics of the backbone over ProCUA-SFT | |
| trajectories (CC BY 4.0, NVIDIA) and contain no ProCUA-SFT data. | |
| ## Citation | |
| ```bibtex | |
| @misc{sparsegui2026, | |
| title = {SparseGUI: Accelerating Long-Horizon GUI Agents with Learned Sparse Attention}, | |
| year = {2026}, | |
| eprint = {2612.02762}, | |
| archivePrefix = {arXiv}, | |
| url = {https://arxiv.org/abs/2612.02762} | |
| } | |
| ``` | |