lucidrains / compressive-transformer-pytorch
Pytorch implementation of Compressive Transformers, from Deepmind
☆155Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for compressive-transformer-pytorch
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆106Updated 4 years ago
- Implementation of Feedback Transformer in Pytorch☆104Updated 3 years ago
- Fully featured implementation of Routing Transformer☆284Updated 3 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆79Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆100Updated 3 years ago
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆46Updated 4 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆141Updated 2 years ago
- Fast Discounted Cumulative Sums in PyTorch☆95Updated 3 years ago
- GPT, but made only out of MLPs☆87Updated 3 years ago
- FairSeq repo with Apollo optimizer☆107Updated 11 months ago
- Sequence modeling with Mega.☆298Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- The official repository for our paper "The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers". We s…☆66Updated last year
- Code for the ICML'20 paper "Improving Transformer Optimization Through Better Initialization"☆89Updated 3 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆95Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆222Updated 2 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆151Updated last year
- ☆77Updated 3 months ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆177Updated last year
- Implementation of Hierarchical Transformer Memory (HTM) for Pytorch☆72Updated 3 years ago
- A minimal PyTorch Lightning OpenAI GPT w DeepSpeed Training!☆110Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆254Updated 3 years ago
- Code for the paper, "Distribution Augmentation for Generative Modeling", ICML 2020.☆121Updated last year
- ☆72Updated 3 years ago
- Code to reproduce the results for Compositional Attention☆60Updated 2 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆116Updated 3 years ago
- An attempt at the implementation of Glom, Geoffrey Hinton's new idea that integrates concepts from neural fields, top-down-bottom-up proc…☆193Updated 3 years ago
- Implementation of Linformer for Pytorch☆257Updated 10 months ago
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆73Updated 3 months ago