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

Method load

scripts/eval/eval.py:705–716  ·  view source on GitHub ↗

Load CallHome audio segments and transcripts. Delegates to the shared HUB5 data loading logic with English prefix to extract CallHome-specific segments. Returns: Tuple[list, list]: A tuple containing: - List of AudioSegment tuples (wav_file, star

(self)

Source from the content-addressed store, hash-verified

703 """
704
705 def load(self) -> Tuple[list, list]:
706 """Load CallHome audio segments and transcripts.
707
708 Delegates to the shared HUB5 data loading logic with English prefix
709 to extract CallHome-specific segments.
710
711 Returns:
712 Tuple[list, list]: A tuple containing:
713 - List of AudioSegment tuples (wav_file, start_time, end_time)
714 - List of corresponding transcript strings
715 """
716 return self._load_hub5_data("en")
717
718
719class SwitchBoardLoader(BaseDatasetLoader):

Callers

nothing calls this directly

Calls 1

_load_hub5_dataMethod · 0.80

Tested by

no test coverage detected