bdusell / stack-attentionLinks
Code for the paper "Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns"
☆17Updated last year
Alternatives and similar repositories for stack-attention
Users that are interested in stack-attention are comparing it to the libraries listed below
Sorting:
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 2 months ago
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weights☆19Updated 2 years ago
- ☆32Updated last year
- ☆20Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12Updated 2 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated 10 months ago
- [ICLR'25] "Understanding Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing" by Peihao Wang, Ruisi Cai, Yue…☆13Updated 3 months ago
- ☆23Updated 9 months ago
- Official code for the paper "Attention as a Hypernetwork"☆40Updated last year
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated last month
- Combining SOAP and MUON☆16Updated 5 months ago
- Efficient Scaling laws and collaborative pretraining.☆16Updated 5 months ago
- Official code for "Accelerating Feedforward Computation via Parallel Nonlinear Equation Solving", ICML 2021☆27Updated 3 years ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆37Updated last year
- ☆11Updated last year
- Official repository for the paper "Exploring the Promise and Limits of Real-Time Recurrent Learning" (ICLR 2024)☆11Updated last month
- HyPe: Better Pre-trained Language Model Fine-tuning with Hidden Representation Perturbation [ACL 2023]☆14Updated 2 years ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated last week
- ☆32Updated last year
- Source-to-Source Debuggable Derivatives in Pure Python☆15Updated last year
- Code and data for paper "(How) do Language Models Track State?"☆14Updated 3 months ago
- ☆22Updated 3 years ago
- ☆27Updated last year
- ☆20Updated 2 years ago
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated last year
- Official Repository for Efficient Linear-Time Attention Transformers.☆18Updated last year
- Implementation of the model "Hedgehog" from the paper: "The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicry"☆14Updated last year
- Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces, NeurIPS 2021☆13Updated 3 years ago