Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch
☆818Jun 20, 2026Updated 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- An implementation of local windowed attention for language modeling☆503Jul 16, 2025Updated last year
- A concise but complete full-attention transformer with a set of promising experimental features from various papers☆5,928Updated this week
- Vector (and Scalar) Quantization, in Pytorch☆3,991Jul 20, 2026Updated last week
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆145Mar 24, 2025Updated last year
- Axial Positional Embedding for Pytorch☆84Feb 25, 2025Updated last year
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Implementation of Agent Attention in Pytorch☆93Jul 10, 2024Updated 2 years ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆93Jun 18, 2024Updated 2 years ago
- 🦁 Lion, new optimizer discovered by Google Brain using genetic algorithms that is purportedly better than Adam(w), in Pytorch☆2,195Jul 9, 2026Updated 2 weeks ago
- Rotary Transformer☆1,129Mar 21, 2022Updated 4 years ago
- Fast and memory-efficient exact attention☆24,559Updated this week
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆546May 16, 2025Updated last year
- A Transformer made of Rotation-equivariant Attention using Vector Neurons☆103Aug 1, 2023Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆220Feb 13, 2023Updated 3 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆394Jul 18, 2023Updated 3 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆122Oct 17, 2024Updated last year
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆348Apr 2, 2025Updated last year
- Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)☆9,561Jul 5, 2026Updated 3 weeks ago
- Official PyTorch Implementation of "Scalable Diffusion Models with Transformers"☆8,693May 31, 2024Updated 2 years ago
- Use Jax functions in Pytorch☆263Jul 1, 2023Updated 3 years ago
- 🚀 Efficient implementations for emerging model architectures☆5,463Updated this week
- Implementation of E(n)-Transformer, which incorporates attention mechanisms into Welling's E(n)-Equivariant Graph Neural Network☆226Jun 2, 2024Updated 2 years ago
- Implementation of the proposed minGRU in Pytorch☆325Dec 10, 2025Updated 7 months ago
- Structured state space sequence models☆2,912Jul 17, 2024Updated 2 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆49Jan 27, 2022Updated 4 years ago
- A simple way to keep track of an Exponential Moving Average (EMA) version of your Pytorch model☆657Updated this week
- Implementation of Block Recurrent Transformer - Pytorch☆226Aug 20, 2024Updated last year
- Implementation of some personal helper functions for Einops, my most favorite tensor manipulation library ❤️☆57Jan 5, 2023Updated 3 years ago
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Apr 6, 2022Updated 4 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Sep 6, 2024Updated last year
- An implementation of Performer, a linear attention-based transformer, in Pytorch☆1,179Feb 2, 2022Updated 4 years ago
- Implementation of the convolutional module from the Conformer paper, for use in Transformers☆438May 17, 2023Updated 3 years ago
- Implementation of an Attention layer where each head can attend to more than just one token, using coordinate descent to pick topk☆47Jul 16, 2023Updated 3 years ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆228Mar 25, 2026Updated 4 months ago
- Implementation of Flash Attention in Jax☆229Mar 1, 2024Updated 2 years ago
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,532Jul 15, 2026Updated 2 weeks ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆558Oct 30, 2023Updated 2 years ago
- Implementation of a single layer of the MMDiT, proposed in Stable Diffusion 3, in Pytorch☆552Jan 18, 2026Updated 6 months ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆143Jul 17, 2026Updated last week
- Implementation of a Transformer, but completely in Triton☆279Apr 5, 2022Updated 4 years ago