OpenNLPLab / HGRN
[NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Sequence Modeling
☆64Updated 11 months ago
Alternatives and similar repositories for HGRN:
Users that are interested in HGRN are comparing it to the libraries listed below
- ☆47Updated last year
- ☆52Updated 8 months ago
- ☆33Updated last year
- ☆30Updated last year
- HGRN2: Gated Linear RNNs with State Expansion☆53Updated 7 months ago
- Stick-breaking attention☆48Updated last week
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆26Updated 11 months ago
- ☆24Updated 6 months ago
- ☆19Updated 2 years ago
- Here we will test various linear attention designs.☆60Updated 11 months ago
- ☆51Updated 2 years ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆80Updated last year
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆79Updated 11 months ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆48Updated 2 years ago
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆99Updated 2 years ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆50Updated 3 months ago
- [ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"☆76Updated last week
- ☆51Updated 10 months ago
- ☆37Updated 11 months 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
- ☆28Updated 8 months ago
- [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 this week
- ☆30Updated 5 months ago
- ☆102Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 10 months ago
- Jax implementation of "Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models"☆14Updated 10 months ago
- Blog post☆17Updated last year
- [NeurIPS 2022] Your Transformer May Not be as Powerful as You Expect (official implementation)☆34Updated last year
- Code for paper "Diffusion Language Models Can Perform Many Tasks with Scaling and Instruction-Finetuning"☆72Updated last year