OpenPrompt: An Open-source Framework for Prompt-learning

By Ning Ding, Shengding Hu, Weilin Zhao, Yulin Chen, Zhiyuan Liu, Haitao Zheng, Maosong Sun. Annual Meeting of the Association for Computational Linguistics, 2021

344 citations recorded by the source corpus.

Prompt-learning has become a new paradigm in modern natural language processing, which directly adapts pre-trained language models (PLMs) to cloze-style prediction, autoregressive modeling, or sequence to sequence generation, resulting in promising performances on various tasks. However, no standard implementation framework of prompt-learning is proposed yet, and most existing prompt- learning codebases, often unregulated, only provide limited implementations for specific scenarios. Since there are many details such as templating strategy, initializing strategy, verbalizing strategy, etc., that need to be considered in prompt-learning, practitioners face impediments to quickly adapting the de-sired prompt learning methods to their applications. In this paper, we present Open- Prompt, a unified easy-to-use toolkit to conduct prompt-learning over PLMs. OpenPrompt is a research-friendly framework that is equipped with efficiency, modularity, and extendibility, and its combinability allows the freedom to combine different PLMs, task for- mats, and prompting modules in a unified paradigm. Users could expediently deploy prompt-learning frameworks and evaluate the generalization of them on different NLP tasks without constraints.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/614dd2ae6db71cd5b2a6069407d3e0705ab2c19c

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Zhiyuan Liu
  2. Maosong Sun
  3. Xu Han
  4. Shafiq R. Joty
  5. Chengwei Qin
  6. Ning Ding
  7. Juan-Zi Li
  8. Yejin Choi

In Computer Vision and Pattern Recognition

  1. Zhiyuan Liu
  2. Maosong Sun
  3. Xu Han
  4. Yejin Choi
  5. Tom Goldstein
  6. Shafiq R. Joty
  7. Micah Goldblum
  8. Lei Li

Citations in the corpus