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.
☆74Updated 10 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
Sorting:
- Minimal Mamba-2 implementation in PyTorch☆218Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated last week
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆226Updated last year
- Awesome list of papers that extend Mamba to various applications.☆137Updated 3 months ago
- Computation-Efficient Era: A Comprehensive Survey of State Space Models in Medical Image Analysis☆252Updated last month
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆205Updated last week
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆95Updated last year
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆170Updated last year
- Simba☆211Updated last year
- An open source community implementation of the model from "DIFFERENTIAL TRANSFORMER" paper by Microsoft.☆33Updated last week
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆118Updated last week
- ☆148Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆110Updated this week
- The open source implementation of the cross attention mechanism from the paper: "JOINTLY TRAINING LARGE AUTOREGRESSIVE MULTIMODAL MODELS"☆33Updated last year
- ☆136Updated last year
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆187Updated last week
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆75Updated 8 months ago
- A repository for DenseSSMs☆88Updated last year
- State Space Models☆70Updated last year
- ☆245Updated 6 months ago
- The official GitHub page for the survey paper "Discrete Tokenization for Multimodal LLMs: A Comprehensive Survey". And this paper is unde…☆61Updated last month
- ☆72Updated 7 months ago
- ☆47Updated last year
- ☆48Updated 7 months ago
- ☆83Updated 4 months ago
- Implementation of ViTaR: ViTAR: Vision Transformer with Any Resolution in PyTorch☆39Updated 10 months ago
- ☆216Updated 7 months ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆90Updated 3 months ago
- ☆197Updated last year
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 9 months ago