lucidrains / axial-positional-embeddingLinks
Axial Positional Embedding for Pytorch
☆83Updated 8 months ago
Alternatives and similar repositories for axial-positional-embedding
Users that are interested in axial-positional-embedding are comparing it to the libraries listed below
Sorting:
- Implementation of Fast Transformer in Pytorch☆177Updated 4 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆141Updated 7 months ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆83Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆120Updated 4 years ago
- Another attempt at a long-context / efficient transformer by me☆38Updated 3 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆95Updated 3 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆165Updated last year
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆50Updated 3 years ago
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆69Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆206Updated 2 years ago
- Implementation of some personal helper functions for Einops, my most favorite tensor manipulation library ❤️☆55Updated 2 years ago
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆123Updated 4 years ago
- Implementation of Feedback Transformer in Pytorch☆108Updated 4 years ago
- ResiDual: Transformer with Dual Residual Connections, https://arxiv.org/abs/2304.14802☆96Updated 2 years ago
- Implementation of "compositional attention" from MILA, a multi-head attention variant that is reframed as a two-step attention process wi…☆51Updated 3 years ago
- GPT, but made only out of MLPs☆89Updated 4 years ago
- Implementation of Insertion-deletion Denoising Diffusion Probabilistic Models☆30Updated 3 years ago
- Implementation of Multistream Transformers in Pytorch☆54Updated 4 years ago
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆81Updated 3 years ago
- Code for the paper PermuteFormer☆42Updated 4 years ago
- [NeurIPS 2020] Official Implementation: "SMYRF: Efficient Attention using Asymmetric Clustering".☆50Updated 2 years ago
- Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch☆76Updated 2 years ago
- An implementation of (Induced) Set Attention Block, from the Set Transformers paper☆64Updated 2 years ago
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆49Updated 5 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆217Updated 2 years ago
- A GPT, made only of MLPs, in Jax☆58Updated 4 years ago
- Relative Positional Encoding for Transformers with Linear Complexity☆65Updated 3 years ago
- Implementation of LogAvgExp for Pytorch☆37Updated 6 months ago