Tolulope commited on
Commit
e4cec4f
·
1 Parent(s): 797c4d4

adding new zipped version

Browse files
Files changed (1) hide show
  1. ml-superb-subset.py +5 -5
ml-superb-subset.py CHANGED
@@ -24,7 +24,7 @@ class MLSuperbConfig(datasets.BuilderConfig):
24
 
25
  class MLSuperb(datasets.GeneratorBasedBuilder):
26
  DEFAULT_WRITER_BATCH_SIZE = 1000
27
- # URL = "https://224sh3.s3.amazonaws.com/ml_superb_subset.zip"
28
 
29
  # BUILDER_CONFIG_CLASS = MLSuperbConfig
30
 
@@ -52,10 +52,10 @@ class MLSuperb(datasets.GeneratorBasedBuilder):
52
 
53
 
54
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
55
- # urls_to_download = self.URL
56
- # downloaded_files = dl_manager.download_and_extract(urls_to_download)
57
- # downloaded_files = downloaded_files + "/ml_superb_subset/" + self.config.name
58
- downloaded_files = "./ml_superb_subset/" + self.config.name
59
  # downloaded_files = "ml-superb-subset" "/ml_superb_subset/" + self.config.name
60
 
61
 
 
24
 
25
  class MLSuperb(datasets.GeneratorBasedBuilder):
26
  DEFAULT_WRITER_BATCH_SIZE = 1000
27
+ URL = "https://224sh3.s3.amazonaws.com/ml_superb_subset.zip"
28
 
29
  # BUILDER_CONFIG_CLASS = MLSuperbConfig
30
 
 
52
 
53
 
54
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
55
+ urls_to_download = self.URL
56
+ downloaded_files = dl_manager.download_and_extract(urls_to_download)
57
+ downloaded_files = downloaded_files + "/ml_superb_subset/" + self.config.name
58
+ # downloaded_files = "./ml_superb_subset/" + self.config.name
59
  # downloaded_files = "ml-superb-subset" "/ml_superb_subset/" + self.config.name
60
 
61