lucidrains / rotary-embedding-torch
Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆639Updated 2 months ago
Alternatives and similar repositories for rotary-embedding-torch:
Users that are interested in rotary-embedding-torch are comparing it to the libraries listed below
- An implementation of local windowed attention for language modeling☆420Updated last month
- Helpful tools and examples for working with flex-attention☆647Updated this week
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- Annotated version of the Mamba paper☆473Updated 11 months ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆560Updated 2 months ago
- Implementation of Linformer for Pytorch☆266Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆738Updated 9 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆515Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆306Updated 8 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆502Updated 3 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆514Updated last week
- Neighborhood Attention Extension. Bringing attention to a neighborhood near you!☆406Updated 3 weeks ago
- Implementation of https://srush.github.io/annotated-s4☆483Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,114Updated 3 years ago
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆283Updated 2 months ago
- Implementation of the proposed minGRU in Pytorch☆279Updated last week
- Implementation of Block Recurrent Transformer - Pytorch☆218Updated 6 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆405Updated last month
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,120Updated last year
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆296Updated last month
- Pytorch library for fast transformer implementations☆1,679Updated last year
- [ICML 2024 Best Paper] Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution (https://arxiv.org/abs/2310.16834)☆475Updated 11 months ago
- Sequence modeling with Mega.☆298Updated 2 years ago
- Rotary Transformer☆895Updated 2 years ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆547Updated last month
- 🚀 Efficient implementations of state-of-the-art linear attention models in Torch and Triton☆1,926Updated this week
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆774Updated 7 months ago
- Long Range Arena for Benchmarking Efficient Transformers☆745Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆692Updated last year
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆273Updated 3 months ago