lucidrains / FLASH-pytorchLinks
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆366Updated last year
Alternatives and similar repositories for FLASH-pytorch
Users that are interested in FLASH-pytorch are comparing it to the libraries listed below
Sorting:
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆194Updated 2 years ago
- An implementation of local windowed attention for language modeling☆460Updated 5 months ago
- Implementation of Linformer for Pytorch☆290Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆784Updated last year
- Implement the paper "Self-Attention with Relative Position Representations"☆135Updated 4 years ago
- Rotary Transformer☆979Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆536Updated last year
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 2 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆776Updated last year
- ☆195Updated last year
- The pure and clear PyTorch Distributed Training Framework.☆276Updated last year
- Root Mean Square Layer Normalization☆245Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆708Updated last week
- My take on a practical implementation of Linformer for Pytorch.☆416Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- Sequence modeling with Mega.☆296Updated 2 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆196Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆312Updated last year
- ☆654Updated 2 weeks ago
- Implementation of "Attention Is Off By One" by Evan Miller☆193Updated last year
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,134Updated last year
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆171Updated last year
- Simple tutorials on Pytorch DDP training☆281Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- Fully featured implementation of Routing Transformer☆296Updated 3 years ago
- [ICLR 2024]EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling(https://arxiv.org/abs/2310.04691)☆123Updated last year
- Learning Rate Warmup in PyTorch☆411Updated 3 weeks ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆238Updated 3 years ago