lucidrains / FLASH-pytorchLinks
Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"
☆372Updated 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☆198Updated 3 years ago
- Implementation of Linformer for Pytorch☆306Updated 2 years ago
- An implementation of local windowed attention for language modeling☆495Updated 6 months ago
- Implement the paper "Self-Attention with Relative Position Representations"☆139Updated 5 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- A pytorch &keras implementation and demo of Fastformer.☆191Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆825Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆549Updated 2 years ago
- My take on a practical implementation of Linformer for Pytorch.☆422Updated 3 years ago
- ☆880Updated last year
- ☆201Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆261Updated 4 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆390Updated 2 years ago
- Root Mean Square Layer Normalization☆261Updated 2 years ago
- 基于Gated Attention Unit的Transformer模型(尝鲜版)☆98Updated 2 years ago
- Sequence modeling with Mega.☆303Updated 3 years ago
- Implementation of "Attention Is Off By One" by Evan Miller☆198Updated 2 years ago
- Fully featured implementation of Routing Transformer☆300Updated 4 years ago
- ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models☆339Updated last year
- [ACL 2022] Structured Pruning Learns Compact and Accurate Models https://arxiv.org/abs/2204.00408☆198Updated 2 years ago
- The pure and clear PyTorch Distributed Training Framework.☆275Updated 2 years ago
- About Code release for "Flowformer: Linearizing Transformers with Conservation Flows" (ICML 2022), https://arxiv.org/pdf/2202.06258.pdf☆331Updated last year
- [ICLR 2024]EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling(https://arxiv.org/abs/2310.04691)☆128Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆846Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆220Updated 2 years ago
- An implementation of the efficient attention module.☆328Updated 5 years ago
- Lion and Adam optimization comparison☆64Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆796Updated 6 months ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆64Updated 2 years ago
- Official implementation of TransNormerLLM: A Faster and Better LLM☆249Updated 2 years ago