lucidrains / mixture-of-attentionLinks
Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts
☆119Updated last year
Alternatives and similar repositories for mixture-of-attention
Users that are interested in mixture-of-attention are comparing it to the libraries listed below
Sorting:
- Implementation of Infini-Transformer in Pytorch☆113Updated 9 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆90Updated last year
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated last year
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated last year
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆57Updated last year
- Implementation of Agent Attention in Pytorch☆91Updated last year
- 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 2 years ago
- Implementation of the Llama architecture with RLHF + Q-learning☆167Updated 8 months ago
- Implementation of a multimodal diffusion transformer in Pytorch☆106Updated last year
- Explorations into adversarial losses on top of autoregressive loss for language modeling☆38Updated 8 months ago
- Exploring an idea where one forgets about efficiency and carries out attention across each edge of the nodes (tokens)☆55Updated 7 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆129Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆123Updated last year
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆132Updated last week
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"☆59Updated 2 years ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆222Updated last year
- Implementation of 2-simplicial attention proposed by Clift et al. (2019) and the recent attempt to make practical in Fast and Simplex, Ro…☆47Updated last month
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Self contained pytorch implementation of a sinkhorn based router, for mixture of experts or otherwise☆39Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆89Updated last year
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆91Updated 4 months ago
- PyTorch implementation of Soft MoE by Google Brain in "From Sparse to Soft Mixtures of Experts" (https://arxiv.org/pdf/2308.00951.pdf)☆78Updated 2 years ago
- Implementation of a Light Recurrent Unit in Pytorch☆49Updated last year
- Implementation of Zorro, Masked Multimodal Transformer, in Pytorch☆96Updated 2 years ago
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆102Updated 10 months ago
- Implementation of Discrete Key / Value Bottleneck, in Pytorch☆88Updated 2 years ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆45Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- Implementation of Gradient Agreement Filtering, from Chaubard et al. of Stanford, but for single machine microbatches, in Pytorch☆25Updated 9 months ago