Giter Site home page Giter Site logo

trellixvulnteam / bert-dialog-state-tracking_7vx6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laituan245/bert-dialog-state-tracking

0.0 0.0 0.0 761 KB

A Simple but Effective BERT Model for Dialog State Tracking on Resource-Limited Systems

Python 100.00%

bert-dialog-state-tracking_7vx6's Introduction

BERT-DST

The code has been tested with Python 3 and PyTorch 1.5.0. Note that the code in the folder pytorch_pretrained_bert was originally from the Hugging Face team. With minor modifications, you can use the latest version of huggingface/transformers.

Commands

An example training command (using BERT-Base) is: python main.py --do_train --data_dir=data/woz/ --bert_model=bert-base-uncased --output_dir=outputs

An example training command (using BERT-Large) is: python main.py --do_train --data_dir=data/woz/ --bert_model=bert-large-uncased --output_dir=outputs

Results

The table below shows the results on the WoZ restaurant reservation datasets.

Model Joint Goal (WoZ) Turn Request (WoZ)
Neural Belief Tracker - DNN 84.4% 91.2%
Neural Belief Tracker - CNN 84.2% 91.6%
GLAD 88.1 ± 0.4% 97.1 ± 0.2%
Simple BERT Model (BERT-Base) 90.5% 97.6%

Simple BERT Model

The figure below shows the architecture of the simple BERT Model.

Please cite our related paper A Simple but Effective BERT Model for Dialog State Tracking on Resource-Limited Systems if you find this useful.

bert-dialog-state-tracking_7vx6's People

Contributors

trellixvulnteam 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.