Skip to navigation

nemo_gym.data.dataset_hooks

View as MarkdownOpen in Claude

Load environment-owned dataset hooks selected by trusted training configuration.

Module Contents

Functions

NameDescription
load_dataset_hooksLoad validation, sampling, and sampled-input hooks from an installed environment.

API

nemo_gym.data.dataset_hooks.load_dataset_hooks(
module_name: str
) -> types.ModuleType

Load validation, sampling, and sampled-input hooks from an installed environment.

The module comes from operator configuration, never a task row. Resources components live beside the installed nemo_gym package in a Gym checkout. Hooks must not import a training framework or render during module import.