lucidrains / memory-transformer-xl
A variant of Transformer-XL where the memory is updated not with a queue, but with attention
☆48Updated 4 years ago
Alternatives and similar repositories for memory-transformer-xl:
Users that are interested in memory-transformer-xl are comparing it to the libraries listed below
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆115Updated 4 years ago
- Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch☆73Updated 2 years ago
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆48Updated 3 years ago
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆60Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Official code repository of the paper Learning Associative Inference Using Fast Weight Memory by Schlag et al.☆27Updated 4 years ago
- The official repository for our paper "The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization".☆33Updated 3 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 2 years ago
- ☆44Updated 4 years ago
- The official repository for our paper "The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers". We s…☆67Updated 2 years ago
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Updated 2 years ago
- An implementation of Transformer with Expire-Span, a circuit for learning which memories to retain☆33Updated 4 years ago
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated last year
- Hard-Coded Gaussian Attention for Neural Machine Translation☆36Updated last year
- Code for the paper "Query-Key Normalization for Transformers"☆38Updated 4 years ago
- Efficient Transformers with Dynamic Token Pooling☆60Updated last year
- FairSeq repo with Apollo optimizer☆112Updated last year
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆78Updated 8 months ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆156Updated 3 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆80Updated 3 years ago
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆70Updated last year
- A PyTorch Implementation of the Luna: Linear Unified Nested Attention☆41Updated 3 years ago
- GPT, but made only out of MLPs☆88Updated 3 years ago
- ☆51Updated 2 years ago
- ☆33Updated 3 years ago
- Implementation of COCO-LM, Correcting and Contrasting Text Sequences for Language Model Pretraining, in Pytorch☆45Updated 4 years ago
- ☆23Updated 4 years ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 11 months ago
- ☆14Updated 2 years ago