Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
Zhangir Azerbayev commited on
Commit
f3afa17
1 Parent(s): e0b1f24
Files changed (1) hide show
  1. proof-pile.py +1 -1
proof-pile.py CHANGED
@@ -143,7 +143,7 @@ class ProofPile(datasets.GeneratorBasedBuilder):
143
  train_paths = ["wiki/proofwiki.tar.gz", "wiki/wikipedia.tar.gz"]
144
  val_paths = ["wiki/proofwiki_val.tar.gz"]
145
 
146
- train_files = itertools.chain.from_iterable(dl_manager.iter_archive(x) for x in train_paths)
147
  val_files = itertools.chain.from_iterable(dl_manager.iter_files(dl_manager.download_and_extract(x))
148
  for x in val_paths)
149
 
 
143
  train_paths = ["wiki/proofwiki.tar.gz", "wiki/wikipedia.tar.gz"]
144
  val_paths = ["wiki/proofwiki_val.tar.gz"]
145
 
146
+ train_files = itertools.chain.from_iterable(dl_manager.iter_archive(dl_manager.download(x)) for x in train_paths)
147
  val_files = itertools.chain.from_iterable(dl_manager.iter_files(dl_manager.download_and_extract(x))
148
  for x in val_paths)
149