lucidrains / rotary-embedding-torchLinks
Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆753Updated 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
Sorting:
- An implementation of local windowed attention for language modeling☆480Updated 2 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆381Updated 2 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆798Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆363Updated last year
- Helpful tools and examples for working with flex-attention☆991Updated 3 weeks ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆813Updated 2 years ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆609Updated 9 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆543Updated last year
- Annotated version of the Mamba paper☆490Updated last year
- Implementation of Linformer for Pytorch☆300Updated last year
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆574Updated 7 months ago
- Implementation of https://srush.github.io/annotated-s4☆502Updated 3 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆222Updated last year
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆540Updated 4 months ago
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆490Updated last year
- ☆293Updated 9 months ago
- [ICML 2024 Best Paper] Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution (https://arxiv.org/abs/2310.16834)☆637Updated last year
- An implementation of 1D, 2D, and 3D positional encoding in Pytorch and TensorFlow☆605Updated 11 months ago
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paper☆761Updated last month
- A pytorch implementation of the vector quantized variational autoencoder (https://arxiv.org/abs/1711.00937)☆819Updated 2 years ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆370Updated 2 years ago
- Official JAX implementation of Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆422Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆417Updated 8 months ago
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆652Updated 9 months ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆479Updated 2 years ago
- When it comes to optimizers, it's always better to be safe than sorry☆373Updated this week
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,148Updated 3 years ago
- Muon is an optimizer for hidden layers in neural networks☆1,767Updated 2 months ago
- Pytorch library for fast transformer implementations☆1,736Updated 2 years ago