OpenNLPLab / HGRN2
HGRN2: Gated Linear RNNs with State Expansion
☆53Updated 6 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"☆25Updated 8 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 10 months ago
- ☆24Updated 5 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆25Updated 10 months ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆23Updated 7 months ago
- Here we will test various linear attention designs.☆59Updated 10 months ago
- ☆33Updated last year
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆36Updated 5 months ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆11Updated 4 months ago
- ☆30Updated last year
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 9 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
- ☆47Updated last year
- ☆51Updated 8 months ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆48Updated 2 years ago
- Official Code Repository for the paper "Key-value memory in the brain"☆23Updated 2 weeks ago
- Official repository of "LiNeS: Post-training Layer Scaling Prevents Forgetting and Enhances Model Merging"☆24Updated 4 months ago
- Stick-breaking attention☆48Updated this week
- [ICML 2023] "Data Efficient Neural Scaling Law via Model Reusing" by Peihao Wang, Rameswar Panda, Zhangyang Wang☆14Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- ☆73Updated 6 months ago
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated 9 months ago
- ☆100Updated last year
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆48Updated 3 months ago
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆61Updated 5 months ago
- [Oral; Neurips OPT2024 ] μLO: Compute-Efficient Meta-Generalization of Learned Optimizers☆12Updated 3 months ago
- Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆14Updated 2 months ago
- Triton implement of bi-directional (non-causal) linear attention☆43Updated last month