lucidrains / sinkhorn-transformerLinks
Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention
☆265Updated 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
Sorting:
- Fully featured implementation of Routing Transformer☆296Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆416Updated 2 years ago
- ☆376Updated last year
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆225Updated last year
- Implementation of Sparsemax activation in Pytorch☆161Updated 5 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆469Updated 4 years ago
- Understanding the Difficulty of Training Transformers☆329Updated 3 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆165Updated 4 years ago
- The entmax mapping and its loss, a family of sparse softmax alternatives.☆441Updated last year
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated 2 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆376Updated 4 years ago
- ☆218Updated 5 years ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆120Updated 4 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆486Updated 4 years ago
- Implementation of Linformer for Pytorch☆290Updated last year
- Efficient reservoir sampling implementation for PyTorch☆106Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 4 years ago
- Official PyTorch Repo for "ReZero is All You Need: Fast Convergence at Large Depth"☆409Updated 11 months ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆427Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆161Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆784Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆162Updated 3 years ago
- Transformer with Untied Positional Encoding (TUPE). Code of paper "Rethinking Positional Encoding in Language Pre-training". Improve exis…☆251Updated 3 years ago
- Implementation for the Lookahead Optimizer.☆241Updated 3 years ago
- Open source code for paper "Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere" ICML 2…☆448Updated 2 years ago
- LEARNING LATENT PERMUTATIONS WITH GUMBEL-SINKHORN NETWORKS IMPLEMENTATION WITH PYTORCH☆79Updated 2 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆194Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago