Request
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=CreateModelCustomizationJob&Version=2024-01-01' \
-H 'Content-Type: application/json' \
-H 'X-Date: <X-Date>' \
-H 'X-Content-Sha256: <X-Content-Sha256>' \
-H 'Authorization: HMAC-SHA256 Credential=<AK>/<X-Date>/cn-beijing/ark/request, SignedHeaders=content-type;host;x-content-sha256;x-date, Signature=<Signature>' \
-d '{
"Name": "测试任务",
"Description": "这是一个测试任务",
"Tags": [
{
"Key": "test_key",
"Value": "test_value"
}
],
"ProjectName": "default",
"CustomizationType": "FinetuneLoRA",
"ModelReference": {
"FoundationModel": {
"Name": "skylark2-lite-8k",
"ModelVersion": "1.0"
}
},
"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"
]
}
}
}
'Response
{
"ResponseMetadata": {
"RequestId": "20240401114541A47B2E9C8F5D103E76",
"Action": "CreateModelCustomizationJob",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"Id": "mcj-20240401114541-5gzd8"
}
}