santient / sparse-transformerLinks
Sparse Transformer with limited attention span in PyTorch
☆15Updated 4 years ago
Alternatives and similar repositories for sparse-transformer
Users that are interested in sparse-transformer are comparing it to the libraries listed below
Sorting:
- Implementing SYNTHESIZER: Rethinking Self-Attention in Transformer Models using Pytorch☆71Updated 5 years ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆198Updated 3 years ago
- PyTorch implementation of Pay Attention to MLPs☆40Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Multi-head attention in PyTorch☆156Updated 6 years ago
- Sparse Attention with Linear Units☆20Updated 4 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆120Updated 4 years ago
- Graph neural network message passing reframed as a Transformer with local attention☆70Updated 3 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆77Updated 3 years ago
- Implementation of Linformer for Pytorch☆305Updated 2 years ago
- [ICML 2020] code for "PowerNorm: Rethinking Batch Normalization in Transformers" https://arxiv.org/abs/2003.07845☆120Updated 4 years ago
- Implementation of Mogrifier LSTM in PyTorch☆34Updated 5 years ago
- code for Explicit Sparse Transformer☆61Updated 2 years ago
- Implementation of RealFormer using pytorch☆101Updated 5 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆372Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆126Updated 5 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆261Updated 4 years ago
- Recent Advances in MLP-based Models (MLP is all you need!)☆116Updated 3 years ago
- ☆33Updated 4 years ago
- custom pytorch implementation of MoCo v3☆46Updated 4 years ago
- Pytorch implementation of Performer from the paper "Rethinking Attention with Performers".☆25Updated 5 years ago
- Reproducing the Linear Multihead Attention introduced in Linformer paper (Linformer: Self-Attention with Linear Complexity)☆75Updated 5 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆111Updated 4 years ago
- categorical variational autoencoder using the Gumbel-Softmax estimator☆27Updated 6 years ago
- Unofficial PyTorch implementation of the paper "cosFormer: Rethinking Softmax In Attention".☆44Updated 4 years ago
- Code for "Understanding and Improving Layer Normalization"☆46Updated 6 years ago
- Implementation of Fast Transformer in Pytorch☆176Updated 4 years ago
- Fully featured implementation of Routing Transformer☆300Updated 4 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆171Updated 4 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆153Updated 2 years ago