Howuhh commited on
Commit
2616fa1
1 Parent(s): 8e289d1

Upload nle_hf_dataset.py

Browse files
Files changed (1) hide show
  1. nle_hf_dataset.py +5 -5
nle_hf_dataset.py CHANGED
@@ -106,12 +106,12 @@ class NleHfDataset(datasets.GeneratorBasedBuilder):
106
  )
107
 
108
  def _split_generators(self, dl_manager):
109
- if self.config.data_files is None:
110
- urls = _URLS[self.config.name]
111
- else:
112
- urls = self.config.data_files["train"]
 
113
 
114
- print(urls)
115
  filepaths = [dl_manager.download(url) for url in urls]
116
  return [
117
  datasets.SplitGenerator(
 
106
  )
107
 
108
  def _split_generators(self, dl_manager):
109
+ # if self.config.data_files is None:
110
+ urls = _URLS[self.config.name]
111
+ # else:
112
+ # urls = self.config.data_files["train"]
113
+ print(self.config.data_files["train"])
114
 
 
115
  filepaths = [dl_manager.download(url) for url in urls]
116
  return [
117
  datasets.SplitGenerator(