You are viewing documentation about an older version (1.7.0). View latest version

snowflake.cortex.FinetuneStatus

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

Bases: object

Fine-tuning job status.

Attributes

base_model: Optional[str] = None

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

created_on: Optional[int] = None

Creation timestamp of the Fine-tuning job in milliseconds.

error: Optional[Dict[str, Any]] = None

Error message propagated from the job.

finished_on: Optional[int] = None

Completion timestamp of the Fine-tuning job in milliseconds.

id: Optional[str] = None

Workflow ID for the fine-tuning run.

model: Optional[str] = None

Location of the fine-tuned model.

progress: Optional[float] = None

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

status: Optional[str] = None

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

trained_tokens: Optional[int] = 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: Optional[str] = None

Training data query.

training_result: Optional[List[Dict[str, Any]]] = None

Detailed metrics report for a completed training.

validation_data: Optional[str] = None

Validation data query.