Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
10K - 100K
ArXiv:
Tags:
question-generation
License:
Update qg_squad.py
Browse files- qg_squad.py +9 -0
qg_squad.py
CHANGED
@@ -2,6 +2,11 @@ import json
|
|
2 |
import datasets
|
3 |
|
4 |
logger = datasets.logging.get_logger(__name__)
|
|
|
|
|
|
|
|
|
|
|
5 |
_DESCRIPTION = """
|
6 |
[SQuAD](https://rajpurkar.github.io/SQuAD-explorer/) evaluation set for the question generation (QG) models. The split
|
7 |
of test and development set follows the ["Neural Question Generation"](https://arxiv.org/abs/1705.00106) work and is
|
@@ -28,6 +33,10 @@ class QGSquadConfig(datasets.BuilderConfig):
|
|
28 |
|
29 |
class QGSquad(datasets.GeneratorBasedBuilder):
|
30 |
|
|
|
|
|
|
|
|
|
31 |
def _info(self):
|
32 |
return datasets.DatasetInfo(
|
33 |
description=_DESCRIPTION,
|
|
|
2 |
import datasets
|
3 |
|
4 |
logger = datasets.logging.get_logger(__name__)
|
5 |
+
_VERSION = "1.0.0"
|
6 |
+
_NAME = "qg_squad"
|
7 |
+
_CITATION = """
|
8 |
+
TBA
|
9 |
+
"""
|
10 |
_DESCRIPTION = """
|
11 |
[SQuAD](https://rajpurkar.github.io/SQuAD-explorer/) evaluation set for the question generation (QG) models. The split
|
12 |
of test and development set follows the ["Neural Question Generation"](https://arxiv.org/abs/1705.00106) work and is
|
|
|
33 |
|
34 |
class QGSquad(datasets.GeneratorBasedBuilder):
|
35 |
|
36 |
+
BUILDER_CONFIGS = [
|
37 |
+
QGSquadConfig(name=_NAME, version=datasets.Version(_VERSION), description=_DESCRIPTION),
|
38 |
+
]
|
39 |
+
|
40 |
def _info(self):
|
41 |
return datasets.DatasetInfo(
|
42 |
description=_DESCRIPTION,
|