LLM-Pruner: On the Structural Pruning of Large Language Models
Xinyin Ma, Gongfan Fang, Xinchao Wang

TL;DR
This paper introduces LLM-Pruner, a structural pruning method for large language models that reduces model size while maintaining performance, requiring minimal data and training time for effective recovery.
Contribution
The paper presents a task-agnostic structural pruning approach for LLMs that preserves capabilities with minimal data and training, addressing deployment challenges.
Findings
Pruned models retain satisfactory zero-shot performance.
Effective recovery achieved with only 50K data and 3 hours of tuning.
Validated on LLaMA, Vicuna, and ChatGLM.
Abstract
Large language models (LLMs) have shown remarkable capabilities in language understanding and generation. However, such impressive capability typically comes with a substantial model size, which presents significant challenges in both the deployment, inference, and training stages. With LLM being a general-purpose task solver, we explore its compression in a task-agnostic manner, which aims to preserve the multi-task solving and language generation ability of the original LLM. One challenge to achieving this is the enormous size of the training corpus of LLM, which makes both data transfer and model post-training over-burdensome. Thus, we tackle the compression of LLMs within the bound of two constraints: being task-agnostic and minimizing the reliance on the original training dataset. Our method, named LLM-Pruner, adopts structural pruning that selectively removes non-critical coupled…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗moiduy04/Llama-3-6.6B-R-Prunedmodel· ♡ 1♡ 1
- 🤗moiduy04/Llama-3-6.6B-LLM-Prunedmodel· ♡ 1♡ 1
- 🤗VibeStudio/MiniMax-M2-THRIFTmodel· 1.7k dl· ♡ 351.7k dl♡ 35
- 🤗VibeStudio/MiniMax-M2-THRIFT-55model· 162 dl· ♡ 5162 dl♡ 5
- 🤗tcclaviger/Minimax-M2-Thrift-GPTQ-W4A16-AMDmodel· 9 dl· ♡ 19 dl♡ 1
- 🤗naveedashfaq/llama-3-8b-pruned-30-percentmodel
- 🤗naveedashfaq/llama-3-8b-pruned-30-percent-taylormodel· 26 dl· ♡ 126 dl♡ 1
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Speech Recognition and Synthesis
MethodsPruning
