Doraemonzzz / hgru2-pytorchLinks
☆24Updated last year
Alternatives and similar repositories for hgru2-pytorch
Users that are interested in hgru2-pytorch are comparing it to the libraries listed below
Sorting:
- HGRN2: Gated Linear RNNs with State Expansion☆56Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- ☆34Updated last year
- ☆32Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- Code for "Theoretical Foundations of Deep Selective State-Space Models" (NeurIPS 2024)☆15Updated 11 months ago
- Curse-of-memory phenomenon of RNNs in sequence modelling☆19Updated 7 months ago
- Official code for the paper "Attention as a Hypernetwork"☆46Updated last year
- ☆29Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- MambaFormer in-context learning experiments and implementation for https://arxiv.org/abs/2402.04248☆57Updated last year
- ☆16Updated last year
- Official Code Repository for the paper "Key-value memory in the brain"☆31Updated 9 months ago
- ☆51Updated last year
- ☆35Updated last year
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- Parallelizing non-linear sequential models over the sequence length☆56Updated 6 months ago
- Efficient PScan implementation in PyTorch☆17Updated last year
- ☆20Updated last year
- User-friendly implementation of the Mixture-of-Sparse-Attention (MoSA). MoSA selects distinct tokens for each head with expert choice rou…☆28Updated 7 months ago
- Xmixers: A collection of SOTA efficient token/channel mixers☆28Updated 3 months ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆49Updated 2 years ago
- ☆57Updated last year
- Code for the paper "Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns"☆18Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆58Updated 10 months ago
- Unofficial implementation of paper : Exploring the Space of Key-Value-Query Models with Intention☆12Updated 2 years ago
- [NeurIPS 2023] Sparse Modular Activation for Efficient Sequence Modeling☆40Updated 2 years ago
- [ICLR 2025] Official Code Release for Explaining Modern Gated-Linear RNNs via a Unified Implicit Attention Formulation☆47Updated 9 months ago
- [ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning☆134Updated this week