facebookresearch / mega
Sequence modeling with Mega.
☆295Updated 2 years ago
Alternatives and similar repositories for mega
Users that are interested in mega are comparing it to the libraries listed below
Sorting:
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆226Updated 8 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆526Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 8 months ago
- FairSeq repo with Apollo optimizer☆114Updated last year
- ☆164Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆407Updated 4 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆212Updated 8 months ago
- An implementation of local windowed attention for language modeling☆447Updated 3 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆330Updated 10 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆377Updated last year
- ☆256Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- ☆353Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆81Updated last year
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆115Updated 4 years ago
- Recurrent Memory Transformer☆149Updated last year
- Implementation of Linformer for Pytorch☆283Updated last year
- Sequence Modeling with Structured State Spaces☆63Updated 2 years ago
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆60Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆753Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆157Updated 3 years ago
- ☆146Updated last year
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆387Updated last year
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆135Updated last year
- Fully featured implementation of Routing Transformer☆291Updated 3 years ago
- Implementation of https://srush.github.io/annotated-s4☆494Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆673Updated 5 months ago