Skip to content

Commit d1336ff

Browse files
committed
Fix linkage to the Fine Tuning table. Update some API versions in the REST API examples.
1 parent ebac079 commit d1336ff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/ai-foundry/openai/includes/fine-tuning-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ print("Status:", response.id)
159159
print(response.model_dump_json(indent=2))
160160
```
161161

162-
If you are fine tuning a model that supports [Global Training](../includes/fine-tune-models.md), you can specify the training type by using the `extra_body` named argument:
162+
If you are fine tuning a model that supports [Global Training](./fine-tune-models.md), you can specify the training type by using the `extra_body` named argument:
163163

164164
```python
165165
response = client.fine_tuning.jobs.create(

articles/ai-foundry/openai/includes/fine-tuning-rest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ curl -X POST $AZURE_OPENAI_ENDPOINT/openai/files?api-version=2024-10-21 \
119119

120120
## Create a customized model
121121

122-
After you uploaded your training and validation files, you're ready to start the fine-tuning job. The following code shows an example of how to [create a new fine-tuning job](/rest/api/azureopenai/fine-tuning/create?view=rest-azureopenai-2023-12-01-preview&tabs=HTTP&preserve-view=true) with the REST API.
122+
After you uploaded your training and validation files, you're ready to start the fine-tuning job. The following code shows an example of how to [create a new fine-tuning job](/rest/api/azureopenai/fine-tuning/create?view=rest-azureopenai-2024-10-21&tabs=HTTP&preserve-view=true) with the REST API.
123123

124124
In this example we are also passing the seed parameter. The seed controls the reproducibility of the job. Passing in the same seed and job parameters should produce the same results, but can differ in rare cases. If a seed is not specified, one will be generated for you.
125125

@@ -135,7 +135,7 @@ curl -X POST $AZURE_OPENAI_ENDPOINT/openai/fine_tuning/jobs?api-version=2024-10-
135135
}'
136136
```
137137

138-
If you are fine tuning a model that supports [Global Training](../includes/fine-tune-models.md), you can specify the training type by using the `extra_body` named argument and using api-version `2025-04-01-preview`:
138+
If you are fine tuning a model that supports [Global Training](./fine-tune-models.md), you can specify the training type by using the `extra_body` named argument and using api-version `2025-04-01-preview`:
139139

140140
```bash
141141
curl -X POST $AZURE_OPENAI_ENDPOINT/openai/fine_tuning/jobs?api-version=2025-04-01-preview \
@@ -150,7 +150,7 @@ curl -X POST $AZURE_OPENAI_ENDPOINT/openai/fine_tuning/jobs?api-version=2025-04-
150150
}'
151151
```
152152

153-
You can also pass additional optional parameters like [hyperparameters](/rest/api/azureopenai/fine-tuning/create?view=rest-azureopenai-2023-12-01-preview&tabs=HTTP#finetuninghyperparameters&preserve-view=true) to take greater control of the fine-tuning process. For initial training we recommend using the automatic defaults that are present without specifying these parameters.
153+
You can also pass additional optional parameters like [hyperparameters](/rest/api/azureopenai/fine-tuning/create?view=rest-azureopenai-2024-10-21&tabs=HTTP#finetuninghyperparameters&preserve-view=true) to take greater control of the fine-tuning process. For initial training we recommend using the automatic defaults that are present without specifying these parameters.
154154

155155
The current supported hyperparameters for Supervised Fine-Tuning are:
156156

0 commit comments

Comments
 (0)