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

Method __init__

scripts/eval/eval.py:297–303  ·  view source on GitHub ↗

Initialize the dataset loader with root directory. Args: root_dir (str): Path to the root directory containing dataset files

(self, root_dir: str)

Source from the content-addressed store, hash-verified

295 """
296
297 def __init__(self, root_dir: str):
298 """Initialize the dataset loader with root directory.
299
300 Args:
301 root_dir (str): Path to the root directory containing dataset files
302 """
303 self.root_dir = root_dir
304
305 @abstractmethod
306 def load(self) -> Tuple[list, list]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected