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:
- ☆20Updated last year
- 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 8 months ago
- ☆11Updated 2 years ago
- ☆32Updated 2 years ago
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weights☆19Updated 3 years ago
- Source-to-Source Debuggable Derivatives in Pure Python☆15Updated last year
- ☆24Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆47Updated last year
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated 7 months ago
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated last year
- Open-sourcing code associated with the AAAI-25 paper "On the Expressiveness and Length Generalization of Selective State-Space Models on …☆15Updated 4 months ago
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12Updated 2 years ago
- Official code for "Accelerating Feedforward Computation via Parallel Nonlinear Equation Solving", ICML 2021☆29Updated 4 years ago
- HyPe: Better Pre-trained Language Model Fine-tuning with Hidden Representation Perturbation [ACL 2023]☆14Updated 2 years ago
- Expanding linear RNN state-transition matrix eigenvalues to include negatives improves state-tracking tasks and language modeling without…☆18Updated 10 months ago
- Code for the paper: https://arxiv.org/pdf/2309.06979.pdf☆21Updated last year
- Official Code Repository for the paper "Key-value memory in the brain"☆31Updated 10 months ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated 2 years ago
- Code for "The Expressive Power of Low-Rank Adaptation".☆20Updated last year
- Official Repository for Efficient Linear-Time Attention Transformers.☆18Updated last year
- Companion repository to "Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models"☆14Updated 2 years ago
- Code and data for paper "(How) do Language Models Track State?"☆21Updated 9 months ago
- Blog post☆17Updated last year
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- Leveraging Recursive Gumbel-Max Trick for Approximate Inference in Combinatorial Spaces, NeurIPS 2021☆13Updated 4 years ago
- Efficient PScan implementation in PyTorch☆17Updated 2 years ago
- Combining SOAP and MUON☆17Updated 11 months ago