POST https://ark.cn-beijing.volcengineapi.com/?Action=GetModelCustomizationJobMetricData&Version=2024-01-01
查询精调效果指标详细数据接口,用于获取模型精调任务在训练过程中的效果指标(如 train/loss、eval/loss 等)的打点数据。
鉴权#
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。
- Access Key 鉴权,请在 Access Key 管理 页面,获取 Access Key。本接口仅支持 Access Key 鉴权。
请求参数#
Body 参数#
FromStep integer 必选 | 查询的起点 step
Metrics string[] 必选 | 指标名称列表
指标名称列表。可通过 GetModelCustomizationJobMetrics 接口获取可用指标名,例如 train/loss、eval/loss、train/total_tokens 等。
ModelCustomizationJobId string 必选 | 精调任务 ID
精调任务 ID,格式如 mcj-20241128104838-g9vqg
ToStep integer 必选 | 查询的终点 step
MaxMetricPoint string 默认值 500 | 单个指标的最多返
单个指标最多返回的采样打点数上限。
MinSampleStep string | 最小采样步长
最小采样步长。当指定值大于系统根据 MaxMetricPoint 计算出的步长时,以此值生效。
响应参数#
Items object[] | 指标数据列表
指标数据列表,每个元素包含一个指标的采样数据
Metric string | 指标名称
Items.Metric
Samples object[] | 指标数据
Items.Samples
Step integer | Step 序号
Items.Samples.Step
第几步
Value string | 打点值
Items.Samples.Value
上报的打点值