shawntan / stickbreaking-attention
Stick-breaking attention
☆50Updated last month
Alternatives and similar repositories for stickbreaking-attention:
Users that are interested in stickbreaking-attention are comparing it to the libraries listed below
- ☆51Updated 10 months ago
- ☆67Updated last month
- ☆31Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆26Updated 11 months ago
- [ICLR 2025] Code for the paper "Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planning"☆47Updated 2 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆71Updated 5 months ago
- ☆31Updated 5 months ago
- ☆46Updated last year
- ☆82Updated last year
- Here we will test various linear attention designs.☆60Updated 11 months ago
- ☆75Updated 7 months ago
- Using FlexAttention to compute attention with different masking patterns☆43Updated 6 months ago
- ☆53Updated 9 months ago
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆103Updated 7 months ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆50Updated 4 months ago
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆50Updated 2 weeks ago
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆89Updated this week
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆65Updated 8 months ago
- ☆25Updated last year
- ☆94Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 11 months ago
- ☆89Updated 6 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆59Updated 2 months ago
- Fast and memory-efficient exact attention☆67Updated last month
- ☆102Updated last year
- Language models scale reliably with over-training and on downstream tasks☆96Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated 9 months ago
- ☆43Updated last month
- ☆39Updated 3 weeks ago
- "Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding" Zhenyu Zhang, Runjin Chen, Shiw…☆29Updated 11 months ago