snowflake.cortex.FinetuneStatus

class snowflake.cortex.FinetuneStatus(id: str | None = None, status: str | None = None, base_model: str | None = None, created_on: int | None = None, error: dict[str, Any] | None = None, finished_on: int | None = None, progress: float | None = None, training_result: list[dict[str, Any]] | None = None, trained_tokens: int | None = None, training_data: str | None = None, validation_data: str | None = None, model: str | None = None)

Bases: object

Fine-tuning job status.

Attributes

base_model: str | None = None

Name of the base model that is being fine-tuned.

created_on: int | None = None

Creation timestamp of the Fine-tuning job in milliseconds.

error: dict[str, Any] | None = None

Error message propagated from the job.

finished_on: int | None = None

Completion timestamp of the Fine-tuning job in milliseconds.

id: str | None = None

Workflow ID for the fine-tuning run.

model: str | None = None

Location of the fine-tuned model.

progress: float | None = None

Progress made as a fraction of total [0.0,1.0].

status: str | None = None

Status string, e.g. PENDING, RUNNING, SUCCESS, ERROR, CANCELLED.

trained_tokens: int | None = None

Number of tokens trained on. If multiple epochs are run, this can be larger than number of tokens in the training data.

training_data: str | None = None

Training data query.

training_result: list[dict[str, Any]] | None = None

Detailed metrics report for a completed training.

validation_data: str | None = None

Validation data query.