lucidrains / FLASH-pytorchLinks
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆369Updated 2 years ago
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
- Implementation of Linformer for Pytorch☆299Updated last year
- An implementation of local windowed attention for language modeling☆483Updated 3 months ago
- Implement the paper "Self-Attention with Relative Position Representations"☆139Updated 4 years ago
- A pytorch &keras implementation and demo of Fastformer.☆190Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆801Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆420Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 2 years ago
- The pure and clear PyTorch Distributed Training Framework.☆274Updated last year
- Sequence modeling with Mega.☆300Updated 2 years ago
- Rotary Transformer☆1,039Updated 3 years ago
- ☆197Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆544Updated last year
- Implementation of "Attention Is Off By One" by Evan Miller☆196Updated 2 years ago
- ☆883Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆815Updated 2 years ago
- Root Mean Square Layer Normalization☆256Updated 2 years ago
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆197Updated 2 years ago
- An implementation of the efficient attention module.☆321Updated 4 years ago
- 基于Gated Attention Unit的Transformer模型(尝鲜版)☆98Updated 2 years ago
- (Unofficial) PyTorch implementation of grouped-query attention (GQA) from "GQA: Training Generalized Multi-Query Transformer Models from …☆181Updated last year
- Code release for "LogME: Practical Assessment of Pre-trained Models for Transfer Learning" (ICML 2021) and Ranking and Tuning Pre-trained…☆210Updated 2 years ago
- Implementation of Axial attention - attending to multi-dimensional data efficiently☆386Updated 4 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆243Updated 3 years ago
- Learning Rate Warmup in PyTorch☆413Updated 4 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆217Updated 2 years ago
- Fully featured implementation of Routing Transformer☆296Updated 3 years ago
- [ICML 2021 Oral] We show pure attention suffers rank collapse, and how different mechanisms combat it.☆166Updated 4 years ago