vulus98 / Rethinking-attention
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 4 months ago
Alternatives and similar repositories for Rethinking-attention:
Users that are interested in Rethinking-attention are comparing it to the libraries listed below
- ☆48Updated last year
- [ICML 2024] Official PyTorch implementation of "SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-paramete…☆102Updated 7 months ago
- ☆57Updated 2 months ago
- A repository for DenseSSMs☆87Updated last year
- State Space Models☆67Updated 11 months ago
- [NeurIPS2023]Lightweight Vision Transformer with Bidirectional Interaction☆23Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆52Updated last week
- Implementation of ViTaR: ViTAR: Vision Transformer with Any Resolution in PyTorch☆35Updated 5 months ago
- Simba☆206Updated last year
- ☆64Updated 5 months ago
- Official repository of Polarity-aware Linear Attention for Vision Transformers (ICLR 2025)☆57Updated 2 months ago
- Transformer model based on Kolmogorov–Arnold Network(KAN), which is an alternative of Multi-Layer Perceptron(MLP)☆28Updated 2 weeks ago
- ☆36Updated 8 months ago
- An efficient pytorch implementation of selective scan in one file, works with both cpu and gpu, with corresponding mathematical derivatio…☆83Updated last year
- The official implementation for MTLoRA: A Low-Rank Adaptation Approach for Efficient Multi-Task Learning (CVPR '24)☆45Updated last month
- ☆40Updated 2 months ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆42Updated last month
- The official GitHub page for the survey paper "A Survey of RWKV".☆25Updated 3 months ago
- (NeurIPS 2023) PyTorch implementation of "Primal-Attention: Self-attention through Asymmetric Kernel SVD in Primal Representation"☆18Updated 6 months ago
- ☆59Updated last year
- Awesome list of papers that extend Mamba to various applications.☆132Updated last week
- [CVPR 2023] Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention During Vision Transformer Inference☆30Updated last year
- [BMVC 2024] PlainMamba: Improving Non-hierarchical Mamba in Visual Recognition☆75Updated last week
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆64Updated 3 months ago
- Code Implementation of EfficientVMamba☆204Updated last year
- Non-official implementation of "Attention as an RNN" from https://arxiv.org/pdf/2405.13956, efficient associative parallel prefix scan an…☆25Updated 8 months ago
- Official Pytorch Implementation of Self-emerging Token Labeling☆33Updated last year
- ☆43Updated 2 years ago
- ☆24Updated 6 months ago
- Ofiicial Implementation for Mamba-ND: Selective State Space Modeling for Multi-Dimensional Data☆58Updated 9 months ago