lucidrains / FLASH-pytorch
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆357Updated last year
Alternatives and similar repositories for FLASH-pytorch:
Users that are interested in FLASH-pytorch are comparing it to the libraries listed below
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆185Updated 2 years ago
- Rotary Transformer☆858Updated 2 years ago
- Implementation of Linformer for Pytorch☆262Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆668Updated last year
- An implementation of local windowed attention for language modeling☆403Updated this week
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆510Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆724Updated 8 months ago
- A pytorch &keras implementation and demo of Fastformer.☆188Updated 2 years ago
- Implement the paper "Self-Attention with Relative Position Representations"☆125Updated 4 years ago
- About Code release for "Flowformer: Linearizing Transformers with Conservation Flows" (ICML 2022), https://arxiv.org/pdf/2202.06258.pdf☆308Updated 6 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆609Updated last month
- ☆870Updated 7 months ago
- Sequence modeling with Mega.☆297Updated last year
- RoFormer V1 & V2 pytorch☆482Updated 2 years ago
- My take on a practical implementation of Linformer for Pytorch.☆409Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆256Updated 3 years ago
- Fully featured implementation of Routing Transformer☆288Updated 3 years ago
- ☆185Updated last year
- The pure and clear PyTorch Distributed Training Framework.☆275Updated 11 months ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆361Updated 3 years ago
- 基于Gated Attention Unit的Transformer模型(尝鲜版)☆97Updated last year
- An implementation of the efficient attention module.☆297Updated 4 years ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆769Updated 6 months ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆192Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆256Updated 3 years ago
- FLASHQuad_pytorch☆66Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,110Updated 2 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆163Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year