lucidrains / FLASH-pytorchLinks
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆368Updated 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☆470Updated 2 weeks ago
- Implementation of Linformer for Pytorch☆294Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆793Updated last year
- A pytorch &keras implementation and demo of Fastformer.☆189Updated 2 years ago
- Implement the paper "Self-Attention with Relative Position Representations"☆135Updated 4 years ago
- Rotary Transformer☆996Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- My take on a practical implementation of Linformer for Pytorch.☆417Updated 3 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆788Updated last year
- Implementation of "Attention Is Off By One" by Evan Miller☆193Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆538Updated last year
- 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
- Root Mean Square Layer Normalization☆247Updated 2 years ago
- ☆196Updated last year
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- 基于Gated Attention Unit的Transformer模型(尝鲜版)☆97Updated 2 years ago
- ☆881Updated last year
- Sequence modeling with Mega.☆296Updated 2 years ago
- An implementation of the efficient attention module.☆320Updated 4 years ago
- ☆656Updated last month
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆719Updated last week
- The pure and clear PyTorch Distributed Training Framework.☆275Updated last year
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆165Updated 4 years ago
- RoFormer V1 & V2 pytorch☆506Updated 3 years ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆173Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆352Updated last year
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆384Updated 3 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆196Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago