@@ -5,7 +5,7 @@ description: Learn how to fine-tune models deployed via serverless APIs in Azure
55manager : scottpolly
66ms.service : azure-ai-foundry
77ms.topic : how-to
8- ms.date : 03/11 /2025
8+ ms.date : 04/14 /2025
99ms.reviewer : rasavage
1010reviewer : RSavage2
1111ms.author : ssalgado
@@ -396,6 +396,8 @@ The supported file type is JSON Lines. Files are uploaded to the default datasto
396396
397397### Create training data inputs
398398
399+ This code snippet shows you how to define a training dataset.
400+
399401``` python
400402from azure.ai.ml.constants import AssetTypes
401403from azure.ai.ml.entities import Data
@@ -486,18 +488,18 @@ except Exception as ex:
486488
487489There are following set of parameters that are required to fine-tune your model. Each parameter is defined in the following:
488490
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.
4934951 . outputs: Output registered model name.
494496
495497The following parameters are optional:
496498
497- 1 . hyperparameters: Parameters that control the FineTuning behavior at runtime .
499+ 1 . hyperparameters: Parameters that control the fine-tuning behavior at run-time .
4985001 . 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.
501503
502504``` python
503505from azure.ai.ml.finetuning import FineTuningTaskType, create_finetuning_job
0 commit comments