@@ -5,7 +5,7 @@ description: Learn how to fine-tune models deployed via serverless APIs in Azure
5
5
manager : scottpolly
6
6
ms.service : azure-ai-foundry
7
7
ms.topic : how-to
8
- ms.date : 03/11 /2025
8
+ ms.date : 04/14 /2025
9
9
ms.reviewer : rasavage
10
10
reviewer : RSavage2
11
11
ms.author : ssalgado
@@ -396,6 +396,8 @@ The supported file type is JSON Lines. Files are uploaded to the default datasto
396
396
397
397
### Create training data inputs
398
398
399
+ This code snippet shows you how to define a training dataset.
400
+
399
401
``` python
400
402
from azure.ai.ml.constants import AssetTypes
401
403
from azure.ai.ml.entities import Data
@@ -486,18 +488,18 @@ except Exception as ex:
486
488
487
489
There are following set of parameters that are required to fine-tune your model. Each parameter is defined in the following:
488
490
489
- 1 . model: Base model to finetune .
490
- 1 . training_data: Training data for finetuning the base model.
491
- 1 . validation_data: Validation data for finetuning the base model.
492
- 1 . task: FineTuning task to perform. eg. CHAT_COMPLETION for chat-completion finetuning jobs.
491
+ 1 . model: Base model to fine-tune .
492
+ 1 . training_data: Training data for fine-tuning the base model.
493
+ 1 . validation_data: Validation data for fine-tuning the base model.
494
+ 1 . task: FineTuning task to perform. eg. CHAT_COMPLETION for chat-completion fine-tuning jobs.
493
495
1 . outputs: Output registered model name.
494
496
495
497
The following parameters are optional:
496
498
497
- 1 . hyperparameters: Parameters that control the FineTuning behavior at runtime .
499
+ 1 . hyperparameters: Parameters that control the fine-tuning behavior at run-time .
498
500
1 . name: FineTuning job name
499
- 1 . experiment_name: Experiment name for FineTuning job.
500
- 1 . display_name: FineTuning job display name.
501
+ 1 . experiment_name: Experiment name for fin-tuning job.
502
+ 1 . display_name: Fine-tuning job display name.
501
503
502
504
``` python
503
505
from azure.ai.ml.finetuning import FineTuningTaskType, create_finetuning_job
0 commit comments