lucidrains / sinkhorn-transformer
Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention
☆260Updated 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☆293Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆413Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆223Updated last year
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆432Updated 9 months ago
- Implementation of Sparsemax activation in Pytorch☆159Updated 4 years ago
- ☆376Updated last year
- Implementation of https://arxiv.org/abs/1904.00962☆374Updated 4 years ago
- ☆218Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆329Updated 2 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆251Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆755Updated 11 months ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- Fast Block Sparse Matrices for Pytorch☆545Updated 4 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆164Updated 4 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆425Updated 3 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆407Updated 8 months ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆119Updated 3 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆484Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆104Updated 3 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆750Updated last year
- Implementation of Linformer for Pytorch☆278Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,120Updated 3 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆190Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Experimental ground for optimizing memory of pytorch models☆365Updated 6 years ago