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.
☆57Updated 4 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
- An open source community implementation of the model from "DIFFERENTIAL TRANSFORMER" paper by Microsoft.☆24Updated last week
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆190Updated last month
- Minimal Mamba-2 implementation in PyTorch☆179Updated 9 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆51Updated last month
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆63Updated 3 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆89Updated last month
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆216Updated 9 months ago
- Awesome list of papers that extend Mamba to various applications.☆132Updated 3 months ago
- Simba☆203Updated last year
- State Space Models☆67Updated 10 months ago
- ☆213Updated 3 weeks ago
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆80Updated last year
- ☆47Updated 11 months ago
- A repository for DenseSSMs☆87Updated 11 months ago
- [NeurIPS'24 Oral] HydraLoRA: An Asymmetric LoRA Architecture for Efficient Fine-Tuning☆175Updated 3 months ago
- ☆189Updated last year
- ☆127Updated 10 months ago
- Computation-Efficient Era: A Comprehensive Survey of State Space Models in Medical Image Analysis☆226Updated last month
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 3 months ago
- ☆53Updated last month
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆412Updated 3 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆160Updated last month
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆118Updated last month
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆100Updated last month
- Official repository of MLLA (NeurIPS 2024)☆294Updated 4 months ago
- ☆142Updated 6 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆37Updated 5 months ago
- Implementation of ViTaR: ViTAR: Vision Transformer with Any Resolution in PyTorch☆32Updated 4 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆104Updated last year
- Offical implementation of "MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map" (NeurIPS2024 Oral)☆21Updated 2 months ago