Skip to content

Latest commit

 

History

History

rationale

Learning Rationales behind Predictions

About

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]

Sub-directories

  • this root directory contains impelmentation of the rationale model used for the beer review data. rationale.py implements the independent selection version and rationale_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.