shivam commited on
Commit
09cbb89
·
1 Parent(s): d4b6fe5

Initial Commit

Browse files
Files changed (1) hide show
  1. split-test.py +1 -1
split-test.py CHANGED
@@ -127,7 +127,7 @@ class SplitTest(datasets.GeneratorBasedBuilder):
127
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
128
 
129
  data_dir = "https://huggingface.co/datasets/shivam/split-test/blob/main/text." + _LANGS[self.config.name]
130
- archive_path = dl_manager.download(data_dir)
131
 
132
  return [
133
  datasets.SplitGenerator(
 
127
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
128
 
129
  data_dir = "https://huggingface.co/datasets/shivam/split-test/blob/main/text." + _LANGS[self.config.name]
130
+ archive_path = dl_manager.download_and_extract(data_dir)
131
 
132
  return [
133
  datasets.SplitGenerator(