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"
☆12Updated 8 months ago
Alternatives and similar repositories for TaylorShift
Users that are interested in TaylorShift are comparing it to the libraries listed below
Sorting:
- A repository for DenseSSMs☆89Updated last year
- This is a simple torch implementation of the high performance Multi-Query Attention☆16Updated 2 years ago
- Implementation of Agent Attention in Pytorch☆93Updated last year
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆121Updated last year
- Implementation of Infini-Transformer in Pytorch☆113Updated 11 months ago
- Self contained pytorch implementation of a sinkhorn based router, for mixture of experts or otherwise☆39Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆57Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆31Updated 8 months ago
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆93Updated 5 months ago
- Official PyTorch implementation of "LayerMerge: Neural Network Depth Compression through Layer Pruning and Merging" (ICML 2024)☆30Updated last year
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated 2 years ago
- ☆16Updated 6 months ago
- Implementation of a modular, high-performance, and simplistic mamba for high-speed applications☆38Updated last year
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆35Updated last year
- Explorations into adversarial losses on top of autoregressive loss for language modeling☆38Updated 9 months ago
- JAX Scalify: end-to-end scaled arithmetics☆17Updated last year
- PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)☆81Updated 2 years 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".☆15Updated 7 months ago
- Unofficial Implementation of Selective Attention Transformer☆18Updated last year
- Explorations into the recently proposed Taylor Series Linear Attention☆100Updated last year
- Pytorch Implementation of the paper: "Learning to (Learn at Test Time): RNNs with Expressive Hidden States"☆25Updated 2 weeks ago
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Autoregressive Image Generation☆31Updated 6 months ago
- The open source implementation of the model from "Scaling Vision Transformers to 22 Billion Parameters"☆31Updated last month
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆56Updated last month
- Implementation of GateLoop Transformer in Pytorch and Jax☆91Updated last year
- Explorations into improving ViTArc with Slot Attention☆43Updated last year
- Structured Pruning Adapters in PyTorch☆19Updated 2 years ago