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
training_technique string

Training technique that has been used for this training job

Possible values: [SFT, GRPO]

Example: SFT
base_model_option string

Base model option used for training

Possible values: [pre-trained, fine-tuned]

Example: pre-trained
base_model string

The base model used for training

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

(base_model_option == "fine-tuned") Fine-tuned model that is used as a base model for the training job

Example: training-job-1
base_fine_tuned_model_checkpoint int

(base_model_option == "fine-tuned") Check point that is used as a base model for the training job

Example: 5
test_functions string[]
Example: ["test_similarity_shared"]
reward object

(GRPO) Reward weight map

test_function_1 float
Example: 0.2
test_function_2 float
Example: 0.8
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",
    "training_technique": "SFT",
    "base_model_option": "pre-trained",
    "base_model": "Llama-3.2-1B-Instruct",
    "base_fine_tuned_model": "training-job-1",
    "base_fine_tuned_model_checkpoint": 5,
    "test_functions": [
    "test_similarity_shared"
    ],
    "reward": {
    "test_function_1": 0.2,
    "test_function_2": 0.8
    },
    "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
    }