Skip to content

base

base

Shared Pydantic base model and enumerations for NeMo Safe Synthesizer configs.

Classes:

Name Description
NSSBaseModel

Base model for all Safe Synthesizer configuration and result models.

LRScheduler

Learning-rate scheduler names accepted by the training pipeline.

NSSBaseModel pydantic-model

Bases: BaseModel

Base model for all Safe Synthesizer configuration and result models.

Applies pydantic_model_config (strict schema validation, attribute construction, and "validation"-only JSON schema mode) so that every subclass inherits consistent Pydantic behavior.

Config:

  • default: pydantic_model_config

LRScheduler

Bases: str, Enum

Learning-rate scheduler names accepted by the training pipeline.