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☆129Updated last year
- ☆164Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Implementation of Feedback Transformer in Pytorch☆105Updated 4 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- Fully featured implementation of Routing Transformer☆289Updated 3 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆73Updated 2 years ago
- Sequence Modeling with Structured State Spaces☆63Updated 2 years ago
- Implementation of ETSformer, state of the art time-series Transformer, in Pytorch☆152Updated last year
- Code repository of the paper "CKConv: Continuous Kernel Convolution For Sequential Data" published at ICLR 2022. https://arxiv.org/abs/21…☆119Updated 2 years ago
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆70Updated last year
- Sequence modeling with Mega.☆295Updated 2 years ago
- Axial Positional Embedding for Pytorch☆75Updated 3 weeks ago
- Implementation of Fast Transformer in Pytorch☆173Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆260Updated 3 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 3 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆224Updated last year
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆133Updated 4 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆134Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆113Updated 4 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆118Updated 3 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 2 years ago
- An implementation of local windowed attention for language modeling☆428Updated 2 months ago
- A library for making Transformer Variational Autoencoders. (Extends the Huggingface/transformers library.)☆137Updated 3 years ago
- Implementation of Linformer for Pytorch☆274Updated last year
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆103Updated 3 years ago
- GPT, but made only out of MLPs☆88Updated 3 years ago
- MODALS: Modality-agnostic Automated Data Augmentation in the Latent Space☆40Updated 4 years ago