← all repositories

THUDM/P-tuning-v2

An implementation of deep prompt tuning (P-tuning v2), a parameter-efficient fine-tuning strategy for pretrained transformer models.

2.1k stars Python Language ModelsML Frameworks
P-tuning-v2
Velocity · 7d
+1.2
★ / day
Trend
steady
star history

P-tuning v2 applies continuous prompts to every layer input of pretrained transformer models, enabling comparable performance to full fine-tuning with fewer trainable parameters. It targets small and medium-sized models as well as hard sequence tagging tasks. The approach was published at ACL 2022 and has been extended to text retrieval tasks in EMNLP 2023 findings.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.