lucidrains / mixture-of-attention
Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts
β113Updated 3 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β92Updated 5 months ago
- Implementation of Infini-Transformer in Pytorchβ109Updated 3 weeks ago
- Implementation of π» Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorchβ88Updated last year
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorchβ101Updated 2 months ago
- Implementation of GateLoop Transformer in Pytorch and Jaxβ87Updated 7 months ago
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonettoβ54Updated 8 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β¦β52Updated last year
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmindβ115Updated 5 months ago
- Implementation of Agent Attention in Pytorchβ89Updated 6 months ago
- Implementation of a multimodal diffusion transformer in Pytorchβ99Updated 7 months ago
- Implementation of a Light Recurrent Unit in Pytorchβ48Updated 3 months ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorchβ97Updated last year
- Exploring an idea where one forgets about efficiency and carries out attention across each edge of the nodes (tokens)β44Updated 3 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of newβ¦β119Updated 6 months ago
- Griffin MQA + Hawk Linear RNN Hybridβ85Updated 9 months ago
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the publicβ66Updated last week
- Explorations into improving ViTArc with Slot Attentionβ37Updated 3 months ago
- Randomized Positional Encodings Boost Length Generalization of Transformersβ79Updated 10 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorchβ225Updated 4 months ago
- Implementation of the Llama architecture with RLHF + Q-learningβ157Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"β96Updated 4 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPTβ205Updated 5 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorchβ257Updated 9 months 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
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"β57Updated last year
- CUDA implementation of autoregressive linear attention, with all the latest research findingsβ44Updated last year
- Implementation of the general framework for AMIE, from the paper "Towards Conversational Diagnostic AI", out of Google Deepmindβ55Updated 4 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Seβ¦β62Updated 9 months ago
- β81Updated last year
- Here we will test various linear attention designs.β58Updated 9 months ago