paper-with-me

홈 › Papers

Astraios: Parameter-Efficient Instruction Tuning Code Large Language Models

2024-01-01 · Terry Yue Zhuo, Armel Zebaze, Nitchakarn Suppattarachai, Leandro von Werra, Harm de Vries, Qian Liu, Niklas Muennighoff

The high cost of full-parameter fine-tuning (FFT) of Large Language Models (LLMs) has led to a series of parameter-efficient fine-tuning (PEFT) methods. However, it remains unclear which methods provide the best cost-performance trade-off at different model scales. We introduce Astraios, a suite of 28 instruction-tuned OctoCoder models using 7 tuning methods and 4 model sizes up to 16 billion parameters. Through investigations across 5 tasks and 8 different datasets encompassing both code comprehension and code generation tasks, we find that FFT generally leads to the best downstream performance across all scales, and PEFT methods differ significantly in their efficacy based on the model scale. LoRA usually offers the most favorable trade-off between cost and performance. Further investigation into the effects of these methods on both model robustness and code security reveals that larger models tend to demonstrate reduced robustness and less security. At last, we explore the relationships among updated parameters, cross-entropy loss, and task performance. We find that the tuning effectiveness observed in small models generalizes well to larger models, and the validation loss in instruction tuning can be a reliable indicator of overall downstream performance.

📄 PDF Abstract BibTeX arXiv:2401.00788

Code (2)

agi-edgerunners/llm-adapters 공식 구현 pytorch
bigcode-project/astraios 공식 구현 pytorch

Tasks

Code Generationparameter-efficient fine-tuning

Similar Papers 제목 키워드 기반

A Comparative Study between Full-Parameter and LoRA-based Fine-Tuning on Chinese Instruction Data for Instruction Following Large Language Model

2023-04-17 · Xianghui Sun, Yunjie Ji, Baochang Ma, Xiangang Li

Recently, the instruction-tuning of large language models is a crucial area of research in the field of natural language processing. Due to resource and cost limitations, several researchers have employed parameter-effic…

Instruction FollowingLanguage ModelingLanguage ModellingLarge Language Model

OctoPack: Instruction Tuning Code Large Language Models

2023-08-14 · Niklas Muennighoff, Qian Liu, Armel Zebaze, Qinkai Zheng 외

Finetuning large language models (LLMs) on instructions leads to vast performance improvements on natural language tasks. We apply instruction tuning using code, leveraging the natural structure of Git commits, which pai…

Code GenerationCode RepairHumanEval

Scaling Sparse Fine-Tuning to Large Language Models

2024-01-29 · Alan Ansell, Ivan Vulić, Hannah Sterz, Anna Korhonen 외

Large Language Models (LLMs) are difficult to fully fine-tune (e.g., with instructions or human feedback) due to their sheer number of parameters. A family of parameter-efficient sparse fine-tuning methods have proven pr…

parameter-efficient fine-tuningQuantization

Parameter Efficient Instruction Tuning: An Empirical Study

2024-11-25 · Pengfei He

Instruction tuning has become an important step for finetuning pretrained language models to better follow human instructions and generalize on various tasks. Nowadays, pretrained language models become increasingly larg…

Instruction FollowingMemorization

Large Continual Instruction Assistant

2024-10-08 · Jingyang Qiao, Zhizhong Zhang, Xin Tan, Yanyun Qu 외

Continual Instruction Tuning (CIT) is adopted to continually instruct Large Models to follow human intent data by data. It is observed that existing gradient update would heavily destroy the performance on previous datas…

Question AnsweringSemantic SimilaritySemantic Textual SimilarityVisual Question Answering