lucidrains / sinkhorn-transformer
Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention
☆256Updated 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☆288Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆409Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- Implementation of Sparsemax activation in Pytorch☆158Updated 4 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆372Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆327Updated 2 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆419Updated 6 months ago
- ☆367Updated last year
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆119Updated 3 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆151Updated last year
- Implementation of Linformer for Pytorch☆262Updated last year
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆216Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆724Updated 8 months ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆256Updated 3 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆468Updated 4 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆408Updated 5 months ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆163Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆101Updated 3 years ago
- ☆213Updated 4 years ago
- Open source code for paper "Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere" ICML 2…☆435Updated 2 years ago
- Sequence modeling with Mega.☆297Updated last year
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆250Updated 3 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆185Updated 2 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆483Updated 3 years ago
- An implementation of local windowed attention for language modeling☆403Updated this week
- Long Range Arena for Benchmarking Efficient Transformers☆739Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆155Updated 3 years ago
- ☆164Updated last year
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆107Updated 4 years ago