Skip to main content

Train

@validate_call
def train(data_name: str = None,
wait: bool = True,
poll_interval: float = 0.2,
poll_limit: float = 30.0,
verbose: bool = False,
progress_interval: float = 1.0) -> None

Train the model.

Arguments:

  • wait bool - Whether to wait for the model to finish training.
  • poll_interval float - The interval at which to poll the server for the model status.
  • poll_limit float - The maximum time to wait for the model to finish training.
  • verbose bool - Whether to display model progress.
  • progress_interval float - The interval at which to display the model progress.

Example:

model.train()