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-use-batch-model-openai-embeddings.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@ You can configure the batch deployment to use the access key of your Azure OpenA
136
136
137
137
Model deployments in batch endpoints can deploy only registered models. You can use MLflow models with the flavor OpenAI to create a model in your workspace that references a deployment in Azure OpenAI.
138
138
139
-
In the cloned repository, the *model* folder contains an MLflow model that generates embeddings based on the ADA-002 model.
139
+
In the cloned repository, the model folder contains an MLflow model that generates embeddings based on the ADA-002 model.
140
140
141
141
Register the model in the workspace:
142
142
@@ -174,7 +174,7 @@ An endpoint is needed to host the model. To create an endpoint, take the followi
174
174
175
175
# [Azure CLI](#tab/cli)
176
176
177
-
Create a YAML file called *endpoint.yml* that contains the following lines. Replace the `name` value with your endpoint name.
177
+
Create a YAML file called endpoint.yml that contains the following lines. Replace the `name` value with your endpoint name.
@@ -228,7 +228,7 @@ This example uses a scoring script that performs the execution. In batch endpoin
228
228
> [!TIP]
229
229
> By default, MLflow generates embeddings from the first text column that's available in the input data. If you want to use a different column, set the `AZUREML_BI_TEXT_COLUMN` environment variable to the name of your preferred column. Leave that variable blank if the default behavior works for you.
230
230
231
-
The scoring script, *code/batch_driver.py*, contains the following lines:
231
+
The scoring script, code/batch_driver.py, contains the following lines:
@@ -293,13 +293,13 @@ To use an access key instead of Microsoft Entra authentication, you use the foll
293
293
294
294
## Test the deployment
295
295
296
-
For testing the endpoint, you use a sample of the dataset [BillSum: A Corpus for Automatic Summarization of US Legislation](https://arxiv.org/abs/1910.00523). This sample is included in the *data* folder of the cloned repository.
296
+
For testing the endpoint, you use a sample of the dataset [BillSum: A Corpus for Automatic Summarization of US Legislation](https://arxiv.org/abs/1910.00523). This sample is included in the data folder of the cloned repository.
297
297
298
298
1. Set up the input data:
299
299
300
300
# [Azure CLI](#tab/cli)
301
301
302
-
In the commands in this section, use *data* as the name of the folder that contains the input data.
302
+
In the commands in this section, use **data** as the name of the folder that contains the input data.
303
303
304
304
# [Python SDK](#tab/python)
305
305
@@ -375,13 +375,13 @@ For testing the endpoint, you use a sample of the dataset [BillSum: A Corpus for
375
375
print(embeddings)
376
376
```
377
377
378
-
You can also open the output file, *embeddings.jsonl*, to see the predictions:
378
+
You can also open the output file, embeddings.jsonl, to see the predictions:
0 commit comments