Abinaya Mahendiran
commited on
Commit
·
13d678c
1
Parent(s):
ee69481
Minor fix to data loader script
Browse files
xsum.py
CHANGED
@@ -44,7 +44,7 @@ class Xsum(datasets.GeneratorBasedBuilder):
|
|
44 |
|
45 |
BUILDER_CONFIGS = [
|
46 |
datasets.BuilderConfig(
|
47 |
-
name=
|
48 |
version=datasets.Version("1.0.0"),
|
49 |
description="",
|
50 |
)
|
@@ -91,7 +91,7 @@ class Xsum(datasets.GeneratorBasedBuilder):
|
|
91 |
for challenge_split, filename in challenge_sets
|
92 |
]
|
93 |
|
94 |
-
def _generate_examples(self, filepath, split, filepaths=None
|
95 |
"""Yields examples."""
|
96 |
if "challenge" in split:
|
97 |
if "covid" in split:
|
|
|
44 |
|
45 |
BUILDER_CONFIGS = [
|
46 |
datasets.BuilderConfig(
|
47 |
+
name="xsum",
|
48 |
version=datasets.Version("1.0.0"),
|
49 |
description="",
|
50 |
)
|
|
|
91 |
for challenge_split, filename in challenge_sets
|
92 |
]
|
93 |
|
94 |
+
def _generate_examples(self, filepath, split, filepaths=None):
|
95 |
"""Yields examples."""
|
96 |
if "challenge" in split:
|
97 |
if "covid" in split:
|