MCPcopy Create free account
hub / github.com/allenai/OLMoASR / load

Method load

scripts/eval/eval.py:306–317  ·  view source on GitHub ↗

Load audio files and transcripts from the dataset. Returns: Tuple[list, list]: A tuple containing: - List of audio file paths or AudioSegment objects - List of corresponding transcript strings Raises: NotImplementedError: If n

(self)

Source from the content-addressed store, hash-verified

304
305 @abstractmethod
306 def load(self) -> Tuple[list, list]:
307 """Load audio files and transcripts from the dataset.
308
309 Returns:
310 Tuple[list, list]: A tuple containing:
311 - List of audio file paths or AudioSegment objects
312 - List of corresponding transcript strings
313
314 Raises:
315 NotImplementedError: If not implemented by concrete subclass
316 """
317 pass
318
319
320class LibrispeechLoader(BaseDatasetLoader):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected