thunlp / SparsingLaw
The open-source materials for paper "Sparsing Law: Towards Large Language Models with Greater Activation Sparsity".
☆18Updated 4 months ago
Alternatives and similar repositories for SparsingLaw:
Users that are interested in SparsingLaw are comparing it to the libraries listed below
- This repo is based on https://github.com/jiaweizzhao/GaLore☆26Updated 6 months ago
- [EMNLP 2023]Context Compression for Auto-regressive Transformers with Sentinel Tokens☆24Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆26Updated 11 months ago
- "Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding" Zhenyu Zhang, Runjin Chen, Shiw…☆28Updated 10 months ago
- Scaling Sparse Fine-Tuning to Large Language Models☆16Updated last year
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆44Updated last month
- ☆52Updated 8 months ago
- Using FlexAttention to compute attention with different masking patterns☆42Updated 6 months ago
- Repo for ACL2023 Findings paper "Emergent Modularity in Pre-trained Transformers"☆22Updated last year
- Code for "Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes"☆27Updated last year
- ☆16Updated 2 months ago
- [NAACL 2025] A Closer Look into Mixture-of-Experts in Large Language Models☆46Updated last month
- The official implementation of paper: SimLayerKV: A Simple Framework for Layer-Level KV Cache Reduction.☆44Updated 5 months ago
- [ICLR 2023] "Sparse MoE as the New Dropout: Scaling Dense and Self-Slimmable Transformers" by Tianlong Chen*, Zhenyu Zhang*, Ajay Jaiswal…☆48Updated 2 years ago
- ☆16Updated last month
- ☆36Updated last week
- Official code for the paper "Attention as a Hypernetwork"☆25Updated 9 months ago
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆39Updated last year
- [ICML2024 Spotlight] Fine-Tuning Pre-trained Large Language Models Sparsely☆22Updated 9 months ago
- Codebase for Instruction Following without Instruction Tuning☆33Updated 6 months ago
- ☆30Updated 10 months ago
- ☆36Updated last month
- [ICML‘2024] "LoCoCo: Dropping In Convolutions for Long Context Compression", Ruisi Cai, Yuandong Tian, Zhangyang Wang, Beidi Chen☆16Updated 6 months ago
- Easy control for Key-Value Constrained Generative LLM Inference(https://arxiv.org/abs/2402.06262)☆60Updated last year
- Code for paper "Patch-Level Training for Large Language Models"☆81Updated 4 months ago
- The official repository for SkyLadder: Better and Faster Pretraining via Context Window Scheduling☆23Updated last week
- ☆70Updated 2 weeks ago
- Official implementation of the paper: "A deeper look at depth pruning of LLMs"☆14Updated 8 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆53Updated 7 months ago
- Code for paper: Long cOntext aliGnment via efficient preference Optimization☆13Updated last month