rish-16 / aft-pytorchLinks
Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.
☆245Updated 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:
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆261Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆132Updated 4 years ago
- Fully featured implementation of Routing Transformer☆300Updated 4 years ago
- Implementation of Fast Transformer in Pytorch☆176Updated 4 years ago
- ☆388Updated 2 years ago
- Implementation of Linformer for Pytorch☆305Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆167Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆120Updated 4 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆207Updated 2 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆485Updated 4 years ago
- Implementation of Feedback Transformer in Pytorch☆108Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆270Updated 4 years ago
- My take on a practical implementation of Linformer for Pytorch.☆422Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆430Updated 4 years ago
- Collection of the latest, greatest, deep learning optimizers (for Pytorch) - CNN, NLP suitable☆218Updated 4 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆145Updated 10 months ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆235Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆163Updated 4 years ago
- ☆163Updated 3 years ago
- GPT, but made only out of MLPs☆89Updated 4 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆111Updated 4 years ago
- PyTorch Implementation of OpenAI's Image GPT☆260Updated 2 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆143Updated 3 years ago
- Sequence modeling with Mega.☆303Updated 3 years ago
- Adaptive Gradient Clipping☆152Updated 3 years ago
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆150Updated 4 years ago
- Axial Positional Embedding for Pytorch☆84Updated 11 months ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆126Updated 5 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆171Updated 4 years ago