Skip to content

nnbay/MeicalChatbot-HRL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedicalChatbot-HRL

This is the code of a task-oriented dialogue system for automatic diagnosis, where a hierarchical reinforcement learning are implemented as the dialogue policy. The low level RL consists of multi-agents and each agent is the specific policy in terms of a type of disease. While the high level RL is responsible for selecting one of the low level agent or the disease classifier, then the selected agent will interact with patient in this dialogue turn.

The datasets can be downloaded in http://www.sdspeople.fudan.edu.cn/zywei/data/Fudan-Medical-Dialogue2.0

The paper draft is available at https://arxiv.org/abs/2004.14254

How to run the code

  1. download the datasets and unzip this folder in src/data.
  2. Using the following command to run the code.
cd src/dialogue_system/run
python run.py --help

Cite

@article{liao2020task,
  title={Task-oriented Dialogue System for Automatic Disease Diagnosis via Hierarchical Reinforcement Learning},
  author={Liao, Kangenbei and Liu, Qianlong and Wei, Zhongyu and Peng, Baolin and Chen, Qin and Sun, Weijian and Huang, Xuanjing},
  journal={arXiv preprint arXiv:2004.14254},
  year={2020}
}

About

This is the code for the task-oriented dialogue system via HRL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages