获取模型训练任务信息
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetModelCustomizationJob | 要执行的操作,取值:GetModelCustomizationJob。 |
Version | String | 是 | 2024-01-01 | API的版本,取值:2024-01-01。 |
Id | String | 是 | mcj-test-id | 模型调优任务的ID |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
ModelCustomizationJob | Object | - | 模型调优任务 |
{ "Id": "mcj-20240101000000-a1b2c" }
{ "ResponseMetadata": { "RequestId": "20240101000000046C7CCC3CCCE87016E3", "Action": "GetModelCustomizationJob", "Version": "2024-01-01", "Service": "ark", "Region": "cn-beijing" }, "Result": { "Id": "mcj-20240101000000-a1b2c", "Name": "测试任务", "Description": "这是一个测试任务", "Tags": [ { "Key": "sys:ark:createdBy", "Value": "IAMUser/23454321/test.user@bytedance.com" }], "ProjectName": "default", "CustomizationType": "FinetuneLoRA", "ModelReference": { "FoundationModel": { "Name": "doubao-lite-4k", "ModelVersion": "240328", "ConfigurationId": "fmvc-20240101000000-a1b2c" } }, "Hyperparameters": [ { "Name": "epoch", "Value": "6" }, { "Name": "learning_rate", "Value": "0.00001" }], "SaveModelLimit": 1, "Data": { "TrainingSet": { "TosBucket": "ark-auto-created-required-2100000000-cn-beijing", "TosPaths": [ "model-customization-job-upload-set/1712561985763/test.jsonl" ] } "EncryptionKeyringType": "ManagedKeyring", "KMSTrn": "trn:kms:cn-beijing:2100000000:keyrings/datapipe_keyring/keys/datapipe_key_ml_maas" }, "Status": { "Phase": "Completed", "PhaseTime": "2024-01-01T00:00:00Z", "RetryCount": 0, "OutputExpiredTime": "2024-01-01T13:03:09Z", "Resumable": false, "RetryLimit": 3, "TrainingTokensPerEpoch": 41422, "BillableTokens": 414220 }, "TotalOutputCount": 2, "PublishedOutputCount": 1, "Reason": "", "Outputs": [ { "Index": 0, "Name": "global_step_1", "CreateTime": "2024-01-01T12:57:08Z", "Status": "Available" }, { "Index": 1, "CustomModelId": "cm-20240913210309-xc8rz", "CustomModelCreateTime": "2024-09-13T13:03:09Z", "Name": "global_step_2", "CreateTime": "2024-01-01T12:57:28Z", "Status": "Exported" }], "CreateTime": "2024-01-01T00:00:00Z", "UpdateTime": "2024-01-01T00:00:00Z" } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
---|---|---|
400 | MissingParameter.{{Parameter}} | 缺少必要的请求参数。请确认请求参数后重试。 |
404 | NotFound.{{Parameter}} | 指定资源找不到。请确认参数后重试。 |
500 | InternalError | 未知错误,请稍后重试。如果多次尝试仍失败,请提交工单。 |