OpenNLPLab / HGRN
[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
- ☆47Updated last year
- ☆53Updated 9 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆19Updated 2 years ago
- Stick-breaking attention☆52Updated last month
- ☆31Updated last year
- ☆51Updated 2 years ago
- ☆32Updated last year
- ☆51Updated 11 months ago
- ☆103Updated last year
- Randomized Positional Encodings Boost Length Generalization of Transformers☆81Updated last year
- ☆27Updated 9 months 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
- ☆23Updated 7 months ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆50Updated 5 months ago
- Here we will test various linear attention designs.☆60Updated last year
- ☆37Updated last year
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆26Updated 3 weeks ago
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amount…☆53Updated last year
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆97Updated 3 weeks ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆60Updated last year
- ☆31Updated 6 months ago
- ☆78Updated 8 months ago
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated 10 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆37Updated 6 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆86Updated last year
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆14Updated 11 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆37Updated last year
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated last year