helloacl / DST-DCPDS

code for task-oriented dialogue state tracking
1 stars 0 forks source link

Our paper

Dialogue State Tracking with Multi-Level Fusion of Predicted Dialogue States and Conversations

DST-DCPDS

We develop our code baed on CHAN.

Structure

DST-DCPDS structure

Requirements

Usages

Data preprocessing

We conduct experiments on the following datasets:

We use the same preprocessing steps for both datasets. For example, preprocessing MultiWOZ 2.1:

cd /home/user/DST-DCPDS
# download multiwoz 2.1 dataset
# preprocess datasets for training DST and STP jointly
$ unzip -j MULTIWOZ2.1.zip -d data/multiwoz2.1-update/original
$ cd data/multiwoz2.1-update/original
$ mv ontology.json ..
$ python convert_to_glue_format.py

Pretrained BERT Download

Train

Take DST-DCPDS for both-level training as an example:

For teacher-forcing set the mix_teaching_force to 0

For uniform scheduled sampling set the mix_teaching_force to 1

Evaluation

Take DST-DCPDS for both-level training as an example:

General performance