lucidrains / nystrom-attention
Implementation of Nyström Self-attention, from the paper Nyströmformer
☆122Updated 9 months ago
Related projects ⓘ
Alternatives and complementary repositories for nystrom-attention
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆121Updated 3 years ago
- Axial Positional Embedding for Pytorch☆61Updated 3 years ago
- ☆47Updated last year
- Implementation of LogAvgExp for Pytorch☆32Updated 2 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆247Updated 2 years ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆94Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- ☆362Updated last year
- A Domain-Agnostic Benchmark for Self-Supervised Learning☆107Updated last year
- ☆164Updated last year
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆155Updated 8 months ago
- 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
- Implementation of Feedback Transformer in Pytorch☆104Updated 3 years ago
- An active learning library for Pytorch based on Lightning-Fabric.☆79Updated 6 months ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆171Updated 3 years ago
- A collection of code snippets for my PyTorch Lightning projects☆107Updated 3 years ago
- ☆73Updated last year
- A GPT, made only of MLPs, in Jax☆55Updated 3 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆84Updated 2 years ago
- The official repository for "Intermediate Layers Matter in Momentum Contrastive Self Supervised Learning" paper.☆40Updated 2 years ago
- GPT, but made only out of MLPs☆86Updated 3 years ago
- Code repository for the ICLR 2022 paper "FlexConv: Continuous Kernel Convolutions With Differentiable Kernel Sizes" https://openreview.ne…☆115Updated last year
- Implements MLP-Mixer (https://arxiv.org/abs/2105.01601) with the CIFAR-10 dataset.☆54Updated 2 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆116Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆207Updated last year
- Drop-in replacement for any ResNet with a significantly reduced memory footprint and better representation capabilities☆208Updated 6 months ago
- Framework for creating (partially) reversible neural networks with PyTorch☆145Updated 2 years ago
- Implementation of Linformer for Pytorch☆255Updated 10 months ago