/Knowledge-Preservation-Networks

This the code of the paper 'Domain-Lifelong Learning for Dialogue State Tracking via Knowledge Preservation Networks'.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Knowledge-Preservation-Networks

This the code of the paper 'Domain-Lifelong Learning for Dialogue State Tracking via Knowledge Preservation Networks'. Python=3.8.5 torch=1.5.0 transformers=3.2.0 numpy=1.19.4

Steps:

  1. create_data.py: downloads MultiWOZ and splits it by train/valid/test
  2. create_lifelong_data21.py: split data by domain for continual learning set up
  3. train_test.py: run training for Knowledge Preservation Network (KPN)

Notes

  1. ignore the MultiWOZ .rar file. just running create_data.py will download data and extract it.