zhixuan-lin / forgetting-transformer
[ICLR 2025] Official PyTorch implementation of "Forgetting Transformer: Softmax Attention with a Forget Gate"
☆90Updated last week
Alternatives and similar repositories for forgetting-transformer:
Users that are interested in forgetting-transformer are comparing it to the libraries listed below
- ☆67Updated last month
- Stick-breaking attention☆50Updated last month
- Official PyTorch Implementation of the Longhorn Deep State Space Model☆50Updated 4 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Rule☆152Updated last month
- Triton implement of bi-directional (non-causal) linear attention☆46Updated 2 months ago
- ☆27Updated last month
- Implementation of Infini-Transformer in Pytorch☆110Updated 3 months ago
- Here we will test various linear attention designs.☆60Updated 11 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 7 months ago
- 🔥 A minimal training framework for scaling FLA models☆101Updated this week
- Official code for the paper "Attention as a Hypernetwork"☆27Updated 9 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆97Updated 8 months ago
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated 11 months ago
- [ICML'24 Oral] The official code of "DiJiang: Efficient Large Language Models through Compact Kernelization", a novel DCT-based linear at…☆100Updated 10 months ago
- ☆102Updated last year
- Tiny re-implementation of MDM in style of LLaDA and nano-gpt speedrun☆46Updated last month
- The this is the official implementation of "DAPE: Data-Adaptive Positional Encoding for Length Extrapolation"☆37Updated 6 months ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆44Updated last year
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆65Updated 6 months ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆26Updated last year
- ☆74Updated 3 weeks ago
- [ICLR 2025] Code for the paper "Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planning"☆47Updated 2 months ago
- Code for the paper: "Fine-Tuning Discrete Diffusion Models with Policy Gradient Methods"☆16Updated last month
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆67Updated 3 months ago
- Efficient triton implementation of Native Sparse Attention.☆135Updated last week
- ☆39Updated 3 weeks ago
- [EMNLP 2022] Official implementation of Transnormer in our EMNLP 2022 paper - The Devil in Linear Transformer☆60Updated last year
- Official repository for the paper "SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention"☆97Updated 6 months ago
- ☆46Updated last year
- Code accompanying the paper "Generalized Interpolating Discrete Diffusion"☆73Updated 3 weeks ago