nemo_curator.stages.audio.advanced_pipelines.audio_data_filter.config
nemo_curator.stages.audio.advanced_pipelines.audio_data_filter.config
Configuration loader for the Audio Data Filter pipeline.
Loads pipeline parameters from a YAML config file organised by stage. Users edit the YAML to override defaults without touching code.
Module Contents
Functions
Data
API
Recursively merge overrides into base, returning a new dict.
Validate cross-field constraints after merge.
Return a list of enabled stage names from a loaded config.
Load pipeline configuration from YAML.
Loads the shipped default config and deep-merges any user overrides on top. Only the values explicitly set in the user file override defaults; everything else keeps its default value.
Parameters:
Path to a user YAML config file. When None,
the built-in default_config.yaml is used as-is.
Returns: dict[str, Any]
A nested dict keyed by stage name with parameter values.
Raises:
FileNotFoundError: If config_path does not exist.yaml.YAMLError: If either YAML file is malformed.