/v1/finetuning/finetuned-models/{finetuned_model_id}/training-step-metricsRetrieve training metrics for fine-tuned models.Returns a list of metrics measured during the training of a fine-tuned model. The metrics are ordered by step number, with the most recent step first. The list can be paginated using page_size and page_token parameters.
Parameters
finetuned_model_idstringpathrequiredThe parent fine-tuned model ID.
page_sizeinteger · int32queryMaximum number of results to be returned by the server. If 0, defaults to 50.
page_tokenstringqueryRequest a specific page of the list results.
X-Client-NamestringheaderThe name of the project that is making the request.
Responses
Response to a request to list training-step metrics of a fine-tuned model.
next_page_tokenstringPagination token to retrieve the next page of results. If the value is "", it means no further results for the request.
step_metricsarray of objectThe metrics for each step the evaluation was run on.
Show child attributes
Show array items
The evaluation metrics at a given step of the training of a fine-tuned model.
created_atstring · date-timeCreation timestamp.
metricsobjectMap of names and values for each evaluation metrics.
step_numberinteger · int32Step number.
{
"step_metrics": [
{
"created_at": "2024-01-17T20:24:26.952802658Z",
"metrics": {
"accuracy": 0.4557601809501648,
"cross_entropy": 4.264331340789795,
"generation_accuracy": 0.4557601809501648,
"generation_cross_entropy": 4.264331340789795,
"step": 0
}
},
{
"created_at": "2024-01-17T20:25:19.331940174Z",
"metrics": {
"accuracy": 0.7393720149993896,
"cross_entropy": 0.7702581286430359,
"generation_accuracy": 0.7393720149993896,
"generation_cross_entropy": 0.7702581286430359,
"step": 9
},
"step_number": 9
}
]
}Error is the response for any unsuccessful event.
messagestringA developer-facing error message.
{
"message": "string"
}Error is the response for any unsuccessful event.
messagestringA developer-facing error message.
{
"message": "string"
}Error is the response for any unsuccessful event.
messagestringA developer-facing error message.
{
"message": "string"
}Error is the response for any unsuccessful event.
messagestringA developer-facing error message.
{
"message": "string"
}Error is the response for any unsuccessful event.
messagestringA developer-facing error message.
{
"message": "string"
}Error is the response for any unsuccessful event.
messagestringA developer-facing error message.
{
"message": "string"
}