bdusell / stack-attentionLinks
Code for the paper "Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns"
☆18Updated 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:
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weights☆19Updated 3 years ago
- ☆20Updated last year
- ☆32Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆46Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- Official code for "Accelerating Feedforward Computation via Parallel Nonlinear Equation Solving", ICML 2021☆28Updated 4 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 7 months ago
- Source-to-Source Debuggable Derivatives in Pure Python☆15Updated last year
- ☆24Updated last year
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated 5 months ago
- Code for the paper: https://arxiv.org/pdf/2309.06979.pdf☆21Updated last year
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12Updated 2 years ago
- Open-sourcing code associated with the AAAI-25 paper "On the Expressiveness and Length Generalization of Selective State-Space Models on …☆15Updated 2 months ago
- ☆11Updated 2 years ago
- Parallel Associative Scan for Language Models☆18Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated last year
- Official Code Repository for the paper "Key-value memory in the brain"☆31Updated 9 months ago
- Blog post☆17Updated last year
- ☆29Updated last year
- Official Repository for Efficient Linear-Time Attention Transformers.☆18Updated last year
- ☆14Updated 3 years ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated 2 years ago
- Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces, NeurIPS 2021☆13Updated 3 years ago
- FlexAttention w/ FlashAttention3 Support☆27Updated last year
- Efficient PScan implementation in PyTorch☆17Updated last year
- ☆22Updated 4 years ago
- ☆27Updated 2 months ago
- Virtual Adversarial Training (VAT) techniques in PyTorch☆17Updated 3 years ago
- [ICML 2023] "Data Efficient Neural Scaling Law via Model Reusing" by Peihao Wang, Rameswar Panda, Zhangyang Wang☆14Updated last year