BaseModelReference interface

The base model a custom model was trained from. A HuggingFace repository supplied by the user because the platform may lack access to private source repositories.

Properties

config

The verbatim config.json of the base model, supplied by the user. Required if the base model is not publicly accessible on HuggingFace. For more information on CustomAIModel configuration see https://aka.ms/aks/aim-customaimodel.

id

The HuggingFace <org>/<repo> id of the base model, e.g. meta-llama/Llama-2-7b-chat. Immutable after creation.

totalWeightSizeBytes

The total size of the model weights in bytes. eg 28000000000. Required if the base model is not publicly accessible on HuggingFace.

Property Details

config

The verbatim config.json of the base model, supplied by the user. Required if the base model is not publicly accessible on HuggingFace. For more information on CustomAIModel configuration see https://aka.ms/aks/aim-customaimodel.

config?: Record<string, any>

Property Value

Record<string, any>

id

The HuggingFace <org>/<repo> id of the base model, e.g. meta-llama/Llama-2-7b-chat. Immutable after creation.

id: string

Property Value

string

totalWeightSizeBytes

The total size of the model weights in bytes. eg 28000000000. Required if the base model is not publicly accessible on HuggingFace.

totalWeightSizeBytes?: number

Property Value

number