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:
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weights☆19Updated 2 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆20Updated last year
- ☆32Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- ☆11Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆40Updated last year
- Source-to-Source Debuggable Derivatives in Pure Python☆15Updated last year
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated last month
- Open-sourcing code associated with the AAAI-25 paper "On the Expressiveness and Length Generalization of Selective State-Space Models on …☆14Updated 3 months ago
- ☆23Updated 11 months ago
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12Updated 2 years ago
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 3 months ago
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated 2 months ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated last year
- Code for the paper: https://arxiv.org/pdf/2309.06979.pdf☆20Updated last year
- ☆27Updated last month
- Official code for "Accelerating Feedforward Computation via Parallel Nonlinear Equation Solving", ICML 2021☆27Updated 3 years ago
- Virtual Adversarial Training (VAT) techniques in PyTorch☆17Updated 3 years ago
- ☆14Updated 2 years ago
- Parallel Associative Scan for Language Models☆18Updated last year
- Using FlexAttention to compute attention with different masking patterns☆44Updated 11 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated last year
- ☆33Updated last year
- Code and data for paper "(How) do Language Models Track State?"☆17Updated 4 months 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
- Efficient PScan implementation in PyTorch☆16Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces, NeurIPS 2021☆13Updated 3 years ago