idiap / fast-transformers
Pytorch library for fast transformer implementations
☆1,701Updated 2 years ago
Alternatives and similar repositories for fast-transformers:
Users that are interested in fast-transformers are comparing it to the libraries listed below
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,126Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆763Updated last year
- Reformer, the efficient Transformer, in Pytorch☆2,164Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆751Updated last year
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,138Updated last year
- Longformer: The Long-Document Transformer☆2,118Updated 2 years ago
- An All-MLP solution for Vision, from Google AI☆1,020Updated 7 months ago
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- Examples of using sparse attention, as in "Generating Long Sequences with Sparse Transformers"☆1,569Updated 4 years ago
- An implementation of local windowed attention for language modeling☆445Updated 3 months ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Structured state space sequence models☆2,620Updated 9 months ago
- Profiling and inspecting memory in pytorch☆1,056Updated 9 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆672Updated 5 months ago
- list of efficient attention modules☆1,003Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆607Updated 9 months ago
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,100Updated last year
- Implementation of LambdaNetworks, a new approach to image recognition that reaches SOTA with less compute☆1,531Updated 4 years ago
- Usable Implementation of "Bootstrap Your Own Latent" self-supervised learning, from Deepmind, in Pytorch☆1,815Updated 9 months ago
- Hopfield Networks is All You Need☆1,796Updated 2 years ago
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆582Updated 6 months ago
- Pytorch Lightning code guideline for conferences☆1,262Updated last year
- PyTorch implementation of Contrastive Learning methods☆1,979Updated last year
- Rotary Transformer☆941Updated 3 years ago
- Source code for "On the Relationship between Self-Attention and Convolutional Layers"☆1,099Updated 2 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆425Updated 3 years ago
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Standalone TFRecord reader/writer with PyTorch data loaders☆883Updated 8 months ago
- PyTorch Extension Library of Optimized Autograd Sparse Matrix Operations☆1,057Updated 3 weeks ago