This directory contains the code and resources of the following paper:
"Rationalizing Neural Predictions". Tao Lei, Regina Barzilay and Tommi Jaakkola. EMNLP 2016. [PDF] [Slides]
- this root directory contains impelmentation of the rationale model used for the beer review data.
rationale.py
implements the independent selection version andrationale_dependent.py
implements the sequential selection version. See the paper for details. - example_rationales contains rationales generated for the beer review data.
- ubuntu contains alternative implementation for the AskUbuntu data.
- medical contains alternative implementation for medical report classification.