Skip to content

Commit 8664fb6

Browse files
authored
Fix typos in fine-tuning documentation
1 parent cc7e391 commit 8664fb6

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

articles/ai-foundry/how-to/fine-tune-serverless.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Azure AI Foundry enables you to customize large language models to your specific
2222

2323
**Cost Efficiency**: Azure AI Foundry's fine-tuning can be more cost-effective, especially for large-scale deployments, thanks to pay-as-you-go pricing.
2424

25-
**Model Variety**: Azure AI Foundry's Serverless API finetuning offers support for both proprietary and open-source models, providing users with the flexibility to select the models that best suit their needs without being restricted to a single type.
25+
**Model Variety**: Azure AI Foundry's Serverless API fine-tuning offers support for both proprietary and open-source models, providing users with the flexibility to select the models that best suit their needs without being restricted to a single type.
2626

2727
**Customization and Control**: Azure AI Foundry provides greater customization and control over the fine-tuning process, enabling users to tailor models more precisely to their specific requirements.
2828

29-
In this article, you will discover how to fine-tune models that are deployed using serverless API's in [Azure AI Foundry](https://ai.azure.com).
29+
In this article, you will discover how to fine-tune models that are deployed using serverless APIs in [Azure AI Foundry](https://ai.azure.com).
3030

3131

3232
## Prerequisites
@@ -61,7 +61,7 @@ You can also go to the Azure AI Foundry portal to view all models that contain f
6161
1. Navigate to the model catalog.
6262
1. Select the **Fine-tuning tasks** filter.
6363

64-
:::image type="content" source="../media/how-to/fine-tune/fine-tune-serverless/fine-tune-filters.png" alt-text="Screenshot of model catalog finetuning filter options." lightbox="../media/how-to/fine-tune/fine-tune-serverless/fine-tune-filters.png":::
64+
:::image type="content" source="../media/how-to/fine-tune/fine-tune-serverless/fine-tune-filters.png" alt-text="Screenshot of model catalog fine-tuning filter options." lightbox="../media/how-to/fine-tune/fine-tune-serverless/fine-tune-filters.png":::
6565

6666
1. Select **All** or select a specific task.
6767

@@ -209,9 +209,9 @@ Here are some of the tasks you can do on the **Models** tab:
209209
:::image type="content" source="../media/how-to/fine-tune/fine-tune-serverless/fine-tune-details.png" alt-text="Screenshot of the fine-tuning details dashboard." lightbox="../media/how-to/fine-tune/fine-tune-serverless/fine-tune-details.png":::
210210

211211

212-
### Supported enterprise scenarios for finetuning
212+
### Supported enterprise scenarios for fine-tuning
213213

214-
Several enterprise scenarios are supported for MaaS finetuning. The table below outlines the supported configurations for user storage networking and authentication to ensure smooth operation within enterprise scenarios:
214+
Several enterprise scenarios are supported for MaaS fine-tuning. The table below outlines the supported configurations for user storage networking and authentication to ensure smooth operation within enterprise scenarios:
215215

216216
>[!Note]
217217
>- Data connections auth can be changed via AI Foundry by clicking on the datastore connection which your dataset is stored in, and navigating to the **Access details** > **Authentication Method** setting.
@@ -222,18 +222,18 @@ Several enterprise scenarios are supported for MaaS finetuning. The table below
222222
| ------------------------------------------------------------ | ------------------------------ | --------------------------------- | ----------------------- |
223223
| Public Network Access = Enabled | Account key enabled | SAS/Account Key | Yes, UX and SDK |
224224
| Public Network Access = Enabled | Account key disabled | Entra-Based Auth (Credentialless) | Yes, UX and SDK <br><br> *Note:* for UX, you may need to add Storage Blob Data Reader or Storage Blob Data Contributor for your user ID on the storage account, or change the connection's authentication to use Account key/SAS token | | | |
225-
| Enabled from selected virtual networks and IP addresses | Account key enabled | Account key | Yes, UX and SDK <br><br> *Note:*: for UX, the IP of the compute running the browser must be in the selected list |
226-
| Enabled from selected virtual networks and IP addresses | Account key enabled | SAS | Yes, UX and SDK <br><br> *Note:*: for UX, the IP of the compute running the browser must be in the selected list |
225+
| Enabled from selected virtual networks and IP addresses | Account key enabled | Account key | Yes, UX and SDK <br><br> *Note:* for UX, the IP of the compute running the browser must be in the selected list |
226+
| Enabled from selected virtual networks and IP addresses | Account key enabled | SAS | Yes, UX and SDK <br><br> *Note:* for UX, the IP of the compute running the browser must be in the selected list |
227227
| Enabled from selected virtual networks and IP addresses | Account key disabled | Entra-Based Auth (Credentialless) | Yes, UX and SDK. <br><br>*Note:* for UX, you may need to add Storage Blob Data Reader or Storage Blob Data Contributor for your user ID on the storage account, or change the connection's authentication to use Account key/SAS token. Also ensure the IP of the compute running the browser must be in the selected list | | | |
228228
| Public Network Access = Disabled | Account key enabled | SAS/Account Key | Yes, UX and SDK. <br><br> *Note:* for UX data upload and submission to work, the workspace _needs to be accessed from within the Vnet_ that has appropriate access to the storage |
229229
| Public Network Access = Disabled | Account key disabled | Entra-Based Auth (Credentialless) | Yes, UX and SDK. <br><br> *Note:* for UX data upload and submission to work, the workspace _needs to be accessed from within the Vnet_ that has appropriate access to the storage |
230230

231231

232232
The scenarios above should work in a Managed Vnet workspace as well. See setup of Managed Vnet AI Foundry hub here: [How to configure a managed network for Azure AI Foundry hubs](./configure-managed-network.md)
233233

234-
Customer-Managed Keys (CMKs) is **not** a supported enterprise scenario with MaaS finetuning.
234+
Customer-Managed Keys (CMKs) is **not** a supported enterprise scenario with MaaS fine-tuning.
235235

236-
Issues finetuning with unique network setups on the workspace and storage usually points to a networking setup issue.
236+
Issues fine-tuning with unique network setups on the workspace and storage usually points to a networking setup issue.
237237

238238
---
239239

@@ -284,7 +284,7 @@ You can delete a fine-tuned model from the fine-tuning model list in [Azure AI F
284284

285285
### Create a client to consume the model
286286

287-
The following sections walk you through how to fine-tune a model in python. To find a notebook example of this code, please see [FineTuning LLM with Model-As-Service](https://github.com/Azure/azureml-examples/blob/main/sdk/python/jobs/finetuning/standalone/model-as-a-service/chat-completion/chat_completion_with_model_as_service.ipynb)
287+
The following sections walk you through how to fine-tune a model in python. To find a notebook example of this code, please see [Fine-tuning LLM with Model-As-Service](https://github.com/Azure/azureml-examples/blob/main/sdk/python/jobs/finetuning/standalone/model-as-a-service/chat-completion/chat_completion_with_model_as_service.ipynb)
288288

289289
1. Ensure to install dependencies to start fine-tuning your model.
290290

@@ -334,7 +334,7 @@ workspace.id
334334

335335
The AI Foundry model catalog offers fine-tuning support for multiple types of models, including chat completions and text generation. For a list of models that support fine-tuning and the Azure regions of support for fine-tuning, see [region availability for models in serverless API endpoints.](deploy-models-serverless-availability.md) Fine-tuning tasks are available only to users whose Azure subscription belongs to a billing account in a country/region where the model provider has made the offer available. If the offer is available in the relevant region, the user then must have a project resource in the Azure region where the model is available for deployment or fine-tuning, as applicable.
336336

337-
For this example, we use a Phi-4-mini-instruct model. In this code snippet, the model id property of the model will be passed as input to the fine tuning job. This is also available as the Asset ID field in model details page in Azure AI Foundry Model Catalog.
337+
For this example, we use a Phi-4-mini-instruct model. In this code snippet, the model ID property of the model will be passed as input to the fine tuning job. This is also available as the Asset ID field in model details page in Azure AI Foundry Model Catalog.
338338

339339
```python
340340
model_name = "Phi-4-mini-instruct"
@@ -423,7 +423,7 @@ except:
423423

424424
### Create validation data
425425

426-
The next step provides options to configure the model to use validation data in the training process. If you don't want to use validation data, you can choose to skip this step to continue to the the next section. Otherwise, if you have a validation dataset, you can either choose existing prepared validation data or upload new prepared validation data to use when customizing your model.
426+
The next step provides options to configure the model to use validation data in the training process. If you don't want to use validation data, you can choose to skip this step to continue to the next section. Otherwise, if you have a validation dataset, you can either choose existing prepared validation data or upload new prepared validation data to use when customizing your model.
427427

428428
```python
429429
from azure.ai.ml.entities import Data
@@ -491,13 +491,13 @@ There are following set of parameters that are required to fine-tune your model.
491491
1. model: Base model to fine-tune.
492492
1. training_data: Training data for fine-tuning the base model.
493493
1. validation_data: Validation data for fine-tuning the base model.
494-
1. task: FineTuning task to perform. eg. CHAT_COMPLETION for chat-completion fine-tuning jobs.
494+
1. task: Fine-tuning task to perform. eg. CHAT_COMPLETION for chat-completion fine-tuning jobs.
495495
1. outputs: Output registered model name.
496496

497497
The following parameters are optional:
498498

499499
1. hyperparameters: Parameters that control the fine-tuning behavior at run-time.
500-
1. name: FineTuning job name
500+
1. name: Fine-tuning job name
501501
1. experiment_name: Experiment name for fin-tuning job.
502502
1. display_name: Fine-tuning job display name.
503503

@@ -576,9 +576,9 @@ model_id = f"azureml://locations/{workspace.location}/workspaces/{workspace._wor
576576
```
577577

578578

579-
### Supported enterprise scenarios for finetuning
579+
### Supported enterprise scenarios for fine-tuning
580580

581-
Several enterprise scenarios are supported for MaaS finetuning. The table below outlines the supported configurations for user storage networking and authentication to ensure smooth operation within enterprise scenarios:
581+
Several enterprise scenarios are supported for MaaS fine-tuning. The table below outlines the supported configurations for user storage networking and authentication to ensure smooth operation within enterprise scenarios:
582582

583583
>[!Note]
584584
>- Data connections auth can be changed via AI Foundry by clicking on the datastore connection which your dataset is stored in, and navigating to the **Access details** > **Authentication Method** setting.
@@ -589,18 +589,18 @@ Several enterprise scenarios are supported for MaaS finetuning. The table below
589589
| ------------------------------------------------------------ | ------------------------------ | --------------------------------- | ----------------------- |
590590
| Public Network Access = Enabled | Account key enabled | SAS/Account Key | Yes, UX and SDK |
591591
| Public Network Access = Enabled | Account key disabled | Entra-Based Auth (Credentialless) | Yes, UX and SDK <br><br> *Note:* for UX, you may need to add Storage Blob Data Reader or Storage Blob Data Contributor for your user ID on the storage account, or change the connection's authentication to use Account key/SAS token | | | |
592-
| Enabled from selected virtual networks and IP addresses | Account key enabled | Account key | Yes, UX and SDK <br><br> *Note:*: for UX, the IP of the compute running the browser must be in the selected list |
593-
| Enabled from selected virtual networks and IP addresses | Account key enabled | SAS | Yes, UX and SDK <br><br> *Note:*: for UX, the IP of the compute running the browser must be in the selected list |
592+
| Enabled from selected virtual networks and IP addresses | Account key enabled | Account key | Yes, UX and SDK <br><br> *Note:* for UX, the IP of the compute running the browser must be in the selected list |
593+
| Enabled from selected virtual networks and IP addresses | Account key enabled | SAS | Yes, UX and SDK <br><br> *Note:* for UX, the IP of the compute running the browser must be in the selected list |
594594
| Enabled from selected virtual networks and IP addresses | Account key disabled | Entra-Based Auth (Credentialless) | Yes, UX and SDK. <br><br>*Note:* for UX, you may need to add Storage Blob Data Reader or Storage Blob Data Contributor for your user ID on the storage account, or change the connection's authentication to use Account key/SAS token. Also ensure the IP of the compute running the browser must be in the selected list | | | |
595595
| Public Network Access = Disabled | Account key enabled | SAS/Account Key | Yes, UX and SDK. <br><br> *Note:* for UX data upload and submission to work, the workspace _needs to be accessed from within the Vnet_ that has appropriate access to the storage |
596596
| Public Network Access = Disabled | Account key disabled | Entra-Based Auth (Credentialless) | Yes, UX and SDK. <br><br> *Note:* for UX data upload and submission to work, the workspace _needs to be accessed from within the Vnet_ that has appropriate access to the storage |
597597

598598

599599
The scenarios above should work in a Managed Vnet workspace as well. See setup of Managed Vnet AI Foundry hub here: [How to configure a managed network for Azure AI Foundry hubs](./configure-managed-network.md)
600600

601-
Customer-Managed Keys (CMKs) is **not** a supported enterprise scenario with MaaS finetuning.
601+
Customer-Managed Keys (CMKs) is **not** a supported enterprise scenario with MaaS fine-tuning.
602602

603-
Issues finetuning with unique network setups on the workspace and storage usually points to a networking setup issue.
603+
Issues fine-tuning with unique network setups on the workspace and storage usually points to a networking setup issue.
604604

605605
---
606606

0 commit comments

Comments
 (0)