thunlp / SparsingLawLinks
The open-source materials for paper "Sparsing Law: Towards Large Language Models with Greater Activation Sparsity".
☆26Updated 10 months ago
Alternatives and similar repositories for SparsingLaw
Users that are interested in SparsingLaw are comparing it to the libraries listed below
Sorting:
- [ICML 2024] When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models☆34Updated last year
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆34Updated last month
- PyTorch implementation of StableMask (ICML'24)☆14Updated last year
- [EMNLP 2023]Context Compression for Auto-regressive Transformers with Sentinel Tokens☆25Updated last year
- ☆54Updated 3 months ago
- The official implementation for [NeurIPS2025 Oral] Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink…☆81Updated 2 weeks ago
- ☆19Updated 9 months ago
- From GaLore to WeLore: How Low-Rank Weights Non-uniformly Emerge from Low-Rank Gradients. Ajay Jaiswal, Lu Yin, Zhenyu Zhang, Shiwei Liu,…☆48Updated 5 months ago
- ☆60Updated 3 months ago
- ☆60Updated 2 months ago
- Code for the EMNLP24 paper "A simple and effective L2 norm based method for KV Cache compression."☆16Updated 9 months ago
- Codebase for Instruction Following without Instruction Tuning☆35Updated last year
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆100Updated 2 months ago
- Official implementation of the ICML 2024 paper RoSA (Robust Adaptation)☆44Updated last year
- Official implementation of "Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoning"☆22Updated 4 months ago
- [NAACL 2025] A Closer Look into Mixture-of-Experts in Large Language Models☆55Updated 7 months ago
- Code for "Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes"☆28Updated last year
- Code for paper "Patch-Level Training for Large Language Models"☆88Updated 10 months ago
- An unofficial implementation of "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆36Updated last year
- ☆18Updated 2 months ago
- Beyond KV Caching: Shared Attention for Efficient LLMs☆19Updated last year
- [ICLR 2025] Official Pytorch Implementation of "Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LN" by Pengxia…☆26Updated 2 months ago
- Code for "RSQ: Learning from Important Tokens Leads to Better Quantized LLMs"☆19Updated 3 months ago
- ☆96Updated 3 weeks ago
- Code for paper: Long cOntext aliGnment via efficient preference Optimization☆13Updated 7 months ago
- Official Implementation of APB (ACL 2025 main Oral)☆31Updated 7 months ago
- Official code for the paper "Attention as a Hypernetwork"☆42Updated last year
- Long Context Extension and Generalization in LLMs☆60Updated last year
- [ICML‘2024] "LoCoCo: Dropping In Convolutions for Long Context Compression", Ruisi Cai, Yuandong Tian, Zhangyang Wang, Beidi Chen☆17Updated last year
- ☆85Updated last year