Update climate-evaluation.py
Browse files- climate-evaluation.py +3 -3
climate-evaluation.py
CHANGED
@@ -528,10 +528,10 @@ class ClimateEvaluation(datasets.GeneratorBasedBuilder):
|
|
528 |
for file in data_file:
|
529 |
yield from self._process_file(file, delimiter="\t", idx=idx)
|
530 |
elif self.config.name == "cdp_qa":
|
531 |
-
idx = iter(range(10000000))
|
532 |
-
print(f"!!!data_file: {data_file}")
|
533 |
# for file in data_file:
|
534 |
-
yield from self._process_file(data_file
|
535 |
else:
|
536 |
yield from self._process_file(data_file)
|
537 |
|
|
|
528 |
for file in data_file:
|
529 |
yield from self._process_file(file, delimiter="\t", idx=idx)
|
530 |
elif self.config.name == "cdp_qa":
|
531 |
+
# idx = iter(range(10000000))
|
532 |
+
# print(f"!!!data_file: {data_file}")
|
533 |
# for file in data_file:
|
534 |
+
yield from self._process_file(data_file)
|
535 |
else:
|
536 |
yield from self._process_file(data_file)
|
537 |
|