lucidrains / rotary-embedding-torchLinks
Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆788Updated 5 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☆492Updated 5 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆823Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆632Updated 3 weeks ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆389Updated 2 years ago
- Helpful tools and examples for working with flex-attention☆1,105Updated this week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆375Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆840Updated 2 years ago
- Annotated version of the Mamba paper☆493Updated last year
- Implementation of Linformer for Pytorch☆303Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆547Updated 2 years ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆581Updated 11 months ago
- Pytorch library for fast transformer implementations☆1,757Updated 2 years ago
- Implementation of https://srush.github.io/annotated-s4☆510Updated 6 months ago
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆504Updated 2 years ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,170Updated 3 years ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆806Updated 7 months ago
- A pytorch implementation of the vector quantized variational autoencoder (https://arxiv.org/abs/1711.00937)☆866Updated 3 years ago
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆614Updated last year
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆431Updated 2 months ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,183Updated last year
- Official PyTorch implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆1,300Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆223Updated last year
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper☆791Updated 4 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆549Updated 7 months ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆371Updated 2 years ago
- Implementation of Bit Diffusion, Hinton's group's attempt at discrete denoising diffusion, in Pytorch☆354Updated 2 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆772Updated 2 years ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆337Updated last year
- Sequence modeling with Mega.☆302Updated 2 years ago
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆445Updated 2 months ago