nanowell / Differential-Transformer-PyTorch
PyTorch implementation of the Differential-Transformer architecture for sequence modeling, specifically tailored as a decoder-only model similar to large language models (LLMs). The architecture incorporates a novel Differential Attention mechanism, Multi-Head structure, RMSNorm, and SwiGLU.
☆58Updated 5 months ago
Alternatives and similar repositories for Differential-Transformer-PyTorch:
Users that are interested in Differential-Transformer-PyTorch are comparing it to the libraries listed below
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆64Updated 4 months ago
- An open source community implementation of the model from "DIFFERENTIAL TRANSFORMER" paper by Microsoft.☆24Updated this week
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆191Updated last week
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆52Updated 2 weeks ago
- Minimal Mamba-2 implementation in PyTorch☆186Updated 10 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆97Updated 2 weeks ago
- ☆57Updated 2 months ago
- A repository for DenseSSMs☆87Updated last year
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆83Updated last year
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆218Updated 10 months ago
- ☆48Updated last year
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆37Updated 6 months ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆89Updated this week
- Simba☆206Updated last year
- Awesome list of papers that extend Mamba to various applications.☆132Updated 2 weeks ago
- The official Pytorch implementation of the paper "Fourier Transformer: Fast Long Range Modeling by Removing Sequence Redundancy with FFT …☆37Updated last year
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆127Updated 2 months ago
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆102Updated last week
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆432Updated 4 months ago
- Implementation of ViTaR: ViTAR: Vision Transformer with Any Resolution in PyTorch☆35Updated 5 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆166Updated 2 weeks ago
- State Space Models☆68Updated 11 months ago
- Implementation of the proposed MaskBit from Bytedance AI☆75Updated 5 months ago
- 🔥stable, simple, state-of-the-art VQVAE toolkit & cookbook☆92Updated 9 months ago
- ☆40Updated 2 months ago
- ☆99Updated 9 months ago
- Implementation of Agent Attention in Pytorch☆90Updated 9 months ago
- ☆144Updated 7 months ago
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated 2 weeks ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆25Updated last week