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:
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weights☆19Updated 3 years ago
- ☆31Updated last year
- ☆20Updated last year
- ☆11Updated 2 years ago
- Official code for the paper "Attention as a Hypernetwork"☆44Updated last year
- Curse-of-memory phenomenon of RNNs in sequence modelling☆18Updated 5 months ago
- ☆23Updated last year
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆39Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated 4 months ago
- Open-sourcing code associated with the AAAI-25 paper "On the Expressiveness and Length Generalization of Selective State-Space Models on …☆15Updated last month
- Official code for "Accelerating Feedforward Computation via Parallel Nonlinear Equation Solving", ICML 2021☆28Updated 4 years ago
- ☆27Updated 3 weeks ago
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12Updated 2 years ago
- Virtual Adversarial Training (VAT) techniques in PyTorch☆17Updated 3 years ago
- Code for the paper: https://arxiv.org/pdf/2309.06979.pdf☆21Updated last year
- Code and data for paper "(How) do Language Models Track State?"☆20Updated 6 months ago
- Official Repository for Efficient Linear-Time Attention Transformers.☆18Updated last year
- Here we will test various linear attention designs.☆61Updated last year
- Efficient PScan implementation in PyTorch☆16Updated last year
- Source-to-Source Debuggable Derivatives in Pure Python☆15Updated last year
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- Parallel Associative Scan for Language Models☆17Updated last year
- Xmixers: A collection of SOTA efficient token/channel mixers☆29Updated last month
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated last year
- [ICML 2023] "Data Efficient Neural Scaling Law via Model Reusing" by Peihao Wang, Rameswar Panda, Zhangyang Wang☆14Updated last year
- [EMNLP 2023] Official implementation of the algorithm ETSC: Exact Toeplitz-to-SSM Conversion our EMNLP 2023 paper - Accelerating Toeplitz…☆14Updated 2 years ago
- Official Code Repository for the paper "Key-value memory in the brain"☆29Updated 8 months ago