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/concepts/models.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ For example, our most powerful GPT-3 model is called `text-davinci-002`, while o
49
49
50
50
## Finding what models are available
51
51
52
-
You can easily see the models you have available for both inference and fine-tuning in your resource by using the [Models API](../reference.md#models).
52
+
You can easily see the models you have available for both inference and fine-tuning in your resource by using the [Models API](/rest/api/cognitiveservices/azureopenai/models/list).
Copy file name to clipboardexpand all lines: articles/cognitive-services/openai/includes/fine-tuning-python.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -100,14 +100,14 @@ The first step in creating a customized model is to choose a base model. The cho
100
100
-`davinci`\*
101
101
\* available by request
102
102
103
-
You can use the [Models API](../reference.md#models) to identify which models are fine-tunable. For more information about our base models, see [Models](../concepts/models.md).
103
+
You can use the [Models API](/rest/api/cognitiveservices/azureopenai/models/list) to identify which models are fine-tunable. For more information about our base models, see [Models](../concepts/models.md).
104
104
105
105
## Upload your training data
106
106
107
107
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:
108
108
109
-
-[From a local file](../reference.md#upload-a-file)
110
-
-[Import from an Azure Blob store or other web location](../reference.md#import-a-file-from-azure-blob)
109
+
-[From a local file](/rest/api/cognitiveservices/azureopenai/files/upload)
110
+
-[Import from an Azure Blob store or other web location](/rest/api/cognitiveservices/azureopenai/files/import)
111
111
112
112
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)
113
113
@@ -204,7 +204,7 @@ status = resp["status"]
204
204
print(f'Fine-tuning model with job ID: {job_id}.')
205
205
```
206
206
207
-
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](../reference.md#create-a-fine-tune-job) section of the [REST API](../reference.md) documentation.
207
+
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/azureopenai/fine-tunes/create) section of the [REST API](/rest/api/cognitiveservices/azureopenai/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](../reference.md#list-all-available-models). 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.
237
+
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/azureopenai/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.
238
238
239
239
> [!NOTE]
240
240
> As with all applications, we require a review process prior to going live.
@@ -347,7 +347,7 @@ You can use various methods to delete the deployment for your customized model:
@@ -382,7 +382,7 @@ result = openai.FineTune.delete(sid=job_id)
382
382
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 Python SDK to delete the training, validation, and result files for your customized model.
@@ -411,5 +411,5 @@ for id in results:
411
411
412
412
## Next steps
413
413
414
-
- Explore the full REST API Reference documentation to learn more about all the fine-tuning capabilities. You can find the [full REST documentation here](../reference.md).
414
+
- 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/azureopenai/deployments).
415
415
- Explore more of the [Python SDK operations here](https://github.com/openai/openai-python/blob/main/examples/azure/finetuning.ipynb).
Copy file name to clipboardexpand all lines: articles/cognitive-services/openai/includes/fine-tuning-rest.md
+9-9
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](../reference.md#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/azureopenai/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](../reference.md#upload-a-file)
108
-
-[Import from an Azure Blob store or other web location](../reference.md#import-a-file-from-azure-blob)
107
+
-[From a local file](/rest/api/cognitiveservices/azureopenai/files/upload?tabs=HTTP)
108
+
-[Import from an Azure Blob store or other web location](/rest/api/cognitiveservices/azureopenai/files/import?tabs=HTTP)
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](../reference.md#create-a-fine-tune-job) section of the [REST API](../reference.md) 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/azureopenai/fine-tunes/create) section of the [REST API](/rest/api/cognitiveservices/azureopenai/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](../reference.md#list-all-available-models). 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/azureopenai/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 full REST API Reference documentation to learn more about all the fine-tuning capabilities. You can find the [full REST documentation here](../reference.md).
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/azureopenai/deployments).
460
460
- Explore more of the [Python SDK operations here](https://github.com/openai/openai-python/blob/main/examples/azure/finetuning.ipynb).
Copy file name to clipboardexpand all lines: articles/cognitive-services/openai/includes/fine-tuning-studio.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ The following hyperparameters are available:
210
210
|**Learning rate multiplier**| The learning rate multiplier to use for training. The fine-tuning learning rate is the original learning rate used for pre-training, multiplied by this value. |
211
211
|**Prompt loss weight**| The weight to use for loss on the prompt tokens. This value controls how much the model tries to learn to generate the prompt (as compared to the completion, which always has a weight of 1.0.) Increasing this value can add a stabilizing effect to training when completions are short. |
212
212
213
-
For more information about these hyperparameters, see the [Create a Fine tune job](../reference.md#create-a-fine-tune-job) section of the [REST API](../reference.md) documentation.
213
+
For more information about these hyperparameters, see the [Create a Fine tune job](/rest/api/cognitiveservices/azureopenai/fine-tunes/create) section of the [REST API](/rest/api/cognitiveservices/azureopenai/fine-tunes) documentation.
214
214
215
215
After you've chosen either default or advanced options, select **Next** to [review your choices and train your fine-tuned model](#review-your-choices-and-train-your-model).
0 commit comments