Giter Site home page Giter Site logo

jaylenlau / alexa-dataset-contextual-query-rewrite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexa/alexa-dataset-contextual-query-rewrite

0.0 1.0 0.0 3.46 MB

This repo includes extensions to the Stanford Dialogue Corpus. It contains crowd-sourced rewrites to facilitate research in dialogue state tracking using natural language as the interface.

License: MIT No Attribution

alexa-dataset-contextual-query-rewrite's Introduction

Contextual Query Rewrite (CQR) Dataset for Spoken Dialogue

Contextual Query Rewrite

Motivation

Dialogue assistants are used by millions of people today to fulfill a variety of tasks. Such assistants also serve as a digital marketplace where any developer can build a domain-specific, task-oriented, dialogue agent offering a service such as booking cabs, ordering food, listening to music, shopping etc. Also, these agents may interact with each other, when completing a task on behalf of the user. Accomplishing this task requires understanding the context of a dialogue, communicating the conversational state to multiple agents, and updating the state as the conversation proceeds. However, this is challenging given that different agents use their own domain specific schemas and meaning representations. In this dataset, we explore using natural language as an API for communicating across agents, thereby eliminating the need to learn or adapt to diverse schema mappings. Instead, we show how one can leverage the syntactic/semantic regularities imposed by the language itself as a way to track the dialogue state.

This work is detailed in the following paper

@inproceedings{rastogi2019scaling,
  title={Scaling Multi-Domain Dialogue State Tracking via Query Reformulation},
  author={Rastogi, Pushpendre and Gupta, Arpit and Chen, Tongfei and Mathias, Lambert},
  booktitle={Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics},
  year={2019},
  publisher={Association for Computational Linguistics},
}

To create this dataset, we used a dataset that Stanford makes publicly available for download at the following link: Stanford Dialogue Corpus. Our dataset contains MTurk, crowd-sourced rewrites of dialogues in the Stanford dataset to facilitate research in dialogue state tracking using natural language as the interface. For details of the contextual query rewrite dataset creation please refer to this paper.

Format

The dataset is in JSON format, where each line is a JSON record. The JSON key 'reformulation' contains the additions made in this dataset. The refomulation are created at the end of each dialogue defined as "end_dialogue": true The structure under reformulation contains the following keys:

  1. base_utt_idx - this is the index of the utterances in the original dialogue that is selected for rewrite.
  2. flag - indicating the categories of referring expressions.
  3. gold_slots - the gold standard slots to be used in the rewrite.
  4. mturk_reformulations - a list of crowd-sourced rewrites from MTurk.
  5. reformulated_utt - gold rewrites.

License Summary

This sample code is made available under a modified MIT license. See the LICENSE file.

alexa-dataset-contextual-query-rewrite's People

Contributors

arpitg1991 avatar lmathia2 avatar

Watchers

 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.