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