Skip to main content

TrainingJobDetail

Training Job Object

id string

The unique identifier for the training job

Example: tr-12345
name string

The name of the training job

Example: training-1
description string

A description of the training job

Example: Fine-tuning the model on my dataset
base_model string

The base model used for training

Example: Llama-3.2-1B-Instruct
status string

The current status of the training job

Possible values: [Pending, Running, Testing, Success, Failed, TimedOut, Cancelled]

Example: Running
progress integer

The current progress of the training job

Example: 75
train_dataset object

Dataset Summary Object

id string

The unique identifier for the dataset

Example: ds-12345
name string

The name of the dataset

Example: my_dataset
created_at integer

The UNIX timestamp when the dataset was created

Example: 1633036800
is_uploaded boolean
Example: true
test_dataset object

Dataset Summary Object

id string

The unique identifier for the dataset

Example: ds-12345
name string

The name of the dataset

Example: my_dataset
created_at integer

The UNIX timestamp when the dataset was created

Example: 1633036800
is_uploaded boolean
Example: true
training_loss object[]
  • Array [
  • timestamp number
    Example: 1633036800
    loss number
    Example: 0.1234
  • ]
  • hyper_parameters object
    property name* object
    oneOf
    string
    created_by string

    The user ID who created the training job

    Example: user-12345
    created_at integer

    The timestamp when the TrainingJob was created

    Example: 1633036800
    updated_at integer

    The timestamp when the TrainingJob was last updated

    Example: 1633036800
    TrainingJobDetail
    {
    "id": "tr-12345",
    "name": "training-1",
    "description": "Fine-tuning the model on my dataset",
    "base_model": "Llama-3.2-1B-Instruct",
    "status": "Running",
    "progress": 75,
    "train_dataset": {
    "id": "ds-12345",
    "name": "my_dataset",
    "created_at": 1633036800,
    "is_uploaded": true
    },
    "test_dataset": {
    "id": "ds-12345",
    "name": "my_dataset",
    "created_at": 1633036800,
    "is_uploaded": true
    },
    "training_loss": [
    {
    "timestamp": 1633036800,
    "loss": 0.1234
    }
    ],
    "hyper_parameters": {},
    "created_by": "user-12345",
    "created_at": 1633036800,
    "updated_at": 1633036800
    }