Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
ArXiv:
License:
File size: 4,978 Bytes
2589862 530abed 2589862 530abed 6a56929 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | ---
license: cc-by-sa-4.0
task_categories:
- text-generation
- question-generation
language:
- en
pretty_name: SQuAD-EN-Passage-to-Question
size_categories:
- 10K<n<100K
---
# Dataset Card for SQuAD-EN-Passage-to-Question
## Dataset Summary
**SQuAD-EN-Passage-to-Question** is a reformatted and reorganized version of the **Stanford Question Answering Dataset (SQuAD)**. The dataset is designed for text generation and question generation research tasks.
In the original SQuAD dataset, each context passage is associated with multiple question-answer pairs stored as separate entries. In this modified version, all questions associated with the same context passage are grouped together into a single record.
This restructuring enables research in:
- Multi-question generation
- Context-aware question generation
- Passage-level instruction tuning
- Text generation from contextual inputs
---
## Dataset Structure
Each dataset entry contains:
- `task_id`: Unique identifier for each context entry
- `context`: A passage of text
- `question`: A list of questions associated with the context
### Example
```json
{
"task_id": 1,
"context": "Architecturally, the school has a Catholic character...",
"question": [
"To whom did the Virgin Mary allegedly appear in 1858 in Lourdes France?",
"What is in front of the Notre Dame Main Building?"
]
}
```
---
## Data Splits
The dataset splits are derived from the original SQuAD splits:
| Split | Source |
|-------|--------|
| Train | SQuAD Train Set |
| Validation | Portion of SQuAD Validation Set |
| Test | Portion of SQuAD Validation Set |
The validation split from SQuAD was further divided into validation and test subsets.
---
## Dataset Statistics
* **Language:** English
* **Source dataset:** SQuAD
* **Task type:** Question Generation / Text Generation
* **Data format:** JSONL
* **Questions per context:** Variable (multiple questions grouped together)
---
## Source Dataset
This dataset is derived from:
**Stanford Question Answering Dataset (SQuAD)**
* **Authors:** Rajpurkar et al.
* **Paper:** https://arxiv.org/abs/1606.05250
* **Official Website:** https://rajpurkar.github.io/SQuAD-explorer/
* **Hugging Face Dataset:** https://huggingface.co/datasets/rajpurkar/squad
---
## Modifications from Original Dataset
The following modifications were applied:
1. Grouped multiple questions under a single shared context passage.
2. Removed answer annotations from the original dataset.
3. Reorganized dataset structure into JSONL format.
4. Re-split the validation dataset into validation and test subsets.
5. Added unique `task_id` identifiers for each context entry.
---
## Intended Uses
This dataset is intended for:
* Question generation research
* Instruction tuning
* Text-to-text generation tasks
* Context-based multi-output generation
* Educational NLP experiments
---
## Recommended Usage
### Loading the Dataset
```python
from datasets import load_dataset
dataset = load_dataset("Siam0703/SQuAD-EN-Passage-to-Question")
```
### Accessing Data
```python
dataset["train"][0]
```
### Potential Applications
* Multi-output text generation
* Educational AI systems
* Context-driven question synthesis
* Large language model fine-tuning
---
## Limitations
* Answer annotations from the original SQuAD dataset are not included.
* The dataset inherits biases and limitations from the original SQuAD dataset.
* Questions are human-generated and reflect annotator perspectives.
* Grouped question format may require preprocessing for extractive QA tasks.
---
## Ethical Considerations
The dataset contains human-authored content from publicly available educational and informational text. Users should be aware that:
* The dataset may contain factual or cultural biases present in the original SQuAD dataset.
* Generated outputs trained on this dataset should be evaluated for fairness and accuracy.
---
## Citation
If you use this dataset, please cite the original SQuAD dataset:
```bibtex
@inproceedings{rajpurkar-etal-2016-squad,
title = "{SQ}u{AD}: 100,000+ Questions for Machine Comprehension of Text",
author = "Rajpurkar, Pranav and
Zhang, Jian and
Lopyrev, Konstantin and
Liang, Percy",
editor = "Su, Jian and
Duh, Kevin and
Carreras, Xavier",
booktitle = "Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing",
month = nov,
year = "2016",
address = "Austin, Texas",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/D16-1264",
doi = "10.18653/v1/D16-1264",
pages = "2383--2392",
eprint={1606.05250},
archivePrefix={arXiv},
primaryClass={cs.CL},
}
```
---
## Reproducibility Notes
The dataset was generated by programmatically regrouping SQuAD entries based on shared context passages. Users can reconstruct similar datasets using the publicly available SQuAD dataset and grouping logic. |