erksch / fnet-pytorchLinks
Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.
☆74Updated 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
Sorting:
- ☆163Updated 2 years ago
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆62Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- Implementation of Linformer for Pytorch☆295Updated last year
- Implementation of Fast Transformer in Pytorch☆175Updated 3 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆138Updated 4 months ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- Unofficial PyTorch Implementation for pNLP-Mixer: an Efficient all-MLP Architecture for Language (https://arxiv.org/abs/2202.04350)☆63Updated 3 years ago
- Code repository of the paper "Modelling Long Range Dependencies in ND: From Task-Specific to a General Purpose CNN" https://arxiv.org/abs…☆184Updated 2 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 4 years ago
- Axial Positional Embedding for Pytorch☆83Updated 5 months ago
- Implementation of Agent Attention in Pytorch☆91Updated last year
- PyTorch implementation of FNet: Mixing Tokens with Fourier transforms☆27Updated 4 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆119Updated 4 years ago
- Code repository for the ICLR 2022 paper "FlexConv: Continuous Kernel Convolutions With Differentiable Kernel Sizes" https://openreview.ne…☆116Updated 2 years ago
- Relative Positional Encoding for Transformers with Linear Complexity☆64Updated 3 years ago
- Sequence Modeling with Structured State Spaces☆65Updated 3 years ago
- Adaptive Gradient Clipping☆136Updated 2 years ago
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆163Updated last year
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 2 years ago
- ☆74Updated 2 years ago
- Implementations of various linear RNN layers using pytorch and triton☆53Updated 2 years ago
- Sequence modeling with Mega.☆297Updated 2 years ago
- An implementation of local windowed attention for language modeling☆470Updated 3 weeks ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- ☆73Updated 4 years ago
- A simple program to calculate and visualize the FLOPs and Parameters of Pytorch models, with handy CLI and easy-to-use Python API.☆129Updated 8 months ago