esnli
Stay organized with collections
Save and categorize content based on your preferences.
The e-SNLI dataset extends the Stanford Natural Language Inference Dataset to
include human-annotated natural language explanations of the entailment
relations.
Split |
Examples |
'test' |
9,824 |
'train' |
549,367 |
'validation' |
9,842 |
FeaturesDict({
'explanation_1': Text(shape=(), dtype=string),
'explanation_2': Text(shape=(), dtype=string),
'explanation_3': Text(shape=(), dtype=string),
'hypothesis': Text(shape=(), dtype=string),
'label': ClassLabel(shape=(), dtype=int64, num_classes=3),
'premise': Text(shape=(), dtype=string),
})
Feature |
Class |
Shape |
Dtype |
Description |
|
FeaturesDict |
|
|
|
explanation_1 |
Text |
|
string |
|
explanation_2 |
Text |
|
string |
|
explanation_3 |
Text |
|
string |
|
hypothesis |
Text |
|
string |
|
label |
ClassLabel |
|
int64 |
|
premise |
Text |
|
string |
|
@incollection{NIPS2018_8163,
title = {e-SNLI: Natural Language Inference with Natural Language Explanations},
author = {Camburu, Oana-Maria and Rockt"{a}schel, Tim and Lukasiewicz, Thomas and Blunsom, Phil},
booktitle = {Advances in Neural Information Processing Systems 31},
editor = {S. Bengio and H. Wallach and H. Larochelle and K. Grauman and N. Cesa-Bianchi and R. Garnett},
pages = {9539--9549},
year = {2018},
publisher = {Curran Associates, Inc.},
url = {http://papers.nips.cc/paper/8163-e-snli-natural-language-inference-with-natural-language-explanations.pdf}
}
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-12-06 UTC.
[null,null,["Last updated 2022-12-06 UTC."],[],[],null,["# esnli\n\n\u003cbr /\u003e\n\n- **Description**:\n\nThe e-SNLI dataset extends the Stanford Natural Language Inference Dataset to\ninclude human-annotated natural language explanations of the entailment\nrelations.\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/e-snli)\n\n- **Homepage** :\n \u003chttps://github.com/OanaMariaCamburu/e-SNLI\u003e\n\n- **Source code** :\n [`tfds.text.Esnli`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/text/esnli.py)\n\n- **Versions**:\n\n - **`0.1.0`** (default): No release notes.\n- **Download size** : `195.04 MiB`\n\n- **Dataset size** : `161.94 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes (test, validation), Only when `shuffle_files=False` (train)\n\n- **Splits**:\n\n| Split | Examples |\n|----------------|----------|\n| `'test'` | 9,824 |\n| `'train'` | 549,367 |\n| `'validation'` | 9,842 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'explanation_1': Text(shape=(), dtype=string),\n 'explanation_2': Text(shape=(), dtype=string),\n 'explanation_3': Text(shape=(), dtype=string),\n 'hypothesis': Text(shape=(), dtype=string),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=3),\n 'premise': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------------|--------------|-------|--------|-------------|\n| | FeaturesDict | | | |\n| explanation_1 | Text | | string | |\n| explanation_2 | Text | | string | |\n| explanation_3 | Text | | string | |\n| hypothesis | Text | | string | |\n| label | ClassLabel | | int64 | |\n| premise | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `None`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\n- **Citation**:\n\n @incollection{NIPS2018_8163,\n title = {e-SNLI: Natural Language Inference with Natural Language Explanations},\n author = {Camburu, Oana-Maria and Rockt\"{a}schel, Tim and Lukasiewicz, Thomas and Blunsom, Phil},\n booktitle = {Advances in Neural Information Processing Systems 31},\n editor = {S. Bengio and H. Wallach and H. Larochelle and K. Grauman and N. Cesa-Bianchi and R. Garnett},\n pages = {9539--9549},\n year = {2018},\n publisher = {Curran Associates, Inc.},\n url = {http://papers.nips.cc/paper/8163-e-snli-natural-language-inference-with-natural-language-explanations.pdf}\n }"]]