zhixuan-lin / forgetting-transformerLinks
[ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning
☆134Updated 3 weeks ago
Alternatives and similar repositories for forgetting-transformer
Users that are interested in forgetting-transformer are comparing it to the libraries listed below
Sorting:
- Stick-breaking attention☆62Updated 6 months ago
- ☆103Updated 10 months ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆105Updated 7 months ago
- ☆265Updated 7 months ago
- implementations and experimentation on mHC by deepseek - https://arxiv.org/abs/2512.24880☆202Updated last week
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆40Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆60Updated 11 months ago
- Here we will test various linear attention designs.☆62Updated last year
- ☆36Updated 10 months ago
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆118Updated last year
- ☆115Updated 3 months ago
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆80Updated last year
- Official Code Repository for the paper "Continuous Diffusion Model for Language Modeling" (NeurIPS 2025).☆55Updated 3 months ago
- Some preliminary explorations of Mamba's context scaling.☆218Updated last year
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆104Updated last year
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆421Updated 3 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆132Updated 2 months ago
- Official PyTorch implementation and models for paper "Diffusion Beats Autoregressive in Data-Constrained Settings". We find diffusion mod…☆118Updated this week
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Models☆234Updated 2 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆225Updated 6 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆104Updated last year
- Implementation of a multimodal diffusion transformer in Pytorch☆107Updated last year
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆57Updated last year
- ☆106Updated last year
- Official Repo for Error-Free Linear Attention is a Free Lunch: Exact Solution from Continuous-Time Dynamics☆69Updated 2 weeks ago
- Remasking Discrete Diffusion Models with Inference-Time Scaling☆64Updated 10 months ago
- Code for paper "Patch-Level Training for Large Language Models"☆96Updated 2 months ago
- The official github repo for "Diffusion Language Models are Super Data Learners".☆215Updated 2 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models☆47Updated 5 months ago