facebookresearch / megaLinks
Sequence modeling with Mega.
☆302Updated 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☆207Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆231Updated last year
- Code for the ALiBi method for transformer language models (ICLR 2022)☆547Updated 2 years ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆83Updated last year
- An implementation of local windowed attention for language modeling☆491Updated 5 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Recurrent Memory Transformer☆154Updated 2 years ago
- FairSeq repo with Apollo optimizer☆114Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆223Updated last year
- ☆164Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆101Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆163Updated 4 years ago
- ☆364Updated last year
- Root Mean Square Layer Normalization☆259Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆388Updated 2 years ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆224Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆422Updated 11 months ago
- ☆259Updated 6 months ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆126Updated 5 years ago
- ☆167Updated 2 years ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆138Updated last year
- Implementation of Linformer for Pytorch☆303Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆374Updated last year
- Long Range Arena for Benchmarking Efficient Transformers☆771Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆219Updated 2 years ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆179Updated 2 years ago
- ☆67Updated last year
- Efficient Transformers with Dynamic Token Pooling☆66Updated 2 years ago
- A minimal PyTorch Lightning OpenAI GPT w DeepSpeed Training!☆113Updated 2 years ago
- Sequence Modeling with Structured State Spaces☆67Updated 3 years ago