lucidrains / sinkhorn-transformerLinks
Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention
☆269Updated 4 years ago
Alternatives and similar repositories for sinkhorn-transformer
Users that are interested in sinkhorn-transformer are comparing it to the libraries listed below
Sorting:
- Fully featured implementation of Routing Transformer☆298Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆421Updated 3 years ago
- Implementation of Sparsemax activation in Pytorch☆166Updated 5 years ago
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆229Updated last year
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆453Updated last year
- ☆387Updated 2 years ago
- Understanding the Difficulty of Training Transformers☆332Updated 3 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆169Updated 4 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆377Updated 5 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆153Updated 2 years ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆120Updated 4 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆468Updated 5 years ago
- Efficient reservoir sampling implementation for PyTorch☆107Updated 4 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆483Updated 4 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆163Updated 4 years ago
- ☆219Updated 5 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆120Updated 4 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆196Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆110Updated 4 years ago
- Implementation of Linformer for Pytorch☆302Updated last year
- Code for the ICML'20 paper "Improving Transformer Optimization Through Better Initialization"☆89Updated 4 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆429Updated 4 years ago
- Apollo: An Adaptive Parameter-wise Diagonal Quasi-Newton Method for Nonconvex Stochastic Optimization☆182Updated 4 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆253Updated 4 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆166Updated last year
- Pytorch implementation of the hamburger module from the ICLR 2021 paper "Is Attention Better Than Matrix Decomposition"☆99Updated 4 years ago
- Implementation for the Lookahead Optimizer.☆243Updated 3 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆416Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 4 years ago