Support streaming
#1
by albertvillanova HF Staff - opened
160 unmodified lines161162163164165166167160 unmodified linesdef _split_generators(self, dl_manager) -> List[datasets.SplitGenerator]:"""Returns SplitGenerators."""urls = _URLSdata_dir = dl_manager.download_and_extract(urls)annotation_type = self.config.subset_id.split("genetag")[-1] # correct or gold annotations160 unmodified lines161162163164165166167160 unmodified linesdef _split_generators(self, dl_manager) -> List[datasets.SplitGenerator]:"""Returns SplitGenerators."""urls = _URLSdata_dir = dl_manager.download(urls)annotation_type = self.config.subset_id.split("genetag")[-1] # correct or gold annotations
genetag.py+1-1