lucidrains / fast-transformer-pytorch
Implementation of Fast Transformer in Pytorch
☆173Updated 3 years ago
Alternatives and similar repositories for fast-transformer-pytorch:
Users that are interested in fast-transformer-pytorch are comparing it to the libraries listed below
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Axial Positional Embedding for Pytorch☆76Updated last month
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆134Updated 3 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 2 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 fused cosine similarity attention in the same style as Flash Attention☆212Updated 2 years ago
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Updated 2 years ago
- Unofficial PyTorch Implementation for pNLP-Mixer: an Efficient all-MLP Architecture for Language (https://arxiv.org/abs/2202.04350)☆63Updated 3 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- GPT, but made only out of MLPs☆88Updated 3 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆129Updated last year
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆119Updated 3 years ago
- Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch☆73Updated 2 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆86Updated 3 years ago
- A GPT, made only of MLPs, in Jax☆57Updated 3 years ago
- Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch☆59Updated 4 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆160Updated last year
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆115Updated 4 years ago
- Implementation of Online Label Smoothing in PyTorch☆94Updated 2 years ago
- A pytorch &keras implementation and demo of Fastformer.☆187Updated 2 years ago
- Implementation of RealFormer using pytorch☆101Updated 4 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- Relative Positional Encoding for Transformers with Linear Complexity☆62Updated 2 years ago
- Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch☆89Updated 3 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago