Datasets:
Tasks:
Text Generation
Sub-tasks:
language-modeling
Languages:
Italian
Size:
10K<n<100K
ArXiv:
Tags:
question-generation
License:
Update qg_itquad.py
Browse files- qg_itquad.py +9 -0
qg_itquad.py
CHANGED
@@ -4,6 +4,11 @@ from itertools import chain
|
|
4 |
import datasets
|
5 |
|
6 |
logger = datasets.logging.get_logger(__name__)
|
|
|
|
|
|
|
|
|
|
|
7 |
_DESCRIPTION = """[SQuAD-it](https://huggingface.co/datasets/squad_it) dataset for question generation (QG) task."""
|
8 |
_URL = 'https://huggingface.co/datasets/lmqg/qg_itquad/raw/main/data/processed'
|
9 |
_URLS = {
|
@@ -26,6 +31,10 @@ class QGITQuADConfig(datasets.BuilderConfig):
|
|
26 |
|
27 |
class QGITQuAD(datasets.GeneratorBasedBuilder):
|
28 |
|
|
|
|
|
|
|
|
|
29 |
def _info(self):
|
30 |
return datasets.DatasetInfo(
|
31 |
description=_DESCRIPTION,
|
|
|
4 |
import datasets
|
5 |
|
6 |
logger = datasets.logging.get_logger(__name__)
|
7 |
+
_VERSION = "1.0.0"
|
8 |
+
_NAME = "qg_itquad"
|
9 |
+
_CITATION = """
|
10 |
+
TBA
|
11 |
+
"""
|
12 |
_DESCRIPTION = """[SQuAD-it](https://huggingface.co/datasets/squad_it) dataset for question generation (QG) task."""
|
13 |
_URL = 'https://huggingface.co/datasets/lmqg/qg_itquad/raw/main/data/processed'
|
14 |
_URLS = {
|
|
|
31 |
|
32 |
class QGITQuAD(datasets.GeneratorBasedBuilder):
|
33 |
|
34 |
+
BUILDER_CONFIGS = [
|
35 |
+
QGITQuADConfig(name=_NAME, version=datasets.Version(_VERSION), description=_DESCRIPTION),
|
36 |
+
]
|
37 |
+
|
38 |
def _info(self):
|
39 |
return datasets.DatasetInfo(
|
40 |
description=_DESCRIPTION,
|