Datasets:

Modalities:
Text
ArXiv:
Libraries:
Datasets
License:
jilee commited on
Commit
3373ca4
·
1 Parent(s): 90d7087

Upload TexPrax.py

Browse files
Files changed (1) hide show
  1. TexPrax.py +1 -1
TexPrax.py CHANGED
@@ -156,7 +156,7 @@ class TexPraxDataset(datasets.GeneratorBasedBuilder):
156
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
157
  # 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.
158
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
159
- self.config.name == "sentence_classification":
160
  urls = _SENTENCE_URL
161
  data_dir = dl_manager.download_and_extract(urls)
162
  return [
 
156
  # dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
157
  # 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.
158
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
159
+ if self.config.name == "sentence_classification":
160
  urls = _SENTENCE_URL
161
  data_dir = dl_manager.download_and_extract(urls)
162
  return [