Git Product home page Git Product logo

three_player_for_emnlp's Introduction

A Three-Player Game for Rationalization

This repo contains the PyTorch implementation of the EMNLP 2019 paper Rethinking Cooperative Rationalization: Introspective Extraction and Complement Control. To make this repo neat and light-weight, we release the core code and data for the newly proposed single-aspect beer review dataset (i.e. the evaluation on the left of Table 4 in the paper) for the demo purpose. If you are interested in reproducing the exact results for other datasets, please contact us, and we are very happy to provide the code and help.

You can start with the following entry script.

run_beer_single_aspect_rationale_3players.py

Data requirement: Please download the beer review data following the paper Rationalizing Neural Predictions, then put data/sec_name_dict.json to your data directory. Also download glove.6B.100d word embedding to your data directory.

Tested environment: Python 2.7.13, PyTorch: 0.3.0.post4

If you find this work useful and use it in your research, please consider to cite our paper.

@inproceedings{yu2019rethinking,
  title={Rethinking Cooperative Rationalization: Introspective Extraction and
Complement Control},
  author={Yu, Mo and Chang, Shiyu and Zhang, Yang and Jaakkola, Tommi S},
  booktitle={Empirical Methods in Natural Language Processing},
  year={2019}
}

Final Words

That's all for now and hope this repo is useful to your research. For any questions, please create an issue or email [email protected], and we will get back to you as soon as possible.

three_player_for_emnlp's People

Contributors

chhetri22 avatar gorov avatar

Stargazers

 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.