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/cognitive-services/openai/includes/fine-tuning-rest.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
@@ -98,14 +98,14 @@ The first step in creating a customized model is to choose a base model. The cho
98
98
-`davinci`\*
99
99
\* available by request
100
100
101
-
You can use the [Models API](/rest/api/cognitiveservices/azureopenaipreview/models) to identify which models are fine-tunable. For more information about our base models, see [Models](../concepts/models.md).
101
+
You can use the [Models API](/rest/api/cognitiveservices/azureopenaistable/models) to identify which models are fine-tunable. For more information about our base models, see [Models](../concepts/models.md).
102
102
103
103
## Upload your training data
104
104
105
105
The next step is to either choose existing prepared training data or upload new prepared training data to use when customizing your model. Once you've prepared your training data, you can upload your files to the service. We offer two ways to upload training data:
106
106
107
-
-[From a local file](/rest/api/cognitiveservices/azureopenaipreview/files/upload)
108
-
-[Import from an Azure Blob store or other web location](/rest/api/cognitiveservices/azureopenaipreview/files/import)
107
+
-[From a local file](/rest/api/cognitiveservices/azureopenaistable/files/upload)
108
+
-[Import from an Azure Blob store or other web location](/rest/api/cognitiveservices/azureopenaistable/files/import)
109
109
110
110
For large data files, we recommend you import from an Azure Blob store. Large files can become unstable when uploaded through multipart forms because the requests are atomic and can't be retried or resumed. For more information about Azure Blob storage, see [What is Azure Blob storage?](../../../storage/blobs/storage-blobs-overview.md)
111
111
@@ -209,7 +209,7 @@ status = (r.json())["status"]
209
209
print(f'Fine-tuning model with job ID: {job_id}.')
210
210
```
211
211
212
-
You can either use default values for the hyperparameters of the fine-tune job, or you can adjust those hyperparameters for your customization needs. For the previous Python example, we've set the `n_epochs` hyperparameter to 1, indicating that we want just one full cycle through the training data. For more information about these hyperparameters, see the [Create a Fine tune job](/rest/api/cognitiveservices/azureopenaipreview/fine-tunes/create) section of the [REST API](/rest/api/cognitiveservices/azureopenaipreview/fine-tunes) documentation.
212
+
You can either use default values for the hyperparameters of the fine-tune job, or you can adjust those hyperparameters for your customization needs. For the previous Python example, we've set the `n_epochs` hyperparameter to 1, indicating that we want just one full cycle through the training data. For more information about these hyperparameters, see the [Create a Fine tune job](/rest/api/cognitiveservices/azureopenaistable/fine-tunes/create) section of the [REST API](/rest/api/cognitiveservices/azureopenaistable/fine-tunes) documentation.
When the fine-tune job has succeeded, the value of `fine_tuned_model` in the response body of the `FineTune.retrieve()` method is set to the name of your customized model. Your model is now also available for discovery from the [list Models API](/rest/api/cognitiveservices/azureopenaipreview/models/list). However, you can't issue completion calls to your customized model until your customized model is deployed. You must deploy your customized model to make it available for use with completion calls.
245
+
When the fine-tune job has succeeded, the value of `fine_tuned_model` in the response body of the `FineTune.retrieve()` method is set to the name of your customized model. Your model is now also available for discovery from the [list Models API](/rest/api/cognitiveservices/azureopenaistable/models/list). However, you can't issue completion calls to your customized model until your customized model is deployed. You must deploy your customized model to make it available for use with completion calls.
246
246
247
247
> [!NOTE]
248
248
> As with all applications, we require a review process prior to going live.
@@ -383,7 +383,7 @@ You can use various methods to delete the deployment for your customized model:
You can optionally delete training and validation files you've uploaded for training, and result files generated during training, from your Azure OpenAI subscription. You can use the following methods to delete your training, validation, and result files:
The following Python example uses the REST API to delete the training, validation, and result files for your customized model.
@@ -456,5 +456,5 @@ for id in results:
456
456
457
457
## Next steps
458
458
459
-
- Explore the control plane REST API Reference documentation to learn more about all the fine-tuning capabilities. You can find the [control plane REST documentation here](/rest/api/cognitiveservices/azureopenaipreview/deployments).
459
+
- Explore the control plane REST API Reference documentation to learn more about all the fine-tuning capabilities. You can find the [control plane REST documentation here](/rest/api/cognitiveservices/azureopenaistable/deployments).
460
460
- Explore more of the [Python SDK operations here](https://github.com/openai/openai-python/blob/main/examples/azure/finetuning.ipynb).
0 commit comments