cloneofsimo / realformer-pytorch
Implementation of RealFormer using pytorch
☆102Updated 3 years ago
Related projects: ⓘ
- Implements Reformer: The Efficient Transformer in pytorch.☆83Updated 4 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆116Updated 3 years ago
- A PyTorch implementation of the paper - "Synthesizer: Rethinking Self-Attention in Transformer Models"☆70Updated last year
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆70Updated 4 years ago
- Official code for Group-Transformer (Scale down Transformer by Grouping Features for a Lightweight Character-level Language Model, COLING…☆25Updated 3 years ago
- Code for "Understanding and Improving Layer Normalization"☆44Updated 4 years ago
- A PyTorch implementation of Transformer in "Attention is All You Need"☆103Updated 3 years ago
- FlatNCE: A Novel Contrastive Representation Learning Objective☆83Updated 2 years ago
- Unofficial Pytorch implementation of MiniLM and MiniLMv2☆19Updated 2 years ago
- Code for text augmentation method leveraging large-scale language models☆60Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆171Updated 3 years ago
- Implementation of Mixout with PyTorch☆73Updated last year
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆45Updated 4 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆148Updated last year
- ☆83Updated 4 years ago
- PyTorch implementation of Pay Attention to MLPs☆39Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆106Updated 3 years ago
- Code for the paper "Are Sixteen Heads Really Better than One?"☆165Updated 4 years ago
- DisCo Transformer for Non-autoregressive MT☆78Updated 2 years ago
- Axial Positional Embedding for Pytorch☆61Updated 3 years ago
- ☆211Updated 4 years ago
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆72Updated last year
- Cascaded Text Generation with Markov Transformers☆126Updated last year
- Official Pytorch Implementation of Length-Adaptive Transformer (ACL 2021)☆100Updated 3 years ago
- code for Explicit Sparse Transformer☆57Updated last year
- FairSeq repo with Apollo optimizer☆108Updated 8 months ago
- Code for the ICML'20 paper "Improving Transformer Optimization Through Better Initialization"☆89Updated 3 years ago
- Implementation of the retriever distillation procedure as outlined in the paper "Distilling Knowledge from Reader to Retriever"☆32Updated 3 years ago
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆58Updated 2 years ago
- ☆61Updated 3 years ago