Skip to content

Commit fbbdbd2

Browse files
committed
Remove italics from file and folder names
1 parent c622e80 commit fbbdbd2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/machine-learning/how-to-use-batch-model-openai-embeddings.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ You can configure the batch deployment to use the access key of your Azure OpenA
136136
137137
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.
138138
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.
140140
141141
Register the model in the workspace:
142142
@@ -174,7 +174,7 @@ An endpoint is needed to host the model. To create an endpoint, take the followi
174174
175175
# [Azure CLI](#tab/cli)
176176
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.
178178
179179
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/openai-embeddings/endpoint.yml":::
180180
@@ -212,7 +212,7 @@ The environment definition consists of the following lines, which are included i
212212
213213
---
214214
215-
The conda YAML file, *conda.yml*, contains the following lines:
215+
The conda YAML file, conda.yml, contains the following lines:
216216
217217
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/openai-embeddings/environment/conda.yaml":::
218218
@@ -228,7 +228,7 @@ This example uses a scoring script that performs the execution. In batch endpoin
228228
> [!TIP]
229229
> 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.
230230
231-
The scoring script, *code/batch_driver.py*, contains the following lines:
231+
The scoring script, code/batch_driver.py, contains the following lines:
232232
233233
:::code language="python" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/openai-embeddings/code/batch_driver.py" :::
234234
@@ -257,7 +257,7 @@ To use an access key instead of Microsoft Entra authentication, you use the foll
257257
258258
# [Azure CLI](#tab/cli)
259259
260-
The *deployment.yml* file configures the deployment:
260+
The deployment.yml file configures the deployment:
261261
262262
:::code language="yaml" source="~/azureml-examples-main/cli/endpoints/batch/deploy-models/openai-embeddings/deployment.yml" highlight="26-28":::
263263
@@ -293,13 +293,13 @@ To use an access key instead of Microsoft Entra authentication, you use the foll
293293
294294
## Test the deployment
295295
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.
297297
298298
1. Set up the input data:
299299
300300
# [Azure CLI](#tab/cli)
301301
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.
303303
304304
# [Python SDK](#tab/python)
305305
@@ -375,13 +375,13 @@ For testing the endpoint, you use a sample of the dataset [BillSum: A Corpus for
375375
print(embeddings)
376376
```
377377
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:
379379
380380
```jsonl
381381
{"file": "billsum-0.csv", "row": 0, "embeddings": [[0, 0, 0, 0, 0, 0, 0]]}
382382
{"file": "billsum-0.csv", "row": 1, "embeddings": [[0, 0, 0, 0, 0, 0, 0]]}
383383
```
384384
385-
## Next steps
385+
## Related content
386386
387387
- [Create jobs and input data for batch endpoints](how-to-access-data-batch-endpoints-jobs.md)

0 commit comments

Comments
 (0)