lucidrains / h-transformer-1dLinks
Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning
☆165Updated 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:
- Axial Positional Embedding for Pytorch☆84Updated 8 months ago
- Implementation of Feedback Transformer in Pytorch☆108Updated 4 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆141Updated 7 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆206Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆177Updated 4 years ago
- Unofficial PyTorch implementation of Fastformer based on paper "Fastformer: Additive Attention Can Be All You Need"."☆133Updated 4 years ago
- Fully featured implementation of Routing Transformer☆296Updated 4 years 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 Long-Short Transformer, combining local and global inductive biases for attention over long sequences, in Pytorch☆120Updated 4 years ago
- Unofficial PyTorch implementation of Attention Free Transformer (AFT) layers by Apple Inc.☆243Updated 3 years ago
- ☆164Updated 2 years ago
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆85Updated 2 weeks ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆235Updated 2 years ago
- Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms☆260Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- GPT, but made only out of MLPs☆89Updated 4 years ago
- A simple to use pytorch wrapper for contrastive self-supervised learning on any neural network☆150Updated 4 years ago
- A PyTorch implementation of the paper - "Synthesizer: Rethinking Self-Attention in Transformer Models"☆73Updated 2 years ago
- Official code repository of the paper Linear Transformers Are Secretly Fast Weight Programmers.☆108Updated 4 years ago
- Experimenting with different regression losses. Implemented in Pytorch.☆148Updated 6 years ago
- Unofficial PyTorch implementation of Google's FNet: Mixing Tokens with Fourier Transforms. With checkpoints.☆77Updated 3 years ago
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆63Updated 3 years ago
- Graph neural network message passing reframed as a Transformer with local attention☆70Updated 2 years ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆179Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆162Updated 4 years ago
- A variant of Transformer-XL where the memory is updated not with a queue, but with attention☆49Updated 5 years ago
- Implementation of Memory-Compressed Attention, from the paper "Generating Wikipedia By Summarizing Long Sequences"☆69Updated 2 years ago
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆268Updated 4 years ago
- Relative Positional Encoding for Transformers with Linear Complexity☆65Updated 3 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆124Updated 5 years ago