drAbreu commited on
Commit
53ea38e
1 Parent(s): ea48e61

Update sd-nlp-non-tokenized.py

Browse files
Files changed (1) hide show
  1. sd-nlp-non-tokenized.py +2 -2
sd-nlp-non-tokenized.py CHANGED
@@ -168,11 +168,11 @@ class SourceDataNLP(datasets.GeneratorBasedBuilder):
168
  if self.config.name in ["NER", "GENEPROD_ROLES", "SMALL_MOL_ROLES", "BORING"]:
169
  url = self._URLS["NER"]
170
  data_dir = dl_manager.download_and_extract(url)
171
- data_dir += "/sd_panels"
172
  elif self.config.name == "PANELIZATION":
173
  url = self._URLS[self.config.name]
174
  data_dir = dl_manager.download_and_extract(url)
175
- data_dir += "/sd_fig_general_tokenization"
176
  else:
177
  raise ValueError(f"unkonwn config name: {self.config.name}")
178
 
 
168
  if self.config.name in ["NER", "GENEPROD_ROLES", "SMALL_MOL_ROLES", "BORING"]:
169
  url = self._URLS["NER"]
170
  data_dir = dl_manager.download_and_extract(url)
171
+ data_dir += "/"
172
  elif self.config.name == "PANELIZATION":
173
  url = self._URLS[self.config.name]
174
  data_dir = dl_manager.download_and_extract(url)
175
+ data_dir += "/"
176
  else:
177
  raise ValueError(f"unkonwn config name: {self.config.name}")
178