lucidrains / nystrom-attentionLinks
Implementation of Nyström Self-attention, from the paper Nyströmformer
☆139Updated 5 months ago
Alternatives and similar repositories for nystrom-attention
Users that are interested in nystrom-attention are comparing it to the libraries listed below
Sorting:
- Axial Positional Embedding for Pytorch☆83Updated 6 months ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆164Updated last year
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆147Updated 4 years ago
- Implementation of Fast Transformer in Pytorch☆175Updated 4 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆205Updated 2 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 3 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
- ☆164Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- Code repository for the ICLR 2022 paper "FlexConv: Continuous Kernel Convolutions With Differentiable Kernel Sizes" https://openreview.ne…☆116Updated 2 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆94Updated 3 years ago
- ☆47Updated 2 years ago
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- ☆75Updated 2 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆76Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆120Updated 4 years ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- Another attempt at a long-context / efficient transformer by me☆38Updated 3 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- Implementation of Linformer for Pytorch☆298Updated last year
- Implementation of LogAvgExp for Pytorch☆36Updated 5 months ago
- Implementation of a U-net complete with efficient attention as well as the latest research findings☆287Updated last year
- A Domain-Agnostic Benchmark for Self-Supervised Learning☆107Updated 2 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 2 years ago
- A simple Transformer where the softmax has been replaced with normalization☆20Updated 5 years ago
- GPT, but made only out of MLPs☆89Updated 4 years ago
- ☆380Updated last year
- An implementation of (Induced) Set Attention Block, from the Set Transformers paper☆61Updated 2 years ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆37Updated 4 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆129Updated 3 years ago