prateekstark / retnet
☆13Updated last year
Alternatives and similar repositories for retnet
Users that are interested in retnet are comparing it to the libraries listed below
Sorting:
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆53Updated last month
- an implementation of paper"Retentive Network: A Successor to Transformer for Large Language Models" https://arxiv.org/pdf/2307.08621.pdf☆12Updated last year
- ☆23Updated 7 months ago
- ☆27Updated 10 months ago
- An implementation of mLSTM and sLSTM in PyTorch.☆28Updated 11 months ago
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆12Updated 4 months ago
- PyTorch implementation of Retentive Network: A Successor to Transformer for Large Language Models☆14Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated last year
- Cuda implementation of Extended Long Short Term Memory (xLSTM) with C++ and PyTorch ports☆87Updated 11 months ago
- This is a simple torch implementation of the high performance Multi-Query Attention☆17Updated last year
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆42Updated 2 months ago
- ☆16Updated 2 years ago
- ☆24Updated last year
- My implementation of the original transformer model (Vaswani et al.). I've additionally included the playground.py file for visualizing o…☆43Updated 5 months ago
- ☆20Updated 2 years ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- Implementation of xLSTM in Pytorch from the paper: "xLSTM: Extended Long Short-Term Memory"☆119Updated last month
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆105Updated last year
- A repository for DenseSSMs☆87Updated last year
- Virtual Adversarial Training (VAT) techniques in PyTorch☆17Updated 2 years ago
- ☆15Updated 4 months ago
- ☆54Updated 10 months ago
- ☆51Updated 2 years ago
- Implementation of MambaFormer in Pytorch ++ Zeta from the paper: "Can Mamba Learn How to Learn? A Comparative Study on In-Context Learnin…☆21Updated 3 weeks ago
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆53Updated 11 months ago
- Efficient implementations of state-of-the-art linear attention models in Pytorch and Triton☆28Updated last week
- A Triton Kernel for incorporating Bi-Directionality in Mamba2☆66Updated 5 months ago
- Transformer model based on Kolmogorov–Arnold Network(KAN), which is an alternative of Multi-Layer Perceptron(MLP)☆28Updated last month
- MNIST example using Kolmogorov-Arnold Networks☆27Updated last year
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆13Updated 2 weeks ago