facebookresearch / megaLinks
Sequence modeling with Mega.
☆303Updated 3 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☆206Updated 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)☆549Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- ☆163Updated 3 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆223Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆390Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆220Updated 2 years ago
- An implementation of local windowed attention for language modeling☆495Updated 6 months ago
- FairSeq repo with Apollo optimizer☆114Updated 2 years ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆224Updated last year
- ☆259Updated 7 months ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆181Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆102Updated 2 years ago
- Recurrent Memory Transformer☆155Updated 2 years ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆137Updated last year
- Pytorch implementation of Compressive Transformers, from Deepmind☆163Updated 4 years ago
- Implementation of Linformer for Pytorch☆306Updated 2 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆422Updated last year
- ☆367Updated last year
- Efficient Transformers with Dynamic Token Pooling☆67Updated 2 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆776Updated 2 years ago
- ☆167Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆126Updated 5 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆378Updated last year
- Fully featured implementation of Routing Transformer☆300Updated 4 years ago
- Root Mean Square Layer Normalization☆261Updated 2 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆235Updated 2 years ago
- ☆150Updated 2 years ago