HazyResearch / prefix-linear-attention
☆53Updated 9 months ago
Alternatives and similar repositories for prefix-linear-attention:
Users that are interested in prefix-linear-attention are comparing it to the libraries listed below
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Updated last year
- ☆47Updated last year
- [NeurIPS 2023 spotlight] Official implementation of HGRN in our NeurIPS 2023 paper - Hierarchically Gated Recurrent Neural Network for Se…☆64Updated last year
- ☆31Updated last year
- Using FlexAttention to compute attention with different masking patterns☆43Updated 7 months ago
- Here we will test various linear attention designs.☆60Updated last year
- ☆78Updated 8 months ago
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated 10 months ago
- Implementation of the paper: "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" from Google in pyTO…☆55Updated 2 weeks ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆37Updated last year
- Stick-breaking attention☆52Updated last month
- Long Context Extension and Generalization in LLMs☆53Updated 7 months ago
- ☆103Updated last year
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆51Updated 2 years ago
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆29Updated last month
- Codebase for Instruction Following without Instruction Tuning☆34Updated 7 months ago
- ☆51Updated 11 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆54Updated 8 months ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆27Updated 7 months ago
- ☆20Updated 11 months ago
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆58Updated last month
- ☆19Updated 2 years ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆30Updated 10 months ago
- ☆32Updated last year
- [NAACL 2025] A Closer Look into Mixture-of-Experts in Large Language Models☆51Updated 2 months ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆48Updated last year
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated 10 months ago
- ☆44Updated 2 months ago
- The repository contains code for Adaptive Data Optimization☆24Updated 4 months ago