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:
- ☆49Updated last year
- ☆56Updated last year
- ☆28Updated last year
- ☆19Updated 2 years ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆14Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- Efficient PScan implementation in PyTorch☆16Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆89Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆31Updated 5 months ago
- ☆23Updated last year
- ☆33Updated 11 months ago
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆80Updated last year
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆132Updated last week
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- ☆32Updated last year
- Stick-breaking attention☆60Updated 3 months ago
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 4 months ago
- ☆85Updated last year
- ☆106Updated last year
- ☆33Updated last year
- Efficient Transformers with Dynamic Token Pooling☆64Updated 2 years ago
- ☆53Updated last year
- Experiments on the impact of depth in transformers and SSMs.☆34Updated 10 months ago
- ☆34Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆63Updated 2 years ago
- ☆38Updated last year
- ☆101Updated last year
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆26Updated 5 months ago