lucidrains / compositional-attention-pytorch
Implementation of "compositional attention" from MILA, a multi-head attention variant that is reframed as a two-step attention process with disentangled search and retrieval head aggregation, in Pytorch
☆50Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for compositional-attention-pytorch
- A simple implementation of a deep linear Pytorch module☆18Updated 4 years ago
- A GPT, made only of MLPs, in Jax☆55Updated 3 years ago
- Implementation of LogAvgExp for Pytorch☆32Updated 2 years ago
- Implementation of the Remixer Block from the Remixer paper, in Pytorch☆35Updated 3 years ago
- An open source implementation of CLIP.☆32Updated 2 years ago
- ImageNet-12k subset of ImageNet-21k (fall11)☆20Updated last year
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆84Updated 2 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆95Updated last year
- ☆29Updated 2 years ago
- An implementation of (Induced) Set Attention Block, from the Set Transformers paper☆56Updated last year
- Code for ICLR 2021 Paper, "Anytime Sampling for Autoregressive Models via Ordered Autoencoding"☆24Updated last year
- ☆6Updated 11 months ago
- Implementation of some personal helper functions for Einops, my most favorite tensor manipulation library ❤️☆52Updated last year
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆47Updated 2 years ago
- ☆40Updated last year
- Github code for the paper Maximum Class Separation as Inductive Bias in One Matrix. Arxiv link: https://arxiv.org/abs/2206.08704☆27Updated last year
- JAX implementation ViT-VQGAN☆77Updated 2 years ago
- ☆21Updated last year
- ☆47Updated 2 years ago
- Implementation of Discrete Key / Value Bottleneck, in Pytorch☆87Updated last year
- Repository for the PopulAtion Parameter Averaging (PAPA) paper☆26Updated 7 months ago
- Implementation of Metaformer, but in an autoregressive manner☆23Updated 2 years ago
- A Benchmark for Efficient and Compositional Visual Reasoning☆18Updated last year
- Visual Representation Learning Benchmark for Self-Supervised Models☆35Updated 7 months ago
- High performance pytorch modules☆18Updated last year