nanowell / Differential-Transformer-PyTorchLinks
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.
☆79Updated last year
Alternatives and similar repositories for Differential-Transformer-PyTorch
Users that are interested in Differential-Transformer-PyTorch are comparing it to the libraries listed below
Sorting:
- Minimal Mamba-2 implementation in PyTorch☆233Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 3 weeks ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆131Updated 3 weeks ago
- ☆76Updated 9 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆229Updated last month
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆75Updated 10 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆210Updated 3 weeks ago
- A repository for DenseSSMs☆89Updated last year
- Simba☆214Updated last year
- An open source community implementation of the model from "DIFFERENTIAL TRANSFORMER" paper by Microsoft.☆35Updated 3 weeks ago
- ☆248Updated 3 weeks ago
- State Space Models☆71Updated last year
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆97Updated last month
- Awesome list of papers that extend Mamba to various applications.☆138Updated 5 months ago
- Computation-Efficient Era: A Comprehensive Survey of State Space Models in Medical Image Analysis☆259Updated 3 months ago
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆173Updated last year
- ☆140Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆114Updated 3 weeks ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆103Updated 5 months ago
- ☆48Updated last year
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆44Updated 11 months ago
- ☆199Updated last year
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆118Updated 3 weeks ago
- Offical implementation of "MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map" (NeurIPS2024 Oral)☆31Updated 10 months ago
- ☆49Updated 5 months ago
- ☆86Updated 6 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆165Updated 9 months ago
- ☆220Updated 9 months ago
- [ICLR 2025 Spotlight] Official Implementation for ToST (Token Statistics Transformer)☆126Updated 8 months ago
- ☆50Updated 9 months ago