lucidrains / rotary-embedding-torchLinks
Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆681Updated 6 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:
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆378Updated last year
- An implementation of local windowed attention for language modeling☆450Updated 4 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆768Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆333Updated 11 months ago
- Implementation of Linformer for Pytorch☆285Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆758Updated last year
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆587Updated 5 months ago
- Helpful tools and examples for working with flex-attention☆802Updated last week
- [ICLR2025 Spotlight🔥] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters☆559Updated 3 months ago
- Annotated version of the Mamba paper☆482Updated last year
- Implementation of https://srush.github.io/annotated-s4☆495Updated 2 years ago
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆473Updated last year
- [ICML 2024 Best Paper] Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution (https://arxiv.org/abs/2310.16834)☆580Updated last year
- [ECCV 2024] Official PyTorch implementation of RoPE-ViT "Rotary Position Embedding for Vision Transformer"☆326Updated 5 months ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆363Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 9 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆530Updated last year
- Neighborhood Attention Extension. Bringing attention to a neighborhood near you!☆506Updated 2 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆513Updated 2 weeks ago
- Rotary Transformer☆959Updated 3 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Pytorch library for fast transformer implementations☆1,710Updated 2 years ago
- ☆290Updated 5 months ago
- VQVAEs, GumbelSoftmaxes and friends☆562Updated 3 years ago
- Implementation of Autoregressive Diffusion in Pytorch☆382Updated 6 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Implementation of the proposed minGRU in Pytorch☆296Updated 2 months ago
- A collection of resources and papers on Vector Quantized Variational Autoencoder (VQ-VAE) and its application☆285Updated 4 months ago
- PyTorch Re-Implementation of "The Sparsely-Gated Mixture-of-Experts Layer" by Noam Shazeer et al. https://arxiv.org/abs/1701.06538☆1,111Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆290Updated 2 months ago