Sequence modeling with Mega.
☆300Jan 28, 2023Updated 3 years ago
Alternatives and similar repositories for mega
Users that are interested in mega are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- FairSeq repo with Apollo optimizer☆113Dec 20, 2023Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆206Aug 26, 2023Updated 3 years ago
- ☆165Jan 24, 2023Updated 3 years ago
- Structured state space sequence models☆2,934Jul 17, 2024Updated 2 years ago
- ☆325Jan 8, 2025Updated last year
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Language Modeling with the H3 State Space Model☆528Sep 29, 2023Updated 3 years ago
- ☆23Oct 15, 2022Updated 4 years ago
- Long-context pretrained encoder-decoder models☆97Oct 28, 2022Updated 4 years ago
- ☆53Jan 19, 2023Updated 3 years ago
- Efficient PScan implementation in PyTorch☆17Jan 2, 2024Updated 2 years ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆260Jun 6, 2025Updated last year
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆100Feb 25, 2023Updated 3 years ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆68Apr 24, 2024Updated 2 years ago
- Convolutions for Sequence Modeling☆919Jun 13, 2024Updated 2 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- ☆30Jul 2, 2023Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆787Dec 16, 2023Updated 2 years ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Dec 2, 2023Updated 2 years ago
- Foundation Architecture for (M)LLMs☆3,142Apr 11, 2024Updated 2 years ago
- ☆52Jan 28, 2024Updated 2 years ago
- Trains Transformer model variants. Data isn't shuffled between batches.☆145Oct 5, 2022Updated 4 years ago
- M2D2: A Massively Multi-domain Language Modeling Dataset (EMNLP 2022) by Machel Reid, Victor Zhong, Suchin Gururangan, Luke Zettlemoyer☆56Nov 21, 2022Updated 3 years ago
- Training and evaluation code for the paper "Headless Language Models: Learning without Predicting with Contrastive Weight Tying" (https:/…☆30Apr 17, 2024Updated 2 years ago
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,061Mar 7, 2024Updated 2 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Code for the ALiBi method for transformer language models (ICLR 2022)☆558Oct 30, 2023Updated 3 years ago
- Implementation of https://srush.github.io/annotated-s4☆520Jun 20, 2025Updated last year
- Accelerated First Order Parallel Associative Scan☆197Jan 7, 2026Updated 10 months ago
- Understand and test language model architectures on synthetic tasks.☆294Mar 22, 2026Updated 7 months ago
- ☆261Jun 6, 2025Updated last year
- Code for the paper "Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns"☆19Mar 15, 2024Updated 2 years ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆58Dec 4, 2024Updated last year
- ☆107Mar 9, 2024Updated 2 years ago
- Reference implementation of Megalodon 7B model☆526May 17, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- [NeurIPS 2022]MorphTE: Injecting Morphology in Tensorized Embeddings☆17Oct 29, 2022Updated 4 years ago
- A PyTorch Implementation of the Luna: Linear Unified Nested Attention☆42Jul 29, 2021Updated 5 years ago
- Fine-Tuning Pre-trained Transformers into Decaying Fast Weights☆20Oct 9, 2022Updated 4 years ago
- Code for NeurIPS 2023 paper "Non-autoregressive Machine Translation with Probabilistic Context-free Grammar".☆12Jan 4, 2024Updated 2 years ago
- ☆13Feb 7, 2023Updated 3 years ago
- Pytorch library for fast transformer implementations☆1,785Mar 23, 2023Updated 3 years ago
- Repo for ICML23 "Why do Nearest Neighbor Language Models Work?"☆59Jan 12, 2023Updated 3 years ago
Are these results useful?