lucidrains / FLASH-pytorchLinks
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆364Updated 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☆193Updated 2 years ago
- Implementation of Linformer for Pytorch☆288Updated last year
- ☆879Updated last year
- Rotary Transformer☆971Updated 3 years ago
- An implementation of local windowed attention for language modeling☆454Updated 5 months ago
- ☆191Updated last year
- RoFormer V1 & V2 pytorch☆501Updated 3 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆535Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆777Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 2 years ago
- The pure and clear PyTorch Distributed Training Framework.☆276Updated last year
- 基于Gated Attention Unit的Transformer模型(尝鲜版)☆98Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆694Updated 6 months ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 4 years ago
- Implement the paper "Self-Attention with Relative Position Representations"☆133Updated 4 years ago
- An implementation of the efficient attention module.☆317Updated 4 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆766Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- About Code release for "Flowformer: Linearizing Transformers with Conservation Flows" (ICML 2022), https://arxiv.org/pdf/2202.06258.pdf☆324Updated 11 months ago
- Sequence modeling with Mega.☆296Updated 2 years ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆170Updated last year
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆195Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆175Updated 3 years ago
- Fully featured implementation of Routing Transformer☆295Updated 3 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆237Updated 3 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆165Updated 4 years ago
- Implementation of "Attention Is Off By One" by Evan Miller☆193Updated last year
- Implementation of gMLP, an all-MLP replacement for Transformers, in Pytorch☆426Updated 3 years ago