Skip to content

Commit 25610c2

Browse files
author
Larry
committed
style/grammar
1 parent d7d399d commit 25610c2

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

articles/machine-learning/tutorial-train-deploy-model-cli.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ The output of this command is similar to the following JSON:
241241
> [!IMPORTANT]
242242
> Copy the value of the `id` entry, as it is used in the next section.
243243
244-
To check out a more comprehensive template for the JSON file that describe a dataset, use the following command:
244+
To see a more comprehensive template for a dataset, use the following command:
245245
```azurecli-interactive
246246
az ml dataset register --show-template
247247
```
@@ -283,17 +283,17 @@ data:
283283
284284
Change the value of the `id` entry to match the value returned when you registered the dataset. This value is used to load the data into the compute target during training.
285285

286-
This YAML does the following:
286+
This YAML results in the following actions during training:
287287

288-
* Mounts the dataset (based on the ID of the dataset) in the training environment, and stores the path to the mount point in the `mnist` environment variable..
288+
* Mounts the dataset (based on the ID of the dataset) in the training environment, and stores the path to the mount point in the `mnist` environment variable.
289289
* Passes the location of the data (mount point) inside the training environment to the script using the `--data-folder` argument.
290290

291291
The runconfig file also contains information used to configure the environment used by the training run. If you inspect this file, you'll see that it references the `cpu-compute` compute target you created earlier. It also lists the number of nodes to use when training (`"nodeCount": "4"`), and contains a `"condaDependencies"` section that lists the Python packages needed to run the training script.
292292
293293
> [!TIP]
294294
> While it is possible to manually create a runconfig file, the one in this example was created using the `generate-runconfig.py` file included in the repository. This file gets a reference to the registered dataset, creates a run config programatically, and then persists it to file.
295295

296-
For more information on run configuration files, see [Set up and use compute targets for model training](how-to-set-up-training-targets.md#create-run-configuration-and-submit-run-using-azure-machine-learning-cli), or reference this [JSON file](https://github.com/microsoft/MLOps/blob/b4bdcf8c369d188e83f40be8b748b49821f71cf2/infra-as-code/runconfigschema.json) to see the full schema for a runconfig.
296+
For more information on run configuration files, see [Set up and use compute targets for model training](how-to-set-up-training-targets.md#create-run-configuration-and-submit-run-using-azure-machine-learning-cli). For a complete JSON reference, see the [runconfigschema.json](https://github.com/microsoft/MLOps/blob/b4bdcf8c369d188e83f40be8b748b49821f71cf2/infra-as-code/runconfigschema.json).
297297

298298
## Submit the training run
299299

@@ -374,7 +374,9 @@ az ml model deploy -n myservice -m "mymodel:1" --ic inferenceConfig.yml --dc aci
374374

375375
This command deploys a new service named `myservice`, using version 1 of the model that you registered previously.
376376

377-
The `inferenceConfig.yml` file provides information on how to perform inference, such as the entry script (`score.py`) and software dependencies. For more information on the structure of this file, see the [Inference configuration schema](reference-azure-machine-learning-cli.md#inference-configuration-schema). For more information on entry scripts, see [Deploy models with the Azure Machine Learning](how-to-deploy-and-where.md#prepare-to-deploy).
377+
The `inferenceConfig.yml` file provides information on how to use the model for inference. For example, it references the entry script (`score.py`) and software dependencies.
378+
379+
For more information on the structure of this file, see the [Inference configuration schema](reference-azure-machine-learning-cli.md#inference-configuration-schema). For more information on entry scripts, see [Deploy models with the Azure Machine Learning](how-to-deploy-and-where.md#prepare-to-deploy).
378380

379381
The `aciDeploymentConfig.yml` describes the deployment environment used to host the service. The deployment configuration is specific to the compute type that you use for the deployment. In this case, an Azure Container Instance is used. For more information, see the [Deployment configuration schema](reference-azure-machine-learning-cli.md#deployment-configuration-schema).
380382

0 commit comments

Comments
 (0)