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.
☆72Updated 9 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☆212Updated last year
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆225Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 2 weeks ago
- A repository for DenseSSMs☆88Updated last year
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆200Updated 2 weeks ago
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆74Updated 7 months ago
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆93Updated last year
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆114Updated 2 weeks ago
- Computation-Efficient Era: A Comprehensive Survey of State Space Models in Medical Image Analysis☆242Updated 2 weeks ago
- Awesome list of papers that extend Mamba to various applications.☆134Updated last month
- State Space Models☆70Updated last year
- ☆69Updated 6 months ago
- Notes on the Mamba and the S4 model (Mamba: Linear-Time Sequence Modeling with Selective State Spaces)☆169Updated last year
- ☆47Updated last year
- ☆136Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆108Updated last week
- ☆147Updated 10 months ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 7 months ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆82Updated 2 months ago
- An open source community implementation of the model from "DIFFERENTIAL TRANSFORMER" paper by Microsoft.☆32Updated 2 weeks ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆179Updated 4 months ago
- Simba☆211Updated last year
- ☆243Updated 5 months ago
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆538Updated 2 weeks ago
- ☆196Updated last year
- Official repository of MLLA (NeurIPS 2024)☆338Updated 3 weeks ago
- ML-Mamba: Efficient Multi-Modal Large Language Model Utilizing Mamba-2☆66Updated 8 months ago
- ☆44Updated 6 months ago
- This is the implementation of Cross-attention inspired Mamba.☆33Updated 4 months ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆150Updated 6 months ago