OpenNLPLab / HGRN2
HGRN2: Gated Linear RNNs with State Expansion
☆54Updated 7 months ago
Alternatives and similar repositories for HGRN2:
Users that are interested in HGRN2 are comparing it to the libraries listed below
- Official code for the paper "Attention as a Hypernetwork"☆27Updated 9 months ago
- ☆23Updated 6 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 11 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆26Updated 11 months ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆25Updated this week
- Official Code Repository for the paper "Key-value memory in the brain"☆24Updated last month
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 10 months ago
- Here we will test various linear attention designs.☆60Updated 11 months ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated 5 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- ☆46Updated last year
- ☆31Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated 10 months ago
- ☆32Updated last year
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆49Updated 2 years ago
- ☆53Updated 9 months ago
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆11Updated last year
- ☆75Updated 7 months ago
- Official implementation of RMoE (Layerwise Recurrent Router for Mixture-of-Experts)☆19Updated 8 months ago
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated this week
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆89Updated this week
- ☆15Updated last year
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆42Updated last month
- A repository for DenseSSMs☆87Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆44Updated 2 months ago
- Stick-breaking attention☆50Updated 3 weeks ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆50Updated 4 months ago
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated last year
- ☆31Updated 5 months ago
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆65Updated 6 months ago