zhixuan-lin / forgetting-transformerLinks
[ICLR 2025 & COLM 2025] Official PyTorch implementation of the Forgetting Transformer and Adaptive Computation Pruning
☆131Updated 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:
- ☆93Updated 7 months ago
- ☆34Updated 7 months ago
- Here we will test various linear attention designs.☆61Updated last year
- [ICML 2025] Fourier Position Embedding: Enhancing Attention’s Periodic Extension for Length Generalization☆99Updated 4 months ago
- Stick-breaking attention☆61Updated 3 months ago
- Official PyTorch implementation and models for paper "Diffusion Beats Autoregressive in Data-Constrained Settings". We find diffusion mod…☆101Updated last month
- ☆251Updated 4 months ago
- ☆104Updated last month
- Remasking Discrete Diffusion Models with Inference-Time Scaling☆49Updated 7 months ago
- Official implementation of Phi-Mamba. A MOHAWK-distilled model (Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Mode…☆116Updated last year
- ☆105Updated last year
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆103Updated last year
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆331Updated last month
- Some preliminary explorations of Mamba's context scaling.☆216Updated last year
- Triton implement of bi-directional (non-causal) linear attention☆56Updated 8 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☆129Updated last year
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆97Updated 10 months ago
- Code for paper "Patch-Level Training for Large Language Models"☆88Updated 11 months ago
- 🔥 A minimal training framework for scaling FLA models☆266Updated last month
- Inference Speed Benchmark for Learning to (Learn at Test Time): RNNs with Expressive Hidden States☆73Updated last year
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆195Updated 4 months ago
- ☆86Updated last year
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆55Updated 10 months ago
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆119Updated 4 months ago
- Implementation of Infini-Transformer in Pytorch☆113Updated 9 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated last year
- M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models☆42Updated 3 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated last year
- Implementation of a multimodal diffusion transformer in Pytorch☆106Updated last year