# coqa

<br />

- **Description**:

CoQA: A Conversational Question Answering Challenge

- **Additional Documentation** :
  [Explore on Papers With Code](https://paperswithcode.com/dataset/coqa)

- **Homepage** :
  <https://stanfordnlp.github.io/coqa/>

- **Source code** :
  [`tfds.question_answering.coqa.Coqa`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/question_answering/coqa/coqa.py)

- **Versions**:

  - **`1.0.0`** (default): No release notes.
- **Download size** : `55.40 MiB`

- **Dataset size** : `18.28 MiB`

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

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 500 |
| `'train'` | 7,199 |

- **Feature structure**:

    FeaturesDict({
        'answers': Sequence({
            'answer_end': int32,
            'answer_start': int32,
            'input_text': Text(shape=(), dtype=string),
        }),
        'questions': Sequence(Text(shape=(), dtype=string)),
        'source': Text(shape=(), dtype=string),
        'story': Text(shape=(), dtype=string),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| answers | Sequence |   |   |   |
| answers/answer_end | Tensor |   | int32 |   |
| answers/answer_start | Tensor |   | int32 |   |
| answers/input_text | Text |   | string |   |
| questions | Sequence(Text) | (None,) | string |   |
| source | Text |   | string |   |
| story | 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**:

    @misc{reddy2018coqa,
        title={CoQA: A Conversational Question Answering Challenge},
        author={Siva Reddy and Danqi Chen and Christopher D. Manning},
        year={2018},
        eprint={1808.07042},
        archivePrefix={arXiv},
        primaryClass={cs.CL}
    }