Skip to content

Latest commit

 

History

History
 
 

msdp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Multi-Stage Prompting for Knowledgeable Dialogue Generation

Below we present the steps to run our multi-stage dialogue prompting (MSDP) framework.

Multi-Stage Dialogue Prompting

Data Preparation

  1. Dataset Download: Wizard of Wikipedia and Wizard of Internet
  2. Data Processing: We provide the script to run the data processing of the datasets.

Stage-1: Prompting for Knowledge Generation

  1. We provide the script to perform the first-stage prompting for the knowledge generation.
  2. We provide the evaluation script for the automatic evaluation (i.e., F1, BLEU, METEOR, and ROUGE-L) of the knowledge generation.

Stage-2: Prompting for Response Generation

  1. We provide the script to prepare the input file for the response generation (based on the previously generated knowledge file).
  2. We provide the script to perform the second-stage prompting for the response generation.
  3. We provide the evaluation script for the automatic evaluation (i.e., F1, KF1, BLEU, METEOR, and ROUGE-L) of the response generation.