lucidrains / FLASH-pytorchLinks
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆369Updated 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☆196Updated 2 years ago
- An implementation of local windowed attention for language modeling☆475Updated last month
- Implementation of Linformer for Pytorch☆298Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆797Updated last year
- Implement the paper "Self-Attention with Relative Position Representations"☆138Updated 4 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆542Updated last year
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 2 years ago
- Rotary Transformer☆1,020Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆417Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆746Updated last month
- Sequence modeling with Mega.☆300Updated 2 years ago
- Implementation of "Attention Is Off By One" by Evan Miller☆196Updated 2 years ago
- ☆197Updated last year
- Root Mean Square Layer Normalization☆253Updated 2 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆803Updated 2 years ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆178Updated last year
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆166Updated 4 years ago
- ☆882Updated last year
- The pure and clear PyTorch Distributed Training Framework.☆274Updated last year
- RoFormer V1 & V2 pytorch☆510Updated 3 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆360Updated last year
- 基于Gated Attention Unit的Transformer模型(尝鲜版)☆98Updated 2 years ago
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆324Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆246Updated last year
- About Code release for "Flowformer: Linearizing Transformers with Conservation Flows" (ICML 2022), https://arxiv.org/pdf/2202.06258.pdf☆326Updated last year
- Rectified Rotary Position Embeddings☆381Updated last year
- An implementation of the efficient attention module.☆320Updated 4 years ago