Hieu Nguyen
commited on
Commit
•
c398ea4
1
Parent(s):
0d3551e
Update _generate_examples()
Browse files- deep-research.py +0 -1
deep-research.py
CHANGED
@@ -142,7 +142,6 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
142 |
def _generate_examples(self, filepath):
|
143 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
144 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
145 |
-
print(f"filepath is {filepath}")
|
146 |
with open(filepath) as f:
|
147 |
for key, row in enumerate(f):
|
148 |
data = json.loads(row)
|
|
|
142 |
def _generate_examples(self, filepath):
|
143 |
# TODO: This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
144 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
|
|
145 |
with open(filepath) as f:
|
146 |
for key, row in enumerate(f):
|
147 |
data = json.loads(row)
|