# movie_rationales

<br />

- **Description**:

The movie rationale dataset contains human annotated rationales for movie
reviews.

- **Homepage** :
  [http://www.cs.jhu.edu/\~ozaidan/rationales/](http://www.cs.jhu.edu/%7Eozaidan/rationales/)

- **Source code** :
  [`tfds.text.MovieRationales`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/text/movie_rationales.py)

- **Versions**:

  - **`0.1.0`** (default): No release notes.
- **Download size** : `3.72 MiB`

- **Dataset size** : `8.37 MiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  Yes

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 199 |
| `'train'` | 1,600 |
| `'validation'` | 200 |

- **Feature structure**:

    FeaturesDict({
        'evidences': Sequence(Text(shape=(), dtype=string)),
        'label': ClassLabel(shape=(), dtype=int64, num_classes=2),
        'review': Text(shape=(), dtype=string),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| evidences | Sequence(Text) | (None,) | string |   |
| label | ClassLabel |   | int64 |   |
| review | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `None`

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
  Not supported.

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<button id="displaydataframe">Display examples...</button>

- **Citation**:

    @unpublished{eraser2019,
        title = {ERASER: A Benchmark to Evaluate Rationalized NLP Models},
        author = {Jay DeYoung and Sarthak Jain and Nazneen Fatema Rajani and Eric Lehman and Caiming Xiong and Richard Socher and Byron C. Wallace}
    }
    @InProceedings{zaidan-eisner-piatko-2008:nips,
      author    =  {Omar F. Zaidan  and  Jason Eisner  and  Christine Piatko},
      title     =  {Machine Learning with Annotator Rationales to Reduce Annotation Cost},
      booktitle =  {Proceedings of the NIPS*2008 Workshop on Cost Sensitive Learning},
      month     =  {December},
      year      =  {2008}
    }