You need to enable JavaScript to run this app.
文档中心
火山方舟

火山方舟

复制全文
下载 pdf
管理基础模型
获取基础模型版本信息
复制全文
下载 pdf
获取基础模型版本信息
POST https://ark.cn-beijing.volcengineapi.com/?Action=GetFoundationModelVersion&Version=2024-01-01​
获取基础模型版本信息​
鉴权​
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。​
  • Access Key 鉴权,请在 Access Key 管理 页面,获取 Access Key。本接口仅支持 Access Key 鉴权。​
​​
请求参数​
Body 参数​
FoundationModelName string 必选 | 基础模型名称​
​
ModelVersion string 必选 | 版本号​
​
​
响应参数​
ActiveConfigurationId string | 生效配置 ID​
​
Configuration object | 生效配置​
​
CreateTime string | 创建时间​
​
Description string | 版本描述​
​
FoundationModelName string | 基础模型名称​
​
ModelVersion string | 版本号​
​
PublishTime string | 发布时间​
​
Status string | 版本状态​
​
UpdateTime string | 更新时间​
​
​

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"
  }
}
最近更新时间:2026.09.04 20:24:12
这个页面对您有帮助吗?
有用
有用
无用
无用