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/ai-services/openai/how-to/fine-tuning-deploy.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: 'Deploy a finetuned model'
2
+
title: 'Deploy a fine-tuned model'
3
3
titleSuffix: Azure OpenAI
4
-
description: Learn how to deploy your finetuned model with Azure OpenAI Service by using Python, the REST APIs, or Azure AI Foundry portal.
4
+
description: Learn how to deploy your fine-tuned model with Azure OpenAI Service by using Python, the REST APIs, or Azure AI Foundry portal.
5
5
#services: cognitive-services
6
6
manager: nitinme
7
7
ms.service: azure-ai-openai
@@ -12,15 +12,15 @@ author: mrbullwinkle
12
12
ms.author: mbullwin
13
13
---
14
14
15
-
# Deploy a finetuned model for inferecing
15
+
# Deploy a fine-tuned model for inferencing
16
16
17
17
Once your model is fine-tuned, you can deploy the model and can use it in your own application.
18
18
19
19
When you deploy the model, you make the model available for inferencing, and that incurs an hourly hosting charge. Fine-tuned models, however, can be stored in Azure AI Foundry at no cost until you're ready to use them.
20
20
21
21
Azure OpenAI provides choices of deployment types for fine-tuned models on the hosting structure that fits different business and usage patterns: **Standard**, **Global Standard** (preview) and **Provisioned Managed** (preview). Learn more about [deployment types for fine-tuned models](#deployment-types) and the [concepts of all deployment types](./deployment-types.md).
22
22
23
-
## Deploy your finetuned model
23
+
## Deploy your fine-tuned model
24
24
25
25
## [Portal](#tab/portal)
26
26
@@ -398,7 +398,7 @@ Provisioned Managed fine-tuning deployments currently do not support vision and
398
398
399
399
To create a new deployment, make an HTTP PUT call via the [Deployments - Create or Update REST API](/rest/api/aiservices/accountmanagement/deployments/create-or-update?view=rest-aiservices-accountmanagement-2024-10-01&tabs=HTTP&preserve-view=true). The approach is similar to performing [cross region deployment](#cross-region-deployment) with the following exceptions:
400
400
401
-
- You must provide a sku name of `ProvisionedStandard`.
401
+
- You must provide a `sku` name of `ProvisionedStandard`.
402
402
- The capacity must be declared in PTUs.
403
403
- The `api-version` must be `2024-10-01` or newer.
404
404
- The HTTP method should be `PUT`.
@@ -449,7 +449,7 @@ curl -X PUT "https://management.azure.com/subscriptions/<SUBSCRIPTION>/resourceG
449
449
450
450
To delete a deployment, use the [Deployments - Delete REST API](/rest/api/aiservices/accountmanagement/deployments/delete?view=rest-aiservices-accountmanagement-2024-10-01&tabs=HTTP&preserve-view=true) and send an HTTP DELETE to the deployment resource. Like with creating deployments, you must include the following parameters:
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/fine-tuning-troubleshoot.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,17 +21,17 @@ In order to successfully access fine-tuning, you need **Cognitive Services OpenA
21
21
22
22
## Why did my upload fail?
23
23
24
-
If your file upload fails in Azure AI Foundry portal, you can view the error message under **Data files** in Azure AI Foundry portal. Hover your mouse over where it says “error” (under the status column) and an explanation of the failure will be displayed.
24
+
If your file upload fails in Azure AI Foundry portal, you can view the error message under **Data files** in Azure AI Foundry portal. Hover your mouse over where it says **error** (under the status column) and an explanation of the failure will be displayed.
25
25
26
26
:::image type="content" source="../media/fine-tuning/error.png" alt-text="Screenshot of fine-tuning error message." lightbox="../media/fine-tuning/error.png":::
27
27
28
-
## My fine-tuned model does not seem to have improved
28
+
## My fine-tuned model doesn't seem to have improved
29
29
30
-
-**Missing system message:** You need to provide a system message when you fine tune; you will want to provide that same system message when you use the fine-tuned model. If you provide a different system message, you may see different results than what you fine-tuned for.
30
+
-**Missing system message:** You need to provide a system message when you fine tune; you'll want to provide that same system message when you use the fine-tuned model. If you provide a different system message, you may see different results than what you fine-tuned for.
31
31
32
32
-**Not enough data:** while 10 is the minimum for the pipeline to run, you need hundreds to thousands of data points to teach the model a new skill. Too few data points risks overfitting and poor generalization. Your fine-tuned model may perform well on the training data, but poorly on other data because it has memorized the training examples instead of learning patterns. For best results, plan to prepare a data set with hundreds or thousands of data points.
33
33
34
-
-**Bad data:** A poorly curated or unrepresentative dataset will produce a low-quality model. Your model may learn inaccurate or biased patterns from your dataset. For example, if you are training a chatbot for customer service, but only provide training data for one scenario (e.g. item returns) it will not know how to respond to other scenarios. Or, if your training data is bad (contains incorrect responses), your model will learn to provide incorrect results.
34
+
-**Bad data:** A poorly curated or unrepresentative dataset will produce a low-quality model. Your model may learn inaccurate or biased patterns from your dataset. For example, if you're training a chatbot for customer service, but only provide training data for one scenario (e.g. item returns) it will not know how to respond to other scenarios. Or, if your training data is bad (contains incorrect responses), your model will learn to provide incorrect results.
35
35
36
36
## Fine-tuning with vision
37
37
@@ -43,13 +43,13 @@ Your images can get skipped for the following reasons:
43
43
- contains people
44
44
- contains faces
45
45
46
-
Remove the image. For now, we cannot fine-tune models with images containing these entities.
46
+
Remove the image. For now, we can't fine-tune models with images containing these entities.
47
47
48
48
**Common issues**
49
49
50
50
|Issue| Reason/Solution|
51
51
|:----|:-----|
52
-
|**Images skipped**| Images can get skipped for the following reasons: contains CAPTCHAs, people, or faces.<br><br> Remove the image. For now, we cannot fine-tune models with images containing these entities.|
52
+
|**Images skipped**| Images can get skipped for the following reasons: contains CAPTCHAs, people, or faces.<br><br> Remove the image. For now, we can't fine-tune models with images containing these entities.|
53
53
|**Inaccessible URL**| Check that the image URL is publicly accessible.|
54
54
|**Image too large**| Check that your images fall within our dataset size limits.|
55
55
|**Invalid image format**| Check that your images fall within our dataset format.|
0 commit comments