Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:

Support streaming

#1
by albertvillanova HF staff - opened
Files changed (1) hide show
  1. genetag.py +1 -1
genetag.py CHANGED
@@ -161,7 +161,7 @@ class GenetagDataset(datasets.GeneratorBasedBuilder):
161
  def _split_generators(self, dl_manager) -> List[datasets.SplitGenerator]:
162
  """Returns SplitGenerators."""
163
  urls = _URLS
164
- data_dir = dl_manager.download_and_extract(urls)
165
  annotation_type = self.config.subset_id.split("genetag")[
166
  -1
167
  ] # correct or gold annotations
 
161
  def _split_generators(self, dl_manager) -> List[datasets.SplitGenerator]:
162
  """Returns SplitGenerators."""
163
  urls = _URLS
164
+ data_dir = dl_manager.download(urls)
165
  annotation_type = self.config.subset_id.split("genetag")[
166
  -1
167
  ] # correct or gold annotations