facebookresearch / megaLinks
Sequence modeling with Mega.
☆300Updated 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 the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆207Updated 2 years ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆543Updated last year
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆227Updated 3 years ago
- An implementation of local windowed attention for language modeling☆480Updated 2 months ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- ☆164Updated 2 years ago
- Implementation of Block Recurrent Transformer - Pytorch☆222Updated last year
- 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☆164Updated 4 years ago
- FairSeq repo with Apollo optimizer☆114Updated last year
- Recurrent Memory Transformer☆150Updated 2 years ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆179Updated 2 years ago
- ☆256Updated 3 months ago
- ☆363Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆381Updated 2 years ago
- Implementation of Linformer for Pytorch☆300Updated last year
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆417Updated 8 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆223Updated last year
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆216Updated 2 years ago
- Implementation of Memformer, a Memory-augmented Transformer, in Pytorch☆124Updated 4 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆764Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆363Updated last year
- Efficient Transformers with Dynamic Token Pooling☆64Updated 2 years ago
- Sequence Modeling with Structured State Spaces☆66Updated 3 years ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆136Updated last year
- This is the implementation of the paper AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning (https://arxiv.org/abs/2205.1…☆134Updated 2 years ago
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆63Updated 3 years ago
- Root Mean Square Layer Normalization☆254Updated 2 years ago
- A simple and working implementation of Electra, the fastest way to pretrain language models from scratch, in Pytorch☆231Updated 2 years ago