lucidrains / mixture-of-attention
Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts
☆116Updated 4 months ago
Alternatives and similar repositories for mixture-of-attention:
Users that are interested in mixture-of-attention are comparing it to the libraries listed below
- Explorations into the recently proposed Taylor Series Linear Attention☆93Updated 6 months ago
- Implementation of Infini-Transformer in Pytorch☆109Updated last month
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 8 months ago
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated last year
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"☆57Updated last year
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆55Updated 9 months ago
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆101Updated 3 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 7 months ago
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amount…☆53Updated last year
- Implementation of the Llama architecture with RLHF + Q-learning☆163Updated last month
- Implementation of a multimodal diffusion transformer in Pytorch☆100Updated 8 months ago
- Pytorch implementation of a simple way to enable (Stochastic) Frame Averaging for any network☆49Updated 7 months ago
- Implementation of Agent Attention in Pytorch☆90Updated 7 months ago
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆74Updated 2 weeks ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆119Updated 6 months ago
- Implementation of a Light Recurrent Unit in Pytorch☆47Updated 4 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 10 months ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆98Updated 2 years ago
- Implementation of an Attention layer where each head can attend to more than just one token, using coordinate descent to pick topk☆46Updated last year
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆78Updated 7 months ago
- Here we will test various linear attention designs.☆59Updated 10 months ago
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆96Updated 2 months ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- LayerNorm(SmallInit(Embedding)) in a Transformer to improve convergence☆59Updated 3 years ago
- PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)☆71Updated last year
- Explorations into improving ViTArc with Slot Attention☆37Updated 4 months ago
- Collection of autoregressive model implementation☆81Updated 2 weeks ago
- ☆88Updated last year