Request
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=GetFoundationModelVersion&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 '{
"FoundationModelName": "doubao-seed-2-0-pro"
}
'Response
{
"ResponseMetadata": {
"RequestId": "20240514210046057210000044CEC5FF",
"Action": "GetFoundationModelVersion",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"FoundationModelName": "doubao-seed-2-0-pro",
"ModelVersion": "260215",
"Description": "这是一条基础模型版本描述",
"ActiveConfigurationId": "fmvc-20240914123456-abcde",
"Configuration": {
"AppSettings": {
"Greeting": "你好,我是 Doubao 助手,很高兴为你服务。",
"Parameters": [
{
"Type": "String",
"Name": "temperature",
"DisplayName": "温度",
"Min": "0.0",
"Max": "2.0",
"Options": [
"1.0"
],
"DefaultValue": "1.0",
"Description": "生成随机性控制 · 值越大输出越多样"
}
],
"Prompts": [
{
"Scenario": "chat",
"Message": "请用简洁的语言总结以下内容"
}
],
"MaxInputTokenLength": 4096,
"SystemPrompt": {
"Message": "你是一个专业的 AI 助手,请根据用户问题给出准确、简洁的回答。",
"ModificationAllowed": true,
"MaxInputTokenLength": 1024
}
},
"CustomizationJobSettings": {
"SftSettings": {
"Enabled": true,
"SupportPresetDatasets": [
{
"Name": "通用中文对话数据集",
"Description": "覆盖日常对话与问答场景的通用中文语料",
"SampleCount": 461,
"Labelled": false
}
],
"Parameters": [
{
"Type": "String",
"Name": "learning_rate",
"DisplayName": "学习率",
"Min": "0.00001",
"Max": "0.001",
"Options": [
"0.0001"
],
"DefaultValue": "0.0001",
"Description": "训练过程中权重更新的步长",
"IncrementalLearningLocked": false
}
]
},
"LoraSettings": {
"Enabled": false,
"SupportPresetDatasets": [
{
"Name": "LoRA 微调通用数据集",
"Description": "面向 LoRA 微调的多领域通用语料",
"SampleCount": 901,
"Labelled": true
}
],
"Parameters": [
{
"Type": "String",
"Name": "lora_rank",
"DisplayName": "LoRA 秩",
"Min": "1",
"Max": "64",
"Options": [
"8"
],
"DefaultValue": "8",
"Description": "LoRA 低秩分解的秩大小 · 越大表达能力越强但训练成本越高",
"IncrementalLearningLocked": false
}
]
},
"ContinuePretrainSettings": {
"Enabled": false,
"SupportPresetDatasets": [
{
"Name": "通用增量预训练语料",
"Description": "覆盖通用中英文语料的预训练数据",
"SampleCount": 224,
"Labelled": true
}
],
"Parameters": [
{
"Type": "String",
"Name": "batch_size",
"DisplayName": "批大小",
"Min": "1",
"Max": "128",
"Options": [
"16",
"32",
"64"
],
"DefaultValue": "16",
"Description": "每次训练迭代使用的样本数量",
"IncrementalLearningLocked": false
}
]
}
}
},
"Status": "Unpublished",
"PublishTime": "2024-04-15T10:20:30Z",
"CreateTime": "2024-04-01T11:54:41Z",
"UpdateTime": "2024-05-14T20:59:45Z"
}
}