paper-with-me

홈 › Papers

P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Tasks

2021-10-14 · Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Lam Tam, Zhengxiao Du, Zhilin Yang, Jie Tang

Prompt tuning, which only tunes continuous prompts with a frozen language model, substantially reduces per-task storage and memory usage at training. However, in the context of NLU, prior work reveals that prompt tuning does not perform well for normal-sized pretrained models. We also find that existing methods of prompt tuning cannot handle hard sequence labeling tasks, indicating a lack of universality. We present a novel empirical finding that properly optimized prompt tuning can be universally effective across a wide range of model scales and NLU tasks. It matches the performance of finetuning while having only 0.1%-3% tuned parameters. Our method P-Tuning v2 is an implementation of Deep Prompt Tuning \cite{li2021prefix,qin2021learning} optimized and adapted for NLU. Given the universality and simplicity of P-Tuning v2, we believe it can serve as an alternative to finetuning and a strong baseline for future research.Our code and data are released at https://github.com/THUDM/P-tuning-v2.

📄 PDF Abstract BibTeX arXiv:2110.07602

Code (5)

thudm/p-tuning-v2 공식 구현 pytorch
THUDM/P-tuning pytorch
jellyfish042/rwkv-statetuning pytorch
liucongg/chatglm-finetuning pytorch
zhanglab-aim/lingo pytorch

Tasks

Language ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

P-Tuning: Prompt Tuning Can Be Comparable to Fine-tuning Across Scales and Tasks

2022-05-01 · ACL 2022 5 · Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Tam 외

Prompt tuning, which only tunes continuous prompts with a frozen language model, substantially reduces per-task storage and memory usage at training. However, in the context of NLU, prior work reveals that prompt tuning …

Language ModelingLanguage Modelling

Input-Tuning: Adapting Unfamiliar Inputs to Frozen Pretrained Models

2022-03-07 · Shengnan An, Yifei Li, Zeqi Lin, Qian Liu 외

Recently the prompt-tuning paradigm has attracted significant attention. By only tuning continuous prompts with a frozen pre-trained language model (PLM), prompt-tuning takes a step towards deploying a shared frozen PLM …

Language ModelingLanguage ModellingNatural Language UnderstandingText Generation

Prompt Tuning for Generative Multimodal Pretrained Models

2022-08-04 · Hao Yang, Junyang Lin, An Yang, Peng Wang 외

Prompt tuning has become a new paradigm for model tuning and it has demonstrated success in natural language pretraining and even vision pretraining. In this work, we explore the transfer of prompt tuning to multimodal p…

Image CaptioningVisual EntailmentVisual Question Answering (VQA)

Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Models

2021-06-24 · Findings (ACL) 2022 5 · Robert L. Logan IV, Ivana Balažević, Eric Wallace, Fabio Petroni 외

Prompting language models (LMs) with training examples and task descriptions has been seen as critical to recent successes in few-shot learning. In this work, we show that finetuning LMs in the few-shot setting can consi…

Few-Shot LearningPrompt Engineering

Skeleton: A New Framework for Accelerating Language Models via Task Neuron Localized Prompt Tuning

2024-04-18 · Nakyeong Yang, Jiwon Moon, Junseok Kim, Yunah Jang 외

Prompt tuning methods have shown comparable performance to general training methods as parameter-efficient fine-tuning (PEFT) methods in various natural language understanding tasks. However, existing prompt tuning metho…

Language ModelingLanguage ModellingNatural Language Understandingparameter-efficient fine-tuning