Code Monkey home page Code Monkey logo

convlab-2's Introduction

Task-oriented Dialog System Toolkits

Build Status

TaTk is an open-source task-oriented dialog system toolkits developed by Tsinghua University Conversational AI group (THU-coai). We provide several models for each module in dialog system, as well as some joint models and end-to-end models. It's easy to combine the modules to build a dialog system and replace some modules with yours to evaluate them in system level. Further more, user simulator (policy for user agent) is provided for system policy training. Our unified agent definition also supports symmetric agents for negotiation dialog and multiple agents for multiparty dialog.

Features included:

  • Complete and configurable framework for task-oriented dialog system.
  • Pre-trained models on Multiwoz, Camrest, Dealornot dataset.
  • Simple interfaces for adapting your models.
  • Rule simulators on Multiwoz and Camrest dataset for RL policy training.
  • Unified agent definition which allows customized dialog scene such as multiparty dialog.

This project is a part of dialtk (Toolkits for Dialog System by Tsinghua University), you can follow dialtk or tatk on our home page. Some code are shared with Convlab.

Installation

Require python 3.6.

Clone this repository:

git clone https://github.com/thu-coai/tatk.git

Install tatk via pip:

cd tatk
pip install -e .

Tutorials

Tutorials are under tutorials directory. You can also view it on dialtk/tatk.

Documents

Our documents are on https://thu-coai.github.io/tatk_docs/.

Models

We provide following models:

  • NLU: SVMNLU, BERTNLU
  • DST: rule, MDBT
  • Policy: rule, Imitation, REINFORCE, PPO, MDRG
  • Simulator policy: Agenda, VHUS
  • NLG: Template, SCLSTM
  • End2End: Sequicity, RNN_rollout

For more details about these models, You can refer to README.md under tatk/$module/$model/$dataset dir such as tatk/nlu/bert/multiwoz/README.md.

Supported Dataset

Issues

You are welcome to create an issue if you want to request a feature, report a bug or ask a general question.

Contributions

We welcome contributions from community.

  • If you want to make a big change, we recommend first creating an issue with your design.
  • Small contributions can be directly made by a pull request.
  • If you like make contributions for our library, see issues to find what we need.

Team

tatk is maintained and developed by Tsinghua university conversational AI group (THU-coai). Check our main pages (In Chinese).

License

Apache License 2.0

convlab-2's People

Contributors

zqwerty avatar truthless11 avatar zz-jacob avatar zyq0104 avatar aaa123git avatar keshuichonglx avatar libing125 avatar arthurma71 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.