drAbreu commited on
Commit
c6e88cf
1 Parent(s): ceffd29

Adding data_dir again

Browse files
Files changed (1) hide show
  1. sd-nlp-non-tokenized.py +2 -2
sd-nlp-non-tokenized.py CHANGED
@@ -161,11 +161,11 @@ class SourceDataNLP(datasets.GeneratorBasedBuilder):
161
  if self.config.name in ["NER", "GENEPROD_ROLES", "SMALL_MOL_ROLES", "BORING"]:
162
  url = self._URLS["NER"]
163
  data_dir = dl_manager.download_and_extract(url)
164
- # data_dir += "/sd_panels_general_tokenization"
165
  elif self.config.name == "PANELIZATION":
166
  url = self._URLS[self.config.name]
167
  data_dir = dl_manager.download_and_extract(url)
168
- # data_dir += "/sd_fig_general_tokenization"
169
  else:
170
  raise ValueError(f"unkonwn config name: {self.config.name}")
171
 
 
161
  if self.config.name in ["NER", "GENEPROD_ROLES", "SMALL_MOL_ROLES", "BORING"]:
162
  url = self._URLS["NER"]
163
  data_dir = dl_manager.download_and_extract(url)
164
+ data_dir += "/sd_panels_general_tokenization"
165
  elif self.config.name == "PANELIZATION":
166
  url = self._URLS[self.config.name]
167
  data_dir = dl_manager.download_and_extract(url)
168
+ data_dir += "/sd_fig_general_tokenization"
169
  else:
170
  raise ValueError(f"unkonwn config name: {self.config.name}")
171