OpenNLPLab / HGRN2Links
HGRN2: Gated Linear RNNs with State Expansion
☆55Updated 10 months ago
Alternatives and similar repositories for HGRN2
Users that are interested in HGRN2 are comparing it to the libraries listed below
Sorting:
- Official code for the paper "Attention as a Hypernetwork"☆40Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆23Updated 9 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- ☆32Updated last year
- ☆48Updated last year
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆22Updated 2 months ago
- Here we will test various linear attention designs.☆60Updated last year
- Official Code Repository for the paper "Key-value memory in the brain"☆27Updated 4 months ago
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆31Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated last month
- ☆82Updated 10 months ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆28Updated 3 months ago
- Stick-breaking attention☆58Updated last week
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- Code for the paper "Cottention: Linear Transformers With Cosine Attention"☆17Updated 8 months ago
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆98Updated 9 months ago
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆115Updated last week
- ☆32Updated last year
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 2 months ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated last week
- ☆55Updated last year
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆52Updated 7 months ago
- The open-source materials for paper "Sparsing Law: Towards Large Language Models with Greater Activation Sparsity".☆23Updated 8 months ago
- [ICLR'25] "Understanding Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing" by Peihao Wang, Ruisi Cai, Yue…☆13Updated 3 months ago
- ☆32Updated 8 months ago
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12Updated 2 years ago
- The official repository for our paper "The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns …☆16Updated last month
- ☆21Updated 2 years ago
- ☆27Updated last year