Support streaming
#1
by
albertvillanova
HF staff
- opened
- 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.
|
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
|