lucidrains / rotary-embedding-torchLinks
Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆746Updated last month
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☆475Updated last month
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆797Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated 2 years ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆601Updated 9 months ago
- Helpful tools and examples for working with flex-attention☆961Updated 3 weeks ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆360Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆803Updated 2 years ago
- Implementation of Linformer for Pytorch☆298Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆542Updated last year
- Annotated version of the Mamba paper☆489Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆369Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆537Updated 3 months ago
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆603Updated 10 months ago
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆486Updated last year
- Implementation of https://srush.github.io/annotated-s4☆502Updated 2 months ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆1,171Updated 2 years ago
- Pytorch library for fast transformer implementations☆1,727Updated 2 years ago
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆570Updated 7 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆474Updated 2 years ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆290Updated 3 months ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆220Updated last year
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆393Updated 8 months ago
- Long Range Arena for Benchmarking Efficient Transformers☆764Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆414Updated 8 months ago
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,148Updated 3 years ago
- Fast Multi-dimensional Sparse Attention☆608Updated 3 weeks ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆319Updated 5 months ago
- Muon is an optimizer for hidden layers in neural networks☆1,672Updated 2 months ago
- Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models☆795Updated 3 months ago