Datasets:
Update piglatin-mt.py
Browse files- piglatin-mt.py +1 -1
piglatin-mt.py
CHANGED
@@ -109,7 +109,7 @@ class PigLatinMT(datasets.GeneratorBasedBuilder):
|
|
109 |
]
|
110 |
|
111 |
def _generate_examples(
|
112 |
-
self, filepath
|
113 |
):
|
114 |
""" Yields examples as (key, example) tuples. """
|
115 |
# This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
|
|
109 |
]
|
110 |
|
111 |
def _generate_examples(
|
112 |
+
self, filepath# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
113 |
):
|
114 |
""" Yields examples as (key, example) tuples. """
|
115 |
# This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|