GithubHelp home page GithubHelp logo

amr-dialogue-project's Introduction

AMR-Dialogue-Project

This is the code base of group 8.

Our project is based on an implementation for paper "Semantic Representation for Dialogue Modeling". You may find the paper here.

Requirements

  • python 3.6
  • pytorch 1.6

We recommend to use conda to manage virtual environments:

conda create --name <env> --file requirements.txt

Data

The preprocessed data for DialogRE and DialogRG are avaliable at here and here, respectively.

Preprocessing

bash /path/to/code/preprocess.sh

Training

bash /path/to/code/run-dual(hier).sh

Evaluation

bash /path/to/code/eval.sh                   # for dialogue relation extraction
bash /path/to/code/decode.sh                 # for dialogue response generation

References

@inproceedings{bai-etal-2021-semantic,
    title = "Semantic Representation for Dialogue Modeling",
    author = "Bai, Xuefeng  and
      Chen, Yulong  and
      Song, Linfeng  and
      Zhang, Yue",
    booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
    month = aug,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.acl-long.342",
    doi = "10.18653/v1/2021.acl-long.342",
    pages = "4430--4445"
}

amr-dialogue-project's People

Contributors

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