lucidrains / rotary-embedding-torchLinks
Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆783Updated 4 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
Sorting:
- An implementation of local windowed attention for language modeling☆490Updated 5 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆818Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆629Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆388Updated 2 years ago
- Helpful tools and examples for working with flex-attention☆1,089Updated this week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆374Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆838Updated 2 years ago
- Implementation of Linformer for Pytorch☆303Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆547Updated 2 years ago
- Annotated version of the Mamba paper☆492Updated last year
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆580Updated 10 months ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆805Updated 6 months ago
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆501Updated last year
- Implementation of https://srush.github.io/annotated-s4☆509Updated 6 months ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆371Updated 2 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,185Updated 2 years ago
- Implementation of the proposed minGRU in Pytorch☆315Updated last week
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆612Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆223Updated last year
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆436Updated last month
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,169Updated 3 years ago
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,294Updated last year
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆427Updated last month
- Muon is an optimizer for hidden layers in neural networks☆2,116Updated last month
- Sequence modeling with Mega.☆302Updated 2 years ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆548Updated 7 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper☆790Updated 4 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆294Updated 6 months ago
- Rotary Transformer☆1,064Updated 3 years ago
- Pytorch library for fast transformer implementations☆1,755Updated 2 years ago