lhoestq
HF staff
commited on
Commit
a2cf087
1 Parent(s): 5fbd1bd

download instead of download_and_extract

Browse files
Files changed (1) hide show
  1. wikipedia_bn.py +1 -1
wikipedia_bn.py CHANGED
@@ -57,7 +57,7 @@ class WikipediaBn(datasets.ArrowBasedBuilder):
57
  )
58
 
59
  def _split_generators(self, dl_manager):
60
- downloaded_files = dl_manager.download_and_extract(_URLS)
61
 
62
  return [
63
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepaths": downloaded_files["train"]}),
57
  )
58
 
59
  def _split_generators(self, dl_manager):
60
+ downloaded_files = dl_manager.download(_URLS)
61
 
62
  return [
63
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepaths": downloaded_files["train"]}),