# 1. Register a model from an azureml.core.Run object model = run.register_model(model_name='bidaf_onnx', tags={'area': 'qna'}, model_path='outputs/model.onnx') print(model.name, model.id, model.version, sep='\t') # 2. Register a model from an azureml.train.automl.run.AutoMLRun object description = 'My AutoML Model' model = run.register_model(description = description, tags={'area': 'qna'}) print(run.model_id)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter