Dr. Jorge Abreu Vicente commited on
Commit
1ec5eba
1 Parent(s): ac920ca

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
@@ -68,7 +68,7 @@ class SourceDataNLP(datasets.GeneratorBasedBuilder):
68
  VERSION = datasets.Version("1.0.0")
69
 
70
  _URLS = {
71
- "NER": f"{_BASE_URL}sd_panels_general_tokenization.zip",
72
  "PANELIZATION": f"{_BASE_URL}sd_fig_general_tokenization.zip",
73
  }
74
  BUILDER_CONFIGS = [
@@ -161,7 +161,7 @@ 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)
 
68
  VERSION = datasets.Version("1.0.0")
69
 
70
  _URLS = {
71
+ "NER": f"{_BASE_URL}sd_panels.zip",
72
  "PANELIZATION": f"{_BASE_URL}sd_fig_general_tokenization.zip",
73
  }
74
  BUILDER_CONFIGS = [
 
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"
165
  elif self.config.name == "PANELIZATION":
166
  url = self._URLS[self.config.name]
167
  data_dir = dl_manager.download_and_extract(url)