idiap / fast-transformers
Pytorch library for fast transformer implementations
☆1,643Updated last year
Related projects ⓘ
Alternatives and complementary repositories for fast-transformers
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,098Updated 2 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆698Updated 6 months ago
- Reformer, the efficient Transformer, in Pytorch☆2,121Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆729Updated 11 months ago
- My take on a practical implementation of Linformer for Pytorch.☆407Updated 2 years ago
- Longformer: The Long-Document Transformer☆2,047Updated last year
- Examples of using sparse attention, as in "Generating Long Sequences with Sparse Transformers"☆1,524Updated 4 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,097Updated last year
- DeLighT: Very Deep and Light-Weight Transformers☆467Updated 4 years ago
- Profiling and inspecting memory in pytorch☆1,020Updated 3 months ago
- Fully featured implementation of Routing Transformer☆284Updated 3 years ago
- torch-optimizer -- collection of optimizers for Pytorch☆3,043Updated 7 months ago
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆983Updated 7 months ago
- An implementation of local windowed attention for language modeling☆384Updated 2 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆571Updated last week
- [ICLR 2020] Lite Transformer with Long-Short Range Attention☆598Updated 4 months ago
- An All-MLP solution for Vision, from Google AI☆1,003Updated 2 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆642Updated last year
- Structured state space sequence models☆2,470Updated 4 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆507Updated last year
- Implementation of Linformer for Pytorch☆257Updated 10 months ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆253Updated 3 years ago
- higher is a pytorch library allowing users to obtain higher order gradients over losses spanning training loops rather than individual tr…☆1,593Updated 2 years ago
- Fast, general, and tested differentiable structured prediction in PyTorch☆1,108Updated 2 years ago
- Implementation of ConvMixer for "Patches Are All You Need? 🤷"☆1,062Updated 2 years ago
- ☆3,612Updated 2 years ago
- Flexible components pairing 🤗 Transformers with Pytorch Lightning☆611Updated last year
- Implementation of https://arxiv.org/abs/1904.00962☆369Updated 3 years ago
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆425Updated 3 years ago
- ☆365Updated last year