Skip to content

components download_model

github-actions[bot] edited this page Aug 9, 2023 · 31 revisions

Download model

download_model

Overview

Description: Downloads a publicly available model

Version: 0.0.12

Tags

Preview

View in Studio: https://ml.azure.com/registries/azureml/components/download_model/version/0.0.12

Inputs

Name Description Type Default Optional Enum
model_source Storage containers from where model will be sourced from. string Huggingface ['AzureBlob', 'GIT', 'Huggingface']
model_id A valid model id for the model source selected. For example you can specify bert-base-uncased for importing HuggingFace bert base uncased model. Please specify the complete URL if GIT or AzureBlob is selected in model_source string
validation_info Path to the validation info file uri_file True
update_existing_model If set to true, will update the existing model. If set to false, will create a new model. boolean False True

Outputs

Name Description Type
model_download_metadata File name to which model download details will be written. File would contain details that could be useful for model registration in forms of model tags and properties uri_file
model_output Path to the dowloaded model uri_folder

Environment

azureml://registries/azureml/environments/model-management/versions/12

Clone this wiki locally