gabrielaltay commited on
Commit
1a01796
2 Parent(s): 5970942 2a3a219

Merge branch 'main' of https://huggingface.co/datasets/gabrielaltay/hacdc-wikipedia

Browse files
Files changed (1) hide show
  1. hacdc-wikipedia.py +1 -1
hacdc-wikipedia.py CHANGED
@@ -140,7 +140,7 @@ class HacdcWikimedia20220901(datasets.GeneratorBasedBuilder):
140
  def _split_generators(self, dl_manager):
141
 
142
  paths = [os.path.join("data", _FILES[0])]
143
- downloaded_files = dl_manager.download(paths)
144
  print("PATHS", paths)
145
  print("DLFILES", downloaded_files)
146
  return [
 
140
  def _split_generators(self, dl_manager):
141
 
142
  paths = [os.path.join("data", _FILES[0])]
143
+ downloaded_files = dl_manager.download_and_extract(paths)
144
  print("PATHS", paths)
145
  print("DLFILES", downloaded_files)
146
  return [