lucidrains / sinkhorn-transformer
Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention
☆255Updated 3 years ago
Alternatives and similar repositories for sinkhorn-transformer:
Users that are interested in sinkhorn-transformer are comparing it to the libraries listed below
- Fully featured implementation of Routing Transformer☆287Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- My take on a practical implementation of Linformer for Pytorch.☆408Updated 2 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆370Updated 4 years ago
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆216Updated last year
- ☆364Updated last year
- Implementation of Linformer for Pytorch☆257Updated 11 months ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆407Updated 4 months ago
- Implementation of Sparsemax activation in Pytorch☆156Updated 4 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆707Updated 7 months ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆119Updated 3 years ago
- Understanding the Difficulty of Training Transformers☆327Updated 2 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- Implementation for the Lookahead Optimizer.☆240Updated 2 years ago
- ☆213Updated 4 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆100Updated 3 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- An implementation of local windowed attention for language modeling☆393Updated 3 months ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆150Updated last year
- Sequence modeling with Mega.☆298Updated last year
- Implementation of Fast Transformer in Pytorch☆172Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆735Updated last year
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆418Updated 5 months ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆155Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆254Updated 3 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆163Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆156Updated 10 months ago
- Pytorch implementation of the hamburger module from the ICLR 2021 paper "Is Attention Better Than Matrix Decomposition"☆98Updated 3 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,102Updated 2 years ago