tobna / TaylorShiftLinks
This repository contains the code for the paper "TaylorShift: Shifting the Complexity of Self-Attention from Squared to Linear (and Back) using Taylor-Softmax"
☆13Updated 10 months ago
Alternatives and similar repositories for TaylorShift
Users that are interested in TaylorShift are comparing it to the libraries listed below
Sorting:
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆122Updated last year
- This is a simple torch implementation of the high performance Multi-Query Attention☆16Updated 2 years ago
- A repository for DenseSSMs☆88Updated last year
- Implementation of Infini-Transformer in Pytorch☆112Updated last year
- Implementation of Agent Attention in Pytorch☆93Updated last year
- Implementation of MoE Mamba from the paper: "MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts" in Pytorch and Ze…☆120Updated 2 weeks ago
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆28Updated 8 months ago
- Implementation of a Light Recurrent Unit in Pytorch☆49Updated last year
- The official implementation of ICLR 2025 paper "Polynomial Composition Activations: Unleashing the Dynamics of Large Language Models".☆17Updated 9 months ago
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆58Updated last year
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆40Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- Self contained pytorch implementation of a sinkhorn based router, for mixture of experts or otherwise☆40Updated last year
- Implementation of a modular, high-performance, and simplistic mamba for high-speed applications☆40Updated last year
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated 3 months ago
- Pytorch Implementation of the sparse attention from the paper: "Generating Long Sequences with Sparse Transformers"☆93Updated 2 weeks ago
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated 2 years ago
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆57Updated last year
- ☆48Updated last year
- ☆16Updated 2 years ago
- Pytorch Implementation of the paper: "Learning to (Learn at Test Time): RNNs with Expressive Hidden States"☆25Updated last week
- Code for the paper "Cottention: Linear Transformers With Cosine Attention"☆20Updated 2 months ago
- ☆17Updated 7 months ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆32Updated 9 months ago
- Explorations into improving ViTArc with Slot Attention☆43Updated last year
- ☆191Updated last year
- Awesome list of papers that extend Mamba to various applications.☆138Updated 7 months ago
- Unofficial Implementation of Selective Attention Transformer☆20Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆63Updated 11 months ago