Hieu Nguyen
commited on
Commit
·
31d9e4a
1
Parent(s):
edd7e16
Fix bug split argument redundant in _generate_examples()
Browse files- deep-research.py +1 -1
deep-research.py
CHANGED
@@ -147,7 +147,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
147 |
]
|
148 |
|
149 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
150 |
-
def _generate_examples(self, filepath
|
151 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
152 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
153 |
with open(filepath, encoding="utf-8") as f:
|
|
|
147 |
]
|
148 |
|
149 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
150 |
+
def _generate_examples(self, filepath):
|
151 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
152 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
153 |
with open(filepath, encoding="utf-8") as f:
|