zhixuan-lin / forgetting-transformerLinks
[ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"
☆115Updated last week
Alternatives and similar repositories for forgetting-transformer
Users that are interested in forgetting-transformer are comparing it to the libraries listed below
Sorting:
- Triton implement of bi-directional (non-causal) linear attention☆51Updated 5 months ago
- ☆76Updated 4 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆185Updated 3 months ago
- Remasking Discrete Diffusion Models with Inference-Time Scaling☆34Updated 4 months ago
- Stick-breaking attention☆58Updated last week
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆75Updated last month
- ☆33Updated 4 months ago
- ☆222Updated last month
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆101Updated last year
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆89Updated 2 weeks ago
- ☆90Updated 2 months ago
- Code for paper "Patch-Level Training for Large Language Models"☆85Updated 7 months ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆52Updated 7 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆38Updated 9 months ago
- Here we will test various linear attention designs.☆60Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- ☆82Updated 10 months ago
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆110Updated 10 months ago
- ☆51Updated last week
- The evaluation framework for training-free sparse attention in LLMs☆82Updated 3 weeks ago
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆83Updated 6 months ago
- Official PyTorch Implementation for Vision-Language Models Create Cross-Modal Task Representations, ICML 2025☆27Updated 2 months ago
- 🔥 A minimal training framework for scaling FLA models☆188Updated last month
- Code for "Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes"☆28Updated last year
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated 10 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆127Updated 10 months ago
- Code accompanying the paper "Generalized Interpolating Discrete Diffusion"☆91Updated last month
- ☆105Updated last year
- Official code for the paper "Attention as a Hypernetwork"☆40Updated last year
- [ICLR 2023] Official implementation of Transnormer in our ICLR 2023 paper - Toeplitz Neural Network for Sequence Modeling☆79Updated last year