Datasets:
sd
Browse files
poquad.py
CHANGED
@@ -45,7 +45,7 @@ class SquadV2(datasets.GeneratorBasedBuilder):
|
|
45 |
|
46 |
# TODO(squad_v2): Set up version.
|
47 |
BUILDER_CONFIGS = [
|
48 |
-
SquadV2Config(name="poquad", version=datasets.Version("2.0.
|
49 |
]
|
50 |
|
51 |
def _info(self):
|
@@ -97,7 +97,7 @@ class SquadV2(datasets.GeneratorBasedBuilder):
|
|
97 |
return [
|
98 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
|
99 |
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}),
|
100 |
-
datasets.SplitGenerator(name="
|
101 |
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test-B"]}),
|
102 |
]
|
103 |
|
|
|
45 |
|
46 |
# TODO(squad_v2): Set up version.
|
47 |
BUILDER_CONFIGS = [
|
48 |
+
SquadV2Config(name="poquad", version=datasets.Version("2.0.3"), description="PoQuaD plaint text"),
|
49 |
]
|
50 |
|
51 |
def _info(self):
|
|
|
97 |
return [
|
98 |
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": downloaded_files["train"]}),
|
99 |
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": downloaded_files["dev"]}),
|
100 |
+
datasets.SplitGenerator(name="testA", gen_kwargs={"filepath": downloaded_files["test-A"]}),
|
101 |
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": downloaded_files["test-B"]}),
|
102 |
]
|
103 |
|