metrics[].key returned by GET /api/v2-beta/training-runs/{trainingRunId}/metrics as metricKey. Set resolution to choose the number of sampled history points; the default is 200. Returns 404 if the run or metric is unavailable.
Signature
Method signature onclient.trainings:
Parameters
Returns
Promise<TrainingRunMetricHistory>
The history of one training run metric, sampled to the requested resolution.
"training_loss" | "validation_loss" | "learning_rate" | "training_token_accuracy" | "validation_token_accuracy" | null
required
Normalized metric name, or null when this key has no recognized metric name.
Errors
HTTP errors throwPotatoApiError. The endpoint documents these error responses:
HTTP endpoint:
GET /training-runs/{trainingRunId}/metrics/{metricKey}.