Skip to content

Commit 89649ef

Browse files
authored
Update fine-tuning-rest.md
1 parent a9a8b1d commit 89649ef

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/cognitive-services/openai/includes/fine-tuning-rest.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ The first step in creating a customized model is to choose a base model. The cho
9898
- `davinci`\*
9999
\* available by request
100100

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).
102102

103103
## Upload your training data
104104

105105
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:
106106

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)
109109

110110
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)
111111

@@ -209,7 +209,7 @@ status = (r.json())["status"]
209209
print(f'Fine-tuning model with job ID: {job_id}.')
210210
```
211211

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.
213213

214214
## Check the status of your customized model
215215

@@ -242,7 +242,7 @@ print(f'Found {len((r.json())["data"])} fine-tune jobs.')
242242

243243
## Deploy a customized model
244244

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/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.
246246

247247
> [!NOTE]
248248
> 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:
383383

384384
- [Azure OpenAI Studio](../how-to/fine-tuning.md?pivots=programming-language-studio#delete-your-model-deployment)
385385
- [Azure CLI](/cli/azure/cognitiveservices/account/deployment?view=azure-cli-latest&preserve-view=true#az-cognitiveservices-account-deployment-delete)
386-
- [REST APIs](/rest/api/cognitiveservices/azureopenaipreview/deployments/delete)
386+
- [REST APIs](/rest/api/cognitiveservices/azureopenaistable/deployments/delete)
387387
- Python SDK
388388

389389
The following Python example uses the REST API to delete the deployment for your customized model.
@@ -400,7 +400,7 @@ r = requests.delete(api_base + 'openai/deployments/' + deployment_id,
400400
Similarly, you can use various methods to delete your customized model:
401401

402402
- [Azure OpenAI Studio](../how-to/fine-tuning.md?pivots=programming-language-studio#delete-your-customized-model)
403-
- [REST APIs](/rest/api/cognitiveservices/azureopenaipreview/fine-tunes/delete)
403+
- [REST APIs](/rest/api/cognitiveservices/azureopenaistable/fine-tunes/delete)
404404
- Python SDK
405405

406406
> [!NOTE]
@@ -420,7 +420,7 @@ r = requests.delete(api_base + 'openai/fine-tunes/' + job_id,
420420
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:
421421

422422
- [Azure OpenAI Studio](../how-to/fine-tuning.md?pivots=programming-language-studio#delete-your-training-files)
423-
- [REST APIs](/rest/api/cognitiveservices/azureopenaipreview/files/delete)
423+
- [REST APIs](/rest/api/cognitiveservices/azureopenaistable/files/delete)
424424
- Python SDK
425425

426426
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:
456456

457457
## Next steps
458458

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).
460460
- Explore more of the [Python SDK operations here](https://github.com/openai/openai-python/blob/main/examples/azure/finetuning.ipynb).

0 commit comments

Comments
 (0)