lucidrains / h-transformer-1dLinks
Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning
☆163Updated 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
Sorting:
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆137Updated 4 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
- Axial Positional Embedding for Pytorch☆83Updated 5 months ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆175Updated 3 years ago
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 4 years ago
- ☆163Updated 2 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆134Updated 3 years ago
- Fully featured implementation of Routing Transformer☆297Updated 3 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 4 years ago
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆144Updated 4 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆227Updated 2 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- Adaptive Gradient Clipping☆136Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆259Updated 4 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆239Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆267Updated 3 years ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆179Updated last year
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆82Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- ☆378Updated last year
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆62Updated 3 years ago
- MODALS: Modality-agnostic Automated Data Augmentation in the Latent Space☆41Updated 4 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆74Updated 2 years ago
- Implementation of ETSformer, state of the art time-series Transformer, in Pytorch☆153Updated last year
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆70Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆119Updated 4 years ago
- Another attempt at a long-context / efficient transformer by me☆38Updated 3 years ago
- Sequence modeling with Mega.☆297Updated 2 years ago