Skip to content

Commit 81f6d8c

Browse files
authored
Apply suggestions from PR review
Punctuation, grammar, and spelling fixes.
1 parent a8f8213 commit 81f6d8c

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

articles/ai-services/openai/how-to/fine-tuning-direct-preference-optimization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Training datasets must be in `jsonl` format:
5656

5757
Users can use preference fine tuning with base models as well as models that have already been fine-tuned using supervised fine-tuning as long as they are of a supported model/version.
5858

59-
## How to use direct preference optimization fine-tuning?
59+
## How to use direct preference optimization fine-tuning
6060

6161
:::image type="content" border="true" source="/azure/ai-services/openai/media/fine-tuning/preference-optimization.gif" alt-text="GIF of preference optimization fine-tuning steps.":::
6262

articles/ai-services/openai/how-to/fine-tuning-safety-evaluation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ If a model is found to generate output containing content detected as harmful at
4848
This model is unable to be deployed. Model evaluation identified that this fine tuned model scores above acceptable thresholds for [Violence, Self Harm]. Please review your training data set and resubmit the job.
4949
```
5050

51-
:::image type="content" source="../media/fine-tuning/failure.png" alt-text="Screenshot of a failed fine-tuning job due to safety evaluation" lightbox="../media/fine-tuning/failure.png":::
51+
:::image type="content" source="../media/fine-tuning/failure.png" alt-text="Screenshot of a failed fine-tuning job due to safety evaluation." lightbox="../media/fine-tuning/failure.png":::
5252

5353
As with data evaluation, the model is evaluated automatically within your fine-tuning job as part of providing the fine-tuning capability. Only the resulting assessment (deployable or not deployable) is logged by the service. If deployment of the fine-tuned model fails due to the detection of harmful content in model outputs, you won't be charged for the training run.
5454

articles/ai-services/openai/includes/fine-tuning-openai-in-ai-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ In addition to the JSONL format, training and validation data files must be enco
101101

102102
### Datasets size consideration
103103

104-
The more training examples you have, the better. Fine tuning jobs will not proceed without at least 10 training examples, but such a small number isn't enough to noticeably influence model responses. It is best practice to provide hundreds, if not thousands, of training examples to be successful. It's recommened to start with 50 weel-crafted training data.
104+
The more training examples you have, the better. Fine tuning jobs will not proceed without at least 10 training examples, but such a small number isn't enough to noticeably influence model responses. It is best practice to provide hundreds, if not thousands, of training examples to be successful. It's recommended to start with 50 well-crafted training data.
105105

106106
In general, doubling the dataset size can lead to a linear increase in model quality. But keep in mind, low quality examples can negatively impact performance. If you train the model on a large amount of internal data, without first pruning the dataset for only the highest quality examples you could end up with a model that performs much worse than expected.
107107

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ print(response.model_dump_json(indent=2))
255255

256256
### List fine-tuning events
257257

258-
To examine the individual fine-tuning events that were generated during training. You might need to upgrade your OpenAI client library to the latest version with `pip install openai --upgrade` to run this command.
258+
To examine the individual fine-tuning events that were generated during training, you might need to upgrade your OpenAI client library to the latest version with `pip install openai --upgrade` to run this command.
259259

260260
```python
261261
response = client.fine_tuning.jobs.list_events(fine_tuning_job_id=job_id, limit=10)

articles/ai-services/openai/includes/fine-tuning-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Take a moment to review the fine-tuning workflow for using Azure AI Foundry port
4343

4444
1. Prepare your training and validation data.
4545
1. Use the **Create custom model** wizard in Azure AI Foundry portal to train your custom model.
46-
1. Select a base mode.
46+
1. Select a base model.
4747
1. [Choose your training data](#choose-your-training-data).
4848
1. Optionally, [choose your validation data](#choose-your-validation-data).
4949
1. Optionally, [configure task parameters](#configure-task-parameters) for your fine-tuning job.

0 commit comments

Comments
 (0)