lucidrains / h-transformer-1dLinks
Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning
☆161Updated 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 Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Updated 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
- Axial Positional Embedding for Pytorch☆81Updated 4 months ago
- Implementation of Fast Transformer in Pytorch☆175Updated 3 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆135Updated 3 months ago
- ☆163Updated 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"☆71Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Relative Positional Encoding for Transformers with Linear Complexity☆64Updated 3 years ago
- Sequence modeling with Mega.☆296Updated 2 years ago
- Fully featured implementation of Routing Transformer☆295Updated 3 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆264Updated 3 years ago
- Implementation of Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆119Updated 3 years ago
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆237Updated 3 years ago
- Sequence Modeling with Structured State Spaces☆64Updated 2 years ago
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆142Updated 4 years ago
- MODALS: Modality-agnostic Automated Data Augmentation in the Latent Space☆41Updated 4 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆134Updated 3 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆227Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆160Updated 3 years ago
- Implementation of Linformer for Pytorch☆288Updated last year
- ☆376Updated last year
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆105Updated 4 years ago
- A PyTorch implementation of the paper - "Synthesizer: Rethinking Self-Attention in Transformer Models"☆73Updated 2 years ago
- Code for the paper PermuteFormer☆42Updated 3 years ago
- A library for making Transformer Variational Autoencoders. (Extends the Huggingface/transformers library.)☆140Updated 3 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 4 years ago
- Code for Multi-Head Attention: Collaborate Instead of Concatenate☆152Updated 2 years ago