lucidrains / rotary-embedding-torchLinks
Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆707Updated this week
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☆460Updated 5 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆784Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆594Updated 7 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆345Updated last year
- Helpful tools and examples for working with flex-attention☆865Updated 2 weeks ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆776Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆366Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆536Updated last year
- Implementation of Linformer for Pytorch☆290Updated last year
- Annotated version of the Mamba paper☆486Updated last year
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆795Updated last month
- Implementation of Block Recurrent Transformer - Pytorch☆220Updated 10 months ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆563Updated 5 months ago
- Sequence modeling with Mega.☆296Updated 2 years ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆529Updated last month
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆482Updated last year
- Muon is an optimizer for hidden layers in neural networks☆988Updated this week
- A pytorch implementation of the vector quantized variational autoencoder (https://arxiv.org/abs/1711.00937)☆777Updated 2 years ago
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆596Updated 8 months ago
- Implementation of https://srush.github.io/annotated-s4☆498Updated 3 weeks ago
- ☆292Updated 6 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆302Updated 3 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆466Updated 2 years ago
- VQVAEs, GumbelSoftmaxes and friends☆577Updated 3 years ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,145Updated 7 months ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,136Updated 3 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆410Updated 6 months ago
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆343Updated 6 months ago
- Neighborhood Attention Extension. Bringing attention to a neighborhood near you!☆542Updated last week