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.
☆59Updated 6 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
- Minimal Mamba-2 implementation in PyTorch☆192Updated 10 months ago
- An open source community implementation of the model from "DIFFERENTIAL TRANSFORMER" paper by Microsoft.☆26Updated 2 weeks ago
- ☆58Updated 3 months ago
- ☆128Updated last year
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆220Updated 11 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆100Updated last month
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆53Updated last month
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆65Updated 4 months ago
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆191Updated last month
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆86Updated last year
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated last month
- Awesome list of papers that extend Mamba to various applications.☆132Updated last month
- ☆48Updated last year
- Official repository for CVPR24 Precognition Workshop Paper: VMRNN: Integrating Vision Mamba and LSTM for Efficient and Accurate Spatiotem…☆129Updated last year
- A repository for DenseSSMs☆87Updated last year
- Computation-Efficient Era: A Comprehensive Survey of State Space Models in Medical Image Analysis☆234Updated 2 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆38Updated 6 months ago
- [NeurIPS'24 Oral] HydraLoRA: An Asymmetric LoRA Architecture for Efficient Fine-Tuning☆196Updated 5 months ago
- ML-Mamba: Efficient Multi-Modal Large Language Model Utilizing Mamba-2☆64Updated 5 months ago
- The open source implementation of the cross attention mechanism from the paper: "JOINTLY TRAINING LARGE AUTOREGRESSIVE MULTIMODAL MODELS"☆27Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆104Updated last month
- [CVPR2025] Breaking the Low-Rank Dilemma of Linear Attention☆17Updated last month
- ☆233Updated 2 months ago
- Simba☆206Updated last year
- State Space Models☆67Updated last year
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆91Updated this week
- Offical implementation of "MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map" (NeurIPS2024 Oral)☆22Updated 3 months ago
- Official repository of Polarity-aware Linear Attention for Vision Transformers (ICLR 2025)☆60Updated 2 months ago
- ☆36Updated 9 months ago
- ☆144Updated 8 months ago