lucidrains / compressive-transformer-pytorch
Pytorch implementation of Compressive Transformers, from Deepmind
☆156Updated 3 years ago
Alternatives and similar repositories for compressive-transformer-pytorch:
Users that are interested in compressive-transformer-pytorch are comparing it to the libraries listed below
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆113Updated 4 years ago
- Fully featured implementation of Routing Transformer☆289Updated 3 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆80Updated 3 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆141Updated 2 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆103Updated 3 years ago
- Fast Discounted Cumulative Sums in PyTorch☆95Updated 3 years ago
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆48Updated 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 Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- Official codebase for Pretrained Transformers as Universal Computation Engines.☆246Updated 3 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆328Updated 2 years ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆178Updated last year
- Sequence modeling with Mega.☆295Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆260Updated 3 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆224Updated last year
- FairSeq repo with Apollo optimizer☆110Updated last year
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆70Updated last year
- Code to reproduce the results for Compositional Attention☆60Updated 2 years ago
- Implementation of Hierarchical Transformer Memory (HTM) for Pytorch☆72Updated 3 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 2 years ago
- A case study of efficient training of large language models using commodity hardware.☆68Updated 2 years ago
- GPT, but made only out of MLPs☆88Updated 3 years ago
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆78Updated 7 months ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- Code for the ICML'20 paper "Improving Transformer Optimization Through Better Initialization"☆88Updated 4 years ago