lucidrains / Mega-pytorchLinks
Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena
☆204Updated last year
Alternatives and similar repositories for Mega-pytorch
Users that are interested in Mega-pytorch are comparing it to the libraries listed below
Sorting:
- Sequence modeling with Mega.☆296Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated last year
- ☆163Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated 9 months ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆252Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆219Updated 10 months ago
- Sequence Modeling with Structured State Spaces☆64Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆160Updated 3 years ago
- Implementation of Discrete Key / Value Bottleneck, in Pytorch☆88Updated last year
- Implementation of a Transformer that Ponders, using the scheme from the PonderNet paper☆81Updated 3 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Axial Positional Embedding for Pytorch☆81Updated 3 months ago
- Implementation of Recurrent Interface Network (RIN), for highly efficient generation of images and video without cascading networks, in P…☆204Updated last year
- ☆355Updated last year
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 2 years ago
- Another attempt at a long-context / efficient transformer by me☆38Updated 3 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 3 years ago
- Implementation of Nyström Self-attention, from the paper Nyströmformer☆135Updated 3 months ago
- Implementation of Fast Transformer in Pytorch☆175Updated 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
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆214Updated 10 months ago
- Named tensors with first-class dimensions for PyTorch☆331Updated 2 years ago
- Implementation of Bit Diffusion, Hinton's group's attempt at discrete denoising diffusion, in Pytorch☆350Updated last year
- Fully featured implementation of Routing Transformer☆295Updated 3 years ago
- Implementation of Feedback Transformer in Pytorch☆107Updated 4 years ago
- Code release for "Dropout Reduces Underfitting"☆313Updated 2 years ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆89Updated last year
- Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning☆161Updated last year