Datasets:

Languages:
English
ArXiv:
Rricha commited on
Commit
cfb1906
1 Parent(s): 9365349

Update climate-evaluation.py

Browse files
Files changed (1) hide show
  1. 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, idx=idx)
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