aadelucia commited on
Commit
c6451b3
1 Parent(s): b49eba2
Files changed (1) hide show
  1. bernice-pretrain-data.py +1 -1
bernice-pretrain-data.py CHANGED
@@ -113,7 +113,7 @@ class BernicePretrainData(datasets.GeneratorBasedBuilder):
113
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
114
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
115
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
116
- data_url = f"{self._BASE_DATA_URL}/{self.config.name}"
117
  print(f"{data_url=}")
118
  print(f"{os.listdir()}")
119
  urls_to_download = [f"{data_url}/{f}" for f in os.listdir(data_url)]
 
113
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
114
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
115
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
116
+ data_url = f"{_BASE_DATA_URL}/{self.config.name}"
117
  print(f"{data_url=}")
118
  print(f"{os.listdir()}")
119
  urls_to_download = [f"{data_url}/{f}" for f in os.listdir(data_url)]