lucidrains / rotary-embedding-torch
Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆609Updated 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
- An implementation of local windowed attention for language modeling☆403Updated this week
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆724Updated 8 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆510Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆548Updated last month
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆668Updated last year
- Helpful tools and examples for working with flex-attention☆583Updated this week
- Implementation of Linformer for Pytorch☆262Updated last year
- Implementation of https://srush.github.io/annotated-s4☆477Updated last year
- Annotated version of the Mamba paper☆469Updated 10 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆297Updated 7 months ago
- Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆477Updated this week
- Neighborhood Attention Extension. Bringing attention to a neighborhood near you!☆392Updated 2 weeks ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆492Updated 2 months ago
- Sequence modeling with Mega.☆297Updated last year
- Implementation of Bit Diffusion, Hinton's group's attempt at discrete denoising diffusion, in Pytorch☆340Updated last year
- 🚀 Efficient implementations of state-of-the-art linear attention models in Pytorch and Triton☆1,669Updated this week
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆266Updated 3 weeks ago
- ☆285Updated last month
- Reading list for research topics in state-space models☆253Updated 3 weeks ago
- A pytorch implementation of the vector quantized variational autoencoder (https://arxiv.org/abs/1711.00937)☆683Updated 2 years ago
- Rotary Transformer☆858Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 4 months ago
- Implementation of the proposed minGRU in Pytorch☆270Updated 3 weeks ago
- Structured state space sequence models☆2,524Updated 6 months ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆292Updated 2 weeks ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆256Updated 8 months ago
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆446Updated last year
- Vector (and Scalar) Quantization, in Pytorch☆2,824Updated last week
- A simple and efficient Mamba implementation in pure PyTorch and MLX.☆1,101Updated last month