lucidrains / nystrom-attention
Implementation of Nyström Self-attention, from the paper Nyströmformer
☆129Updated last year
Alternatives and similar repositories for nystrom-attention:
Users that are interested in nystrom-attention are comparing it to the libraries listed below
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Axial Positional Embedding for Pytorch☆75Updated 3 weeks ago
- ☆376Updated last year
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆133Updated 4 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆211Updated 2 years ago
- ☆73Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- ☆164Updated 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☆99Updated 2 years ago
- Framework for creating (partially) reversible neural networks with PyTorch☆151Updated 2 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆126Updated 2 years ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- A GPT, made only of MLPs, in Jax☆57Updated 3 years ago
- Drop-in replacement for any ResNet with a significantly reduced memory footprint and better representation capabilities☆209Updated 10 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆160Updated last year
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆86Updated 3 years ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆125Updated 3 years ago
- Implementation of LogAvgExp for Pytorch☆34Updated 2 years ago
- Code repository for the ICLR 2022 paper "FlexConv: Continuous Kernel Convolutions With Differentiable Kernel Sizes" https://openreview.ne…☆115Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆372Updated last year
- Implementation of "compositional attention" from MILA, a multi-head attention variant that is reframed as a two-step attention process wi…☆50Updated 2 years ago
- Collection of the latest, greatest, deep learning optimizers (for Pytorch) - CNN, NLP suitable☆212Updated 3 years ago
- Implementation of Linformer for Pytorch☆274Updated last year
- Implementation of a U-net complete with efficient attention as well as the latest research findings☆275Updated 10 months ago
- Implementation of Perceiver, General Perception with Iterative Attention, in Pytorch☆37Updated 3 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆73Updated 2 years ago