vulus98 / Rethinking-attentionLinks
My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing otherwise seemingly hard concepts. Currently included IWSLT pretrained models.
☆43Updated 9 months ago
Alternatives and similar repositories for Rethinking-attention
Users that are interested in Rethinking-attention are comparing it to the libraries listed below
Sorting:
- State Space Models☆70Updated last year
- ☆73Updated 7 months ago
- Simba☆213Updated last year
- A repository for DenseSSMs☆88Updated last year
- ☆47Updated last year
- ☆66Updated 11 months ago
- [ICML 2024] Official PyTorch implementation of "SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-paramete…☆106Updated 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 2 weeks ago
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 2 weeks ago
- Official repository of Polarity-aware Linear Attention for Vision Transformers (ICLR 2025)☆70Updated 4 months ago
- ☆218Updated 7 months ago
- Official PyTorch Implementation of "The Hidden Attention of Mamba Models"☆226Updated last year
- ☆136Updated last year
- Awesome list of papers that extend Mamba to various applications.☆137Updated 3 months ago
- Implementation of ViTaR: ViTAR: Vision Transformer with Any Resolution in PyTorch☆38Updated 10 months ago
- The official implementation for MTLoRA: A Low-Rank Adaptation Approach for Efficient Multi-Task Learning (CVPR '24)☆65Updated 2 months ago
- [NeurIPS2023]Lightweight Vision Transformer with Bidirectional Interaction☆26Updated last year
- Ofiicial Implementation for Mamba-ND: Selective State Space Modeling for Multi-Dimensional Data☆64Updated last year
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆95Updated last year
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆75Updated 9 months ago
- [CVPR 2023] Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention During Vision Transformer Inference☆30Updated last year
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆45Updated 6 months ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated last year
- ☆41Updated last year
- Minimal Mamba-2 implementation in PyTorch☆219Updated last year
- ☆151Updated last year
- Code Implementation of EfficientVMamba☆228Updated last year
- PyTorch implementation of the Differential-Transformer architecture for sequence modeling, specifically tailored as a decoder-only model …☆75Updated 10 months ago
- ☆47Updated 3 months ago
- ☆148Updated last year