lucidrains / memformer
Implementation of Memformer, a Memory-augmented Transformer, in Pytorch
☆111Updated 4 years ago
Alternatives and similar repositories for memformer:
Users that are interested in memformer are comparing it to the libraries listed below
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆97Updated last year
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆47Updated 4 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆155Updated 3 years ago
- Efficient Transformers with Dynamic Token Pooling☆58Updated last year
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆60Updated 2 years ago
- FairSeq repo with Apollo optimizer☆110Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆80Updated 3 years ago
- ☆127Updated 2 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 Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆70Updated last year
- Learning to Encode Position for Transformer with Continuous Dynamical Model☆59Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- PyTorch code for "Perceiver-VL: Efficient Vision-and-Language Modeling with Iterative Latent Attention" (WACV 2023)☆33Updated 2 years ago
- code for Explicit Sparse Transformer☆60Updated last year
- Code for the paper PermuteFormer☆42Updated 3 years ago
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆78Updated 9 months ago
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆48Updated 3 years ago
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated last year
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆78Updated 6 months ago
- ☆51Updated 2 years ago
- DiffusER: Discrete Diffusion via Edit-based Reconstruction (Reid, Hellendoorn & Neubig, 2022)☆54Updated last year
- The official repository for our paper "The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization".☆32Updated 3 years ago
- Code to reproduce the results for Compositional Attention☆60Updated 2 years ago
- ☆64Updated 5 months ago
- Language Quantized AutoEncoders☆99Updated 2 years ago
- ☆80Updated 6 months ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 3 years ago
- ☆33Updated 3 years ago
- Axial Positional Embedding for Pytorch☆69Updated last week