rish-16 / aft-pytorchLinks
Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.
☆238Updated 3 years ago
Alternatives and similar repositories for aft-pytorch
Users that are interested in aft-pytorch are comparing it to the libraries listed below
Sorting:
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆427Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆175Updated 3 years ago
- Fully featured implementation of Routing Transformer☆296Updated 3 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆134Updated 3 years ago
- Implementation of Linformer for Pytorch☆292Updated last year
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆162Updated last year
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- ☆376Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆486Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆416Updated 2 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆265Updated 3 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆143Updated 2 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆227Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆162Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 4 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated 2 years ago
- Implementation of ResMLP, an all MLP solution to image classification, in Pytorch☆198Updated 2 years ago
- Sequence modeling with Mega.☆296Updated 2 years ago
- Collection of the latest, greatest, deep learning optimizers (for Pytorch) - CNN, NLP suitable☆215Updated 4 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 2 years ago
- Axial Positional Embedding for Pytorch☆83Updated 4 months ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆120Updated 4 years ago
- GPT, but made only out of MLPs☆89Updated 4 years ago
- Ranger deep learning optimizer rewrite to use newest components☆333Updated last year
- ☆163Updated 2 years ago
- Adaptive Gradient Clipping☆135Updated 2 years ago