@@ -115,10 +115,10 @@ Format:
115
115
` runs:/<run-id>/<path-to-model-relative-to-the-root-of-the-artifact-location> `
116
116
117
117
Example:
118
- ` runs:/$RUN_ID /model/ `
118
+ ` runs:/<run-id> /model/ `
119
119
120
120
``` cli
121
- az ml model create --name my-model --version 1 --path runs:/$RUN_ID /model/ --type mlflow_model
121
+ az ml model create --name my-model --version 1 --path runs:/<run-id> /model/ --type mlflow_model
122
122
```
123
123
124
124
### azureml job
@@ -129,18 +129,18 @@ Format:
129
129
` azureml://jobs/<job-name>/outputs/<output-name>/paths/<path-to-model-relative-to-the-named-output-location> `
130
130
131
131
Examples:
132
- - Default artifact location: ` azureml://jobs/$RUN_ID /outputs/artifacts/paths/model/ `
133
- * This is equivalent to ` runs:/$RUN_ID /model/ ` .
132
+ - Default artifact location: ` azureml://jobs/<run-id> /outputs/artifacts/paths/model/ `
133
+ * This is equivalent to ` runs:/<run-id> /model/ ` .
134
134
* * artifacts* is the reserved keyword to refer to the output that represents the default artifact location.
135
- - From a named output directory: ` azureml://jobs/$RUN_ID /outputs/trained-model `
135
+ - From a named output directory: ` azureml://jobs/<run-id> /outputs/trained-model `
136
136
- From a specific file or folder path within the named output directory:
137
- * ` azureml://jobs/$RUN_ID /outputs/trained-model/paths/cifar.pt `
138
- * ` azureml://jobs/$RUN_ID /outputs/checkpoints/paths/model/ `
137
+ * ` azureml://jobs/<run-id> /outputs/trained-model/paths/cifar.pt `
138
+ * ` azureml://jobs/<run-id> /outputs/checkpoints/paths/model/ `
139
139
140
140
Saving model from a named output:
141
141
142
142
``` cli
143
- az ml model create --name my-model --version 1 --path azureml://jobs/$RUN_ID /outputs/trained-model
143
+ az ml model create --name my-model --version 1 --path azureml://jobs/<run-id> /outputs/trained-model
144
144
```
145
145
146
146
For a complete example, see the [ CLI reference] ( /cli/azure/ml/model ) .
@@ -176,14 +176,14 @@ Format:
176
176
` runs:/<run-id>/<path-to-model-relative-to-the-root-of-the-artifact-location> `
177
177
178
178
Example:
179
- ` runs:/$RUN_ID /model/ `
179
+ ` runs:/<run-id> /model/ `
180
180
181
181
``` python
182
182
from azure.ai.ml.entities import Model
183
183
from azure.ai.ml.constants import ModelType
184
184
185
185
run_model = Model(
186
- path = " runs:/$RUN_ID /model/"
186
+ path = " runs:/<run-id> /model/"
187
187
name = " run-model-example" ,
188
188
description = " Model created from run." ,
189
189
type = ModelType.MLFLOW
@@ -200,13 +200,13 @@ Format:
200
200
` azureml://jobs/<job-name>/outputs/<output-name>/paths/<path-to-model-relative-to-the-named-output-location> `
201
201
202
202
Examples:
203
- - Default artifact location: ` azureml://jobs/$RUN_ID /outputs/artifacts/paths/model/ `
204
- * This is equivalent to ` runs:/$RUN_ID /model/ ` .
203
+ - Default artifact location: ` azureml://jobs/<run-id> /outputs/artifacts/paths/model/ `
204
+ * This is equivalent to ` runs:/<run-id> /model/ ` .
205
205
* * artifacts* is the reserved keyword to refer to the output that represents the default artifact location.
206
- - From a named output directory: ` azureml://jobs/$RUN_ID /outputs/trained-model `
206
+ - From a named output directory: ` azureml://jobs/<run-id> /outputs/trained-model `
207
207
- From a specific file or folder path within the named output directory:
208
- * ` azureml://jobs/$RUN_ID /outputs/trained-model/paths/cifar.pt `
209
- * ` azureml://jobs/$RUN_ID /outputs/checkpoints/paths/model/ `
208
+ * ` azureml://jobs/<run-id> /outputs/trained-model/paths/cifar.pt `
209
+ * ` azureml://jobs/<run-id> /outputs/checkpoints/paths/model/ `
210
210
211
211
Saving model from a named output:
212
212
0 commit comments