lucidrains / compressive-transformer-pytorch
Pytorch implementation of Compressive Transformers, from Deepmind
☆157Updated 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 Memformer, a Memory-augmented Transformer, in Pytorch☆115Updated 4 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆80Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 3 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- 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 Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Code to reproduce the results for Compositional Attention☆60Updated 2 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆142Updated 2 years ago
- Implementation of Hierarchical Transformer Memory (HTM) for Pytorch☆73Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- ☆74Updated 4 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆70Updated 2 years ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆180Updated last year
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆151Updated last year
- FairSeq repo with Apollo optimizer☆114Updated last year
- GPT, but made only out of MLPs☆88Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆329Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 8 months ago
- Implementation of Linformer for Pytorch☆282Updated last year
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆226Updated last year