shawntan / stickbreaking-attentionLinks
Stick-breaking attention
☆57Updated last week
Alternatives and similar repositories for stickbreaking-attention
Users that are interested in stickbreaking-attention are comparing it to the libraries listed below
Sorting:
- ☆32Updated last year
- ☆76Updated 3 months ago
- The official implementation for Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free☆44Updated last month
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆74Updated 7 months ago
- ☆48Updated last year
- ☆53Updated last year
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆108Updated last month
- ☆55Updated 11 months ago
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆88Updated last month
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆51Updated 6 months ago
- ☆85Updated last year
- [ICLR 2025] Code for the paper "Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planning"☆64Updated 4 months ago
- ☆51Updated 3 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆85Updated 2 months ago
- Fast and memory-efficient exact attention☆68Updated 3 months ago
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated 11 months ago
- "Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding" Zhenyu Zhang, Runjin Chen, Shiw…☆29Updated last year
- Here we will test various linear attention designs.☆59Updated last year
- Code for "Reasoning to Learn from Latent Thoughts"☆104Updated 2 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆65Updated last year
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆70Updated last week
- ☆96Updated 8 months ago
- ☆79Updated 10 months ago
- Language models scale reliably with over-training and on downstream tasks☆97Updated last year
- ☆36Updated 2 months ago
- [ICLR 2025] When Attention Sink Emerges in Language Models: An Empirical View (Spotlight)☆88Updated 8 months ago
- Using FlexAttention to compute attention with different masking patterns☆43Updated 9 months ago
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆108Updated 9 months ago
- Long Context Extension and Generalization in LLMs☆57Updated 9 months ago