# user-simulator **Repository Path**: greitzmann/user-simulator ## Basic Information - **Project Name**: user-simulator - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # user-simulator Codebase for [How to Build User Simulators to Train RL-based Dialog Systems](https://arxiv.org/pdf/1909.01388.pdf), published as a long paper in EMNLP 2019. The sequicity part is developed based on [Sequicity: Simplifying Task-oriented Dialogue Systems with Single Sequence-to-Sequence Architectures](https://github.com/WING-NUS/sequicity). If you use the datasets or any source codes included in this repository in your work, please cite the following paper. The bibtex is listed below: @article{shi2019build, title={How to Build User Simulators to Train RL-based Dialog Systems}, author={Shi, Weiyan and Qian, Kun and Wang, Xuewei and Yu, Zhou}, journal={arXiv preprint arXiv:1909.01388}, year={2019} } # Agenda-based simulator under simulator/ # Supervised-learning-based simulator under sequicity_user/ ** for the seq2seq model, because the codebase for the seq2seq module exceeds the file limit, please contact us for it. But it's a simple vanilla seq2seq, you can build your own. The code is under seq2seq/, and we use the implementation from https://github.com/IBM/pytorch-seq2seq for the seq2seq generation model. The vectors used in the training can be downloaded from https://nlp.stanford.edu/projects/glove/. # RL training with agenda-based simulator python run_mydata_new.py # RL training with supervised-learning-based simulator python run_mydata_seq_new.py # Interacting with trained policies policies are under simulator/policy/ # data data.json and delex.json exceed the file limit (100MB), therefore there are two compressed files named data.json.tar.gz and delex.json.tar.bz2 under data/. Please use these two files.