zhixuan-lin / forgetting-transformerLinks
[ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning
☆134Updated last month
Alternatives and similar repositories for forgetting-transformer
Users that are interested in forgetting-transformer are comparing it to the libraries listed below
Sorting:
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆104Updated 6 months ago
- ☆256Updated 5 months ago
- ☆99Updated 9 months ago
- Stick-breaking attention☆61Updated 5 months ago
- Remasking Discrete Diffusion Models with Inference-Time Scaling☆57Updated 8 months ago
- Official PyTorch implementation and models for paper "Diffusion Beats Autoregressive in Data-Constrained Settings". We find diffusion mod…☆109Updated last month
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆116Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆56Updated 10 months ago
- ☆36Updated 8 months ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆56Updated last year
- Code accompanying the paper "Generalized Interpolating Discrete Diffusion"☆108Updated 5 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆39Updated last year
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆131Updated last month
- The official implementation for [NeurIPS2025 Oral] Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink…☆273Updated 2 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
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆379Updated 2 months ago
- ☆106Updated last year
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆212Updated 5 months ago
- M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models☆45Updated 4 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆100Updated last year
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆99Updated 11 months ago
- Implementation of a multimodal diffusion transformer in Pytorch☆106Updated last year
- Some preliminary explorations of Mamba's context scaling.☆217Updated last year
- ☆110Updated 2 months ago
- Official Code Repository for the paper "Continuous Diffusion Model for Language Modeling" (NeurIPS 2025).☆46Updated 2 months ago
- Tiny re-implementation of MDM in style of LLaDA and nano-gpt speedrun☆57Updated 8 months ago
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆74Updated last year
- Griffin MQA + Hawk Linear RNN Hybrid☆89Updated last year
- Code for paper "Patch-Level Training for Large Language Models"☆95Updated 3 weeks ago