You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-nlp-processing-batch.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The model we are going to work with was built using the popular library transfor
29
29
30
30
The information in this article is based on code samples contained in the [azureml-examples](https://github.com/azure/azureml-examples) repository. To run the commands locally without having to copy/paste YAML and other files, clone the repo and then change directories to the [`cli/endpoints/batch/deploy-models/huggingface-text-summarization`](https://github.com/azure/azureml-examples/tree/main/cli/endpoints/batch/deploy-models/huggingface-text-summarization) if you are using the Azure CLI or [`sdk/python/endpoints/batch/deploy-models/huggingface-text-summarization`](https://github.com/azure/azureml-examples/tree/main/sdk/python/endpoints/batch/deploy-models/huggingface-text-summarization) if you are using our SDK for Python.
@@ -59,7 +59,7 @@ You can follow along this sample in a Jupyter Notebook. In the cloned repository
59
59
60
60
First, let's connect to Azure Machine Learning workspace where we're going to work on.
61
61
62
-
# [Azure CLI](#tab/azure-cli)
62
+
# [Azure CLI](#tab/cli)
63
63
64
64
```azurecli
65
65
az account set --subscription <subscription>
@@ -134,7 +134,7 @@ We are going to create a batch endpoint named `text-summarization-batch` where t
134
134
135
135
1. Decide on the name of the endpoint. The name of the endpoint will end-up in the URI associated with your endpoint. Because of that, __batch endpoint names need to be unique within an Azure region__. For example, there can be only one batch endpoint with the name `mybatchendpoint` in `westus2`.
136
136
137
-
# [Azure CLI](#tab/azure-cli)
137
+
# [Azure CLI](#tab/cli)
138
138
139
139
In this case, let's place the name of the endpoint in a variable so we can easily reference it later.
140
140
@@ -152,7 +152,7 @@ We are going to create a batch endpoint named `text-summarization-batch` where t
152
152
153
153
1. Configure your batch endpoint
154
154
155
-
# [Azure CLI](#tab/azure-cli)
155
+
# [Azure CLI](#tab/cli)
156
156
157
157
The following YAML file defines a batch endpoint:
158
158
@@ -236,7 +236,7 @@ Let's create the deployment that will host the model:
236
236
237
237
1. Each deployment runs on compute clusters. They support both [Azure Machine Learning Compute clusters (AmlCompute)](./how-to-create-attach-compute-cluster.md) or [Kubernetes clusters](./how-to-attach-kubernetes-anywhere.md). In this example, our model can benefit from GPU acceleration, which is why we will use a GPU cluster.
0 commit comments