erksch / fnet-pytorch
Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.
☆70Updated 2 years ago
Alternatives and similar repositories for fnet-pytorch:
Users that are interested in fnet-pytorch are comparing it to the libraries listed below
- ☆163Updated 2 years ago
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆60Updated 2 years ago
- PyTorch implementation of FNet: Mixing Tokens with Fourier transforms☆25Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆172Updated 3 years ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆226Updated 2 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆123Updated last year
- Axial Positional Embedding for Pytorch☆67Updated last week
- Implementation of Linformer for Pytorch☆262Updated last year
- Implementations of various linear RNN layers using pytorch and triton☆49Updated last year
- Sequence Modeling with Structured State Spaces☆61Updated 2 years ago
- Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012☆49Updated 2 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆102Updated 3 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆97Updated last year
- ☆32Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆256Updated 3 years ago
- Implementation of Multistream Transformers in Pytorch☆53Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆210Updated last year
- Code repository for the ICLR 2022 paper "FlexConv: Continuous Kernel Convolutions With Differentiable Kernel Sizes" https://openreview.ne…☆115Updated 2 years ago
- Relative Positional Encoding for Transformers with Linear Complexity☆61Updated 2 years ago
- ☆200Updated last year
- Fast and memory-efficient exact attention☆16Updated 6 months ago
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆70Updated last year
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆108Updated 4 years ago
- Adaptive Gradient Clipping☆124Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆158Updated 11 months ago
- Unofficial PyTorch Implementation for pNLP-Mixer: an Efficient all-MLP Architecture for Language (https://arxiv.org/abs/2202.04350)☆62Updated 2 years ago
- DropIT: Dropping Intermediate Tensors for Memory-Efficient DNN Training (ICLR 2023)☆30Updated last year