cli.logic.train package


cli.logic.train.train module

cli.logic.train.train.cli_train(config: str, **kwargs) None

Main function for training a model using the CLI.

Parameters:
  • config (str) – The path to the configuration file.

  • **kwargs – Additional keyword arguments.

cli.logic.train.trainer module

class cli.logic.train.trainer.CLITrainer(config: TrainingCliConfigType)

Bases: object

Trainer class for the CLI. This module parses the CLI arguments and trains the model.

Parameters:

config (TrainingCliConfigType) – The configuration for training.

config

The configuration for training.

Type:

TrainingCliConfigType

train()

The main training function. This function parses the CLI arguments and executes the training.