lucidrains / h-transformer-1d
Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning
☆160Updated last year
Alternatives and similar repositories for h-transformer-1d:
Users that are interested in h-transformer-1d are comparing it to the libraries listed below
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆133Updated last month
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 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
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆135Updated 4 years ago
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Axial Positional Embedding for Pytorch☆79Updated 2 months ago
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆151Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- ☆376Updated last year
- 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☆173Updated 3 years ago
- Sequence Modeling with Structured State Spaces☆63Updated 2 years ago
- Relative Positional Encoding for Transformers with Linear Complexity☆63Updated 3 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆135Updated 3 years ago
- Implementation of ETSformer, state of the art time-series Transformer, in Pytorch☆152Updated last year
- ☆164Updated 2 years ago
- MODALS: Modality-agnostic Automated Data Augmentation in the Latent Space☆40Updated 4 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆262Updated 3 years ago
- GPT, but made only out of MLPs☆88Updated 3 years ago
- Simply Numpy implementation of the FAVOR+ attention mechanism, https://teddykoker.com/2020/11/performers/☆37Updated 4 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 3 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 3 years ago
- Sequence modeling with Mega.☆294Updated 2 years ago
- Pytorch implementation of "Block Recurrent Transformers" (Hutchins & Schlag et al., 2022)☆84Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆115Updated 4 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- A PyTorch implementation of the paper - "Synthesizer: Rethinking Self-Attention in Transformer Models"☆73Updated 2 years ago
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆48Updated 4 years ago