你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ModelVersion interface

模型版本定义

属性

artifactProfile

模型的伪影特征

baseModel

基础模型资产ID

blobUri

blob存储中模型工件的URI

description

资产说明文本。

id

资产 ID,资产的唯一标识符

loraConfig

适配器专用配置。 weight_type是Lora时必须的;否则就被忽视了。 上传文件中存在时,可以从 adapter_config.json 自动填充——用户提供的值优先于自动检测值。

name

资源的名称

source

模型的源

tags

标记字典。 可以添加、删除和更新标记。

version

资源的版本

warnings

服务计算的咨询警告,来源于工件配置文件。

weightType

模型的重量类型

属性详细信息

artifactProfile

模型的伪影特征

artifactProfile?: ArtifactProfile

属性值

baseModel

基础模型资产ID

baseModel?: string

属性值

string

blobUri

blob存储中模型工件的URI

blobUri: string

属性值

string

description

资产说明文本。

description?: string

属性值

string

id

资产 ID,资产的唯一标识符

id?: string

属性值

string

loraConfig

适配器专用配置。 weight_type是Lora时必须的;否则就被忽视了。 上传文件中存在时,可以从 adapter_config.json 自动填充——用户提供的值优先于自动检测值。

loraConfig?: LoraConfig

属性值

name

资源的名称

name: string

属性值

string

source

模型的源

source?: ModelSourceData

属性值

tags

标记字典。 可以添加、删除和更新标记。

tags?: Record<string, string>

属性值

Record<string, string>

version

资源的版本

version: string

属性值

string

warnings

服务计算的咨询警告,来源于工件配置文件。

warnings?: FoundryModelWarning[]

属性值

weightType

模型的重量类型

weightType?: FoundryModelWeightType

属性值