Trainer.ConfigΒΆ

Component: Trainer

class Trainer.Config[source]

Bases: ConfigBase

All Attributes (including base classes)

random_seed: int = 0
epochs: int = 10
early_stop_after: int = 0
max_clip_norm: Optional[float] = None
report_train_metrics: bool = True

Default JSON

{
    "random_seed": 0,
    "epochs": 10,
    "early_stop_after": 0,
    "max_clip_norm": null,
    "report_train_metrics": true
}