OpenNLPLab / HGRNLinks
[NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Sequence Modeling
☆65Updated last year
Alternatives and similar repositories for HGRN
Users that are interested in HGRN are comparing it to the libraries listed below
Sorting:
- ☆55Updated 11 months ago
- ☆48Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆55Updated 10 months ago
- ☆32Updated last year
- ☆27Updated 11 months ago
- ☆23Updated 8 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆105Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆81Updated last year
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆108Updated last month
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆21Updated last month
- ☆32Updated last year
- ☆51Updated 2 years ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆28Updated 2 months ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆51Updated 6 months ago
- ☆19Updated 2 years ago
- Stick-breaking attention☆57Updated this week
- Griffin MQA + Hawk Linear RNN Hybrid☆87Updated last year
- The official implementation for Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free☆44Updated last month
- ☆31Updated 8 months ago
- ☆37Updated last year
- Here we will test various linear attention designs.☆59Updated last year
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆14Updated last year
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆60Updated last year
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated last month
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆38Updated last week
- Implementation of Griffin from the paper: "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆55Updated 2 months ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆52Updated 2 years ago
- ☆79Updated 10 months ago