OpenNLPLab / HGRNLinks
[NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Sequence Modeling
☆64Updated last year
Alternatives and similar repositories for HGRN
Users that are interested in HGRN are comparing it to the libraries listed below
Sorting:
- ☆46Updated last year
- ☆54Updated 10 months ago
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆16Updated last month
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 9 months ago
- ☆26Updated 10 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆18Updated 2 years ago
- ☆31Updated last year
- The official implementation for Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free☆38Updated 3 weeks ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆82Updated last year
- Here we will test various linear attention designs.☆58Updated last year
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆104Updated 2 weeks ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆50Updated 6 months ago
- ☆51Updated 2 years ago
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆14Updated last year
- ☆31Updated 7 months ago
- ☆23Updated 8 months ago
- ☆52Updated last year
- ☆103Updated last year
- Stick-breaking attention☆56Updated 2 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆86Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆60Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆28Updated last month
- ☆31Updated last year
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆38Updated 7 months ago
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆79Updated last year
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆78Updated 2 weeks ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆51Updated 2 years ago
- ☆37Updated last year
- Curse-of-memory phenomenon of RNNs in sequence modelling☆18Updated 3 weeks ago