OpenNLPLab / HGRNLinks
[NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Sequence Modeling
☆66Updated last year
Alternatives and similar repositories for HGRN
Users that are interested in HGRN are comparing it to the libraries listed below
Sorting:
- ☆50Updated last year
- ☆57Updated last year
- ☆29Updated last year
- ☆20Updated 3 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆80Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆89Updated last year
- ☆52Updated 2 years ago
- ☆23Updated last year
- ☆32Updated last year
- Efficient PScan implementation in PyTorch☆17Updated last year
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 6 months ago
- Here we will test various linear attention designs.☆62Updated last year
- ☆106Updated last year
- Stick-breaking attention☆61Updated 5 months ago
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆15Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆83Updated last year
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆134Updated last month
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆63Updated 2 years ago
- ☆33Updated last year
- ☆35Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆15Updated 10 months ago
- Experiments on the impact of depth in transformers and SSMs.☆38Updated last month
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆56Updated 2 years ago
- Efficient Transformers with Dynamic Token Pooling☆65Updated 2 years ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆31Updated 7 months ago
- Official Code Repository for the paper "Key-value memory in the brain"☆29Updated 9 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆39Updated last year