lucidrains / h-transformer-1d
Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning
☆155Updated 9 months ago
Related projects ⓘ
Alternatives and complementary repositories for h-transformer-1d
- Sequence Modeling with Structured State Spaces☆60Updated 2 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆122Updated 10 months ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆95Updated last year
- Implementation of Fast Transformer in Pytorch☆171Updated 3 years ago
- Fully featured implementation of Routing Transformer☆284Updated 3 years ago
- ☆164Updated last year
- Implementation of ETSformer, state of the art time-series Transformer, in Pytorch☆148Updated last year
- Relative Positional Encoding for Transformers with Linear Complexity☆61Updated 2 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆222Updated 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
- An implementation of local windowed attention for language modeling☆384Updated 2 months ago
- Implementation of Feedback Transformer in Pytorch☆104Updated 3 years ago
- Sequence modeling with Mega.☆298Updated last year
- MODALS: Modality-agnostic Automated Data Augmentation in the Latent Space☆40Updated 3 years ago
- Implementation of Linformer for Pytorch☆257Updated 10 months ago
- Code repository of the paper "CKConv: Continuous Kernel Convolution For Sequential Data" published at ICLR 2022. https://arxiv.org/abs/21…☆117Updated last year
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆67Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆251Updated 3 years ago
- ☆365Updated last year
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆253Updated 3 years ago
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆71Updated last year
- Axial Positional Embedding for Pytorch☆60Updated 3 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 2 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆222Updated last year
- GPT, but made only out of MLPs☆86Updated 3 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆207Updated last year
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆79Updated 3 years ago