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.
☆53Updated 3 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.☆22Updated last week
- Integrating Mamba/SSMs with Transformer for Enhanced Long Context and High-Quality Sequence Modeling☆186Updated 3 weeks ago
- Minimal Mamba-2 implementation in PyTorch☆173Updated 8 months ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆51Updated 3 weeks ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆212Updated 8 months ago
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆60Updated 2 months ago
- ☆127Updated 9 months ago
- Implementation of Switch Transformers from the paper: "Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficien…☆81Updated 3 weeks ago
- Computation-Efficient Era: A Comprehensive Survey of State Space Models in Medical Image Analysis☆217Updated last week
- ☆200Updated 2 weeks ago
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆79Updated 11 months ago
- A repository for DenseSSMs☆86Updated 10 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆157Updated 3 weeks ago
- Causal depthwise conv1d in CUDA, with a PyTorch interface☆393Updated 2 months ago
- Simba☆201Updated 10 months ago
- [NeurIPS'24 Oral] HydraLoRA: An Asymmetric LoRA Architecture for Efficient Fine-Tuning☆161Updated 2 months ago
- Official repository of MLLA (NeurIPS 2024)☆275Updated 2 months ago
- State Space Models☆64Updated 9 months ago
- Mamba or Transformer for Time Series Forecasting? Mixture of Universals (MoU) Is All You Need.☆41Updated 5 months ago
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆115Updated 3 weeks ago
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆44Updated 2 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
- ☆46Updated 10 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆35Updated 4 months ago
- Awesome list of papers that extend Mamba to various applications.☆131Updated 2 months ago
- Implementation of the paper: "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆81Updated last week
- ☆140Updated 5 months ago
- Only implemented through torch: "bi - mamba2" , "vision- mamba2 -torch". support 1d/2d/3d/nd and support export by jit.script/onnx;☆264Updated 2 months ago
- Awsome works based on SSM and Mamba☆17Updated 10 months ago
- KAN for Vision Transformer☆242Updated 4 months ago