Replicate · Arazzo Workflow
Replicate Start a Training and Poll Until Complete
Version 1.0.0
Start a fine-tuning run from a base model version, then poll until the training finishes.
View Spec
View on GitHub
Artificial IntelligenceMachine LearningImage GenerationLanguage ModelsModel DeploymentArazzoWorkflows
Provider
Workflows
train-model-and-poll
Start a training from a base version and poll it until it finishes.
Verifies the base model version, creates a training that writes to a destination model, and polls the training until it succeeds, fails, or is canceled, returning the trained output version on success.
1
getBaseVersion
models.versions.get
Confirm the base model version exists and is trainable before starting a training run.
2
createTraining
trainings.create
Start a training of the base version, writing the resulting version to the destination model. The training is returned in a starting state.
3
getTraining
trainings.get
Retrieve the training state, repeating via the retry branch until the training reaches a terminal status.