Coder Social home page Coder Social logo

queenley / pedp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shuozhangxjtu/pedp

0.0 0.0 0.0 2.22 MB

“Think Before You Speak”: Improving Multi-action Dialog Policy by Planning Single-Action Dialogs (IJCAI-22 long oral presentation)

Python 100.00%

pedp's Introduction

PEDP

“Think Before You Speak”: Improving Multi-Action Dialog Policy by Planning Single-Action Dialogs IJCAI-22 long oral presentation

This is the codebase for the proposed multi-action dialog policy model PEDP and all the SL-based baseline models (gCAS, DiaMultiClass, DiaMultiDense, and DiaSeq).

For other models, we refer readers to the official implementations. (GDPL and DiaAdv)


Requirements

Please refer to environment.yml and prepare the environment with Anaconda.

Data

We report results on:
  1. MultiWOZ. Please download the data from here and unzip under ./data directory.

  2. SGD. Please download the data from here and unzip under ./sgd_data directory.


Run

To reproduce the results on MultiWOZ, execute:
python -u main.py --pedp --residual

To reproduce the results on SGD, execute:

python -u main.py --pedp --residual --sgd

To train other models, execute:

python -u main.py --[model_name]

More hyper-parameters are assigned in args.py and can be modified using --para=value.

Dataset schema is defined in config_multiwoz.py and ./sgd_data/config.py for MultiWOZ and SGD, respectively.


Results

You can use tensorboard to check the results. Execute:
tensorboard --bind_all --logdir=./log/tb/[file name]

and open the corresponding website.

pedp's People

Contributors

shuozhangxjtu avatar queenley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.