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:
- ☆51Updated 2 years ago
- ☆58Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆29Updated last year
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆81Updated last year
- Efficient PScan implementation in PyTorch☆17Updated 2 years ago
- ☆24Updated last year
- ☆35Updated last year
- ☆20Updated 3 years ago
- ☆32Updated 2 years ago
- Griffin MQA + Hawk Linear RNN Hybrid☆88Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- ☆33Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- ☆106Updated last year
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆28Updated 9 months ago
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆137Updated last month
- ☆52Updated 3 years ago
- Efficient Transformers with Dynamic Token Pooling☆67Updated 2 years ago
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 9 months ago
- Stick-breaking attention☆62Updated 7 months ago
- ☆20Updated 2 years ago
- Official code for the paper "Attention as a Hypernetwork"☆47Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- ☆53Updated last year
- [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
- ☆27Updated 6 months ago
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated 2 years ago
- ☆108Updated last year