You need to enable JavaScript to run this app.
导航
GetModelCustomizationJob - 获取模型调优任务信息
最近更新时间:2024.05.15 01:48:34首次发布时间:2024.05.15 01:48:34

获取模型训练任务信息

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

GetModelCustomizationJob

要执行的操作,取值:GetModelCustomizationJob。

Version
String

2024-01-01

API的版本,取值:2024-01-01。

Id
String

mcj-test-id

模型调优任务的ID

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
ModelCustomizationJob
ModelCustomizationJob

-

模型调优任务

请求示例

{
    "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": "skylark2-lite-8k",
                "ModelVersion": "1.0",
                "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"
                ]
            }
        },
        "Status": {
            "Phase": "Completed",
            "PhaseTime": "2024-01-01T00:00:00Z"
        },
        "Outputs": [
            {
                "Index": 0,
                "CustomModelId": "cm-20240101000000-a1b2c",
                "CustomModelCreateTime": "2024-01-01T00:00:00Z"
            }
        ],
        "CreateTime": "2024-01-01T00:00:00Z",
        "UpdateTime": "2024-01-01T00:00:00Z"
    }
}

错误码

您可访问公共错误码,获取更多错误码信息。