OpenNLPLab / HGRN2Links
HGRN2: Gated Linear RNNs with State Expansion
☆56Updated last year
Alternatives and similar repositories for HGRN2
Users that are interested in HGRN2 are comparing it to the libraries listed below
Sorting:
- ☆24Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆46Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- ☆51Updated last year
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆134Updated 2 weeks ago
- ☆32Updated last year
- A repository for DenseSSMs☆88Updated last year
- ☆57Updated last year
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12Updated 2 years ago
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆58Updated last year
- Unofficial Implementation of Selective Attention Transformer☆20Updated last year
- Official Code Repository for the paper "Key-value memory in the brain"☆31Updated 10 months ago
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated 2 years ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆28Updated 3 months ago
- ☆35Updated last year
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆15Updated 11 months ago
- ☆91Updated last year
- Stick-breaking attention☆62Updated 6 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated 6 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆86Updated last year
- Official PyTorch Implementation for Vision-Language Models Create Cross-Modal Task Representations, ICML 2025☆31Updated 8 months ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆32Updated 8 months ago
- ☆29Updated last year
- ☆35Updated last year
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- Code for the paper "Cottention: Linear Transformers With Cosine Attention"☆20Updated last month
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆49Updated 2 years ago