|
| 1 | +<div itemscope itemtype="http://schema.org/Dataset"> |
| 2 | + <div itemscope itemprop="includedInDataCatalog" itemtype="http://schema.org/DataCatalog"> |
| 3 | + <meta itemprop="name" content="TensorFlow Datasets" /> |
| 4 | + </div> |
| 5 | + |
| 6 | + <meta itemprop="name" content="esnli" /> |
| 7 | + <meta itemprop="description" content=" The e-SNLI dataset extends the Stanford Natural Language Inference Dataset to include human-annotated natural language explanations of the entailment relations. To use this dataset: ```python import tensorflow_datasets as tfds ds = tfds.load('esnli', split='train') for ex in ds.take(4): print(ex) ``` See [the guide](https://www.tensorflow.org/datasets/overview) for more informations on [tensorflow_datasets](https://www.tensorflow.org/datasets). " /> |
| 8 | + <meta itemprop="url" content="https://www.tensorflow.org/datasets/catalog/esnli" /> |
| 9 | + <meta itemprop="sameAs" content="https://github.com/OanaMariaCamburu/e-SNLI" /> |
| 10 | + <meta itemprop="citation" content=" @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} } " /> |
| 11 | +</div> |
| 12 | + |
| 13 | +# `esnli` |
| 14 | + |
| 15 | +The e-SNLI dataset extends the Stanford Natural Language Inference Dataset to |
| 16 | +include human-annotated natural language explanations of the entailment |
| 17 | +relations. |
| 18 | + |
| 19 | +* URL: |
| 20 | + [https://github.com/OanaMariaCamburu/e-SNLI](https://github.com/OanaMariaCamburu/e-SNLI) |
| 21 | +* `DatasetBuilder`: |
| 22 | + [`tfds.text.esnli.Esnli`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/text/esnli.py) |
| 23 | + |
| 24 | +`esnli` is configured with `tfds.core.dataset_builder.BuilderConfig` and has the |
| 25 | +following configurations predefined (defaults to the first one): |
| 26 | + |
| 27 | +* `plain_text` (`v0.0.1`) (`Size: 195.04 MiB`): Plain text import of e-SNLI |
| 28 | + |
| 29 | +## `esnli/plain_text` |
| 30 | + |
| 31 | +Plain text import of e-SNLI |
| 32 | + |
| 33 | +Versions: |
| 34 | + |
| 35 | +* **`0.0.1`** (default): |
| 36 | + |
| 37 | +### Statistics |
| 38 | + |
| 39 | +Split | Examples |
| 40 | +:--------- | -------: |
| 41 | +ALL | 569,033 |
| 42 | +TRAIN | 549,367 |
| 43 | +VALIDATION | 9,842 |
| 44 | +TEST | 9,824 |
| 45 | + |
| 46 | +### Features |
| 47 | + |
| 48 | +```python |
| 49 | +FeaturesDict({ |
| 50 | + 'explanation': Text(shape=(), dtype=tf.string), |
| 51 | + 'hypothesis': Text(shape=(), dtype=tf.string), |
| 52 | + 'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=3), |
| 53 | + 'premise': Text(shape=(), dtype=tf.string), |
| 54 | +}) |
| 55 | +``` |
| 56 | + |
| 57 | +### Homepage |
| 58 | + |
| 59 | +* [https://github.com/OanaMariaCamburu/e-SNLI](https://github.com/OanaMariaCamburu/e-SNLI) |
| 60 | + |
| 61 | +## Citation |
| 62 | + |
| 63 | +``` |
| 64 | +@incollection{NIPS2018_8163, |
| 65 | +title = {e-SNLI: Natural Language Inference with Natural Language Explanations}, |
| 66 | +author = {Camburu, Oana-Maria and Rockt"{a}schel, Tim and Lukasiewicz, Thomas and Blunsom, Phil}, |
| 67 | +booktitle = {Advances in Neural Information Processing Systems 31}, |
| 68 | +editor = {S. Bengio and H. Wallach and H. Larochelle and K. Grauman and N. Cesa-Bianchi and R. Garnett}, |
| 69 | +pages = {9539--9549}, |
| 70 | +year = {2018}, |
| 71 | +publisher = {Curran Associates, Inc.}, |
| 72 | +url = {http://papers.nips.cc/paper/8163-e-snli-natural-language-inference-with-natural-language-explanations.pdf} |
| 73 | +} |
| 74 | +``` |
| 75 | + |
| 76 | +-------------------------------------------------------------------------------- |
0 commit comments