lucidrains / local-attentionLinks
An implementation of local windowed attention for language modeling
☆454Updated 5 months ago
Alternatives and similar repositories for local-attention
Users that are interested in local-attention are comparing it to the libraries listed below
Sorting:
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆775Updated last year
- Implementation of Linformer for Pytorch☆288Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆694Updated 6 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- Sequence modeling with Mega.☆296Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆364Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,132Updated 3 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆341Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆757Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆766Updated last year
- Fully featured implementation of Routing Transformer☆295Updated 3 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆219Updated 10 months ago
- [ICLR 2022] Official implementation of cosformer-attention in cosFormer: Rethinking Softmax in Attention☆193Updated 2 years ago
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆477Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆535Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- My take on a practical implementation of Linformer for Pytorch.☆414Updated 2 years ago
- Pytorch library for fast transformer implementations☆1,718Updated 2 years ago
- An implementation of the efficient attention module.☆317Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention