Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"
☆564Dec 28, 2024Updated last year
Alternatives and similar repositories for m2
Users that are interested in m2 are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Understand and test language model architectures on synthetic tasks.☆291Mar 22, 2026Updated 7 months ago
- FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores☆355Dec 28, 2024Updated last year
- Convolutions for Sequence Modeling☆922Jun 13, 2024Updated 2 years ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆258Jun 6, 2025Updated last year
- Language Modeling with the H3 State Space Model☆527Sep 29, 2023Updated 3 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- ☆65Jul 9, 2024Updated 2 years ago
- Train Models Contrastively in Pytorch☆805Mar 26, 2025Updated last year
- Official Repository of Pretraining Without Attention (BiGS), BiGS is the first model to achieve BERT-level transfer learning on the GLUE …☆119Mar 16, 2024Updated 2 years ago
- Accelerated First Order Parallel Associative Scan☆197Jan 7, 2026Updated 9 months ago
- The repository for the code of the UltraFastBERT paper☆518Mar 24, 2024Updated 2 years ago
- Medusa: Simple Framework for Accelerating LLM Generation with Multiple Decoding Heads☆2,774Jun 25, 2024Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆231Aug 14, 2026Updated 2 months ago
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decoding☆1,345Mar 6, 2025Updated last year
- Implementation of GateLoop Transformer in Pytorch and Jax☆93Jun 18, 2024Updated 2 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆209May 20, 2024Updated 2 years ago
- ☆63Oct 3, 2024Updated 2 years ago
- YaRN: Efficient Context Window Extension of Large Language Models☆1,808Apr 17, 2024Updated 2 years ago
- Official implementation of "Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers"☆179Jan 30, 2025Updated last year
- Efficient PScan implementation in PyTorch☆17Jan 2, 2024Updated 2 years ago
- Some preliminary explorations of Mamba's context scaling.☆223Feb 8, 2024Updated 2 years ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆58Dec 4, 2024Updated last year
- [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
- An annotated implementation of the Hyena Hierarchy paper☆34May 28, 2023Updated 3 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- ☆16Dec 9, 2023Updated 2 years ago
- Foundation Architecture for (M)LLMs☆3,142Apr 11, 2024Updated 2 years ago
- Sequence modeling with Mega.☆300Jan 28, 2023Updated 3 years ago
- ModuleFormer is a MoE-based architecture that includes two different types of experts: stick-breaking attention heads and feedforward exp…☆223Sep 18, 2025Updated last year
- Large Context Attention☆775Oct 13, 2025Updated last year
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,273Jul 11, 2024Updated 2 years ago
- ☆54May 20, 2024Updated 2 years ago
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,768Updated this week
- HGRN2: Gated Linear RNNs with State Expansion☆59Aug 20, 2024Updated 2 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- [NeurIPS 2023] MeZO: Fine-Tuning Language Models with Just Forward Passes. https://arxiv.org/abs/2305.17333☆1,181Jan 11, 2024Updated 2 years ago
- Extend existing LLMs way beyond the original training length with constant memory usage, without retraining☆734Apr 10, 2024Updated 2 years ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,267Aug 22, 2025Updated last year
- ☆556Feb 8, 2026Updated 8 months ago
- ☆83Apr 16, 2024Updated 2 years ago
- Helpful tools and examples for working with flex-attention☆1,263Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆8,536Updated this week