zhixuan-lin / forgetting-transformerLinks
[ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning
☆132Updated 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:
- ☆89Updated 7 months ago
- ☆35Updated 6 months ago
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆99Updated 4 months ago
- Triton implement of bi-directional (non-causal) linear attention☆56Updated 8 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆308Updated 2 weeks ago
- Here we will test various linear attention designs.☆62Updated last year
- ☆101Updated 2 weeks ago
- Official PyTorch implementation and models for paper "Diffusion Beats Autoregressive in Data-Constrained Settings". We find diffusion mod…☆98Updated last month
- Stick-breaking attention☆60Updated 3 months ago
- ☆249Updated 3 months ago
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆53Updated 10 months ago
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆116Updated last year
- Some preliminary explorations of Mamba's context scaling.☆217Updated last year
- Remasking Discrete Diffusion Models with Inference-Time Scaling☆43Updated 6 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆128Updated last year
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆92Updated 9 months ago
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆39Updated 11 months ago
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025)☆31Updated 5 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆102Updated last year
- ☆85Updated last year
- Official PyTorch Implementation for Vision-Language Models Create Cross-Modal Task Representations, ICML 2025☆31Updated 5 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆100Updated last year
- The official implementation for [NeurIPS2025 Oral] Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink…☆81Updated 2 weeks ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆66Updated last year
- [ICLR 2025] When Attention Sink Emerges in Language Models: An Empirical View (Spotlight)☆125Updated 2 months ago
- M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models☆40Updated 2 months ago
- Official code for the paper "Attention as a Hypernetwork"☆42Updated last year
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆73Updated last year
- Discrete Diffusion Forcing (D2F): dLLMs Can Do Faster-Than-AR Inference☆151Updated last week
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆189Updated 3 months ago