finetuning

Fine-tune Azure AI Foundry models with SFT, DPO, or RFT jobs.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/forgefabrik/agent-bigbrother --skill finetuning-forgefabrik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finetuning
Source: https://github.com/forgefabrik/agent-bigbrother/tree/main/.agents/skills/microsoft-foundry/finetuning
Command: npx skills add https://github.com/forgefabrik/agent-bigbrother --skill finetuning-forgefabrik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, azure-identity, azure-ai-projects, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the manual overhead of preparing data, running fine-tuning jobs, and verifying results when customizing Azure AI Foundry models for a specific task, style, or reasoning workflow.

Core Features & Use Cases

  • Dataset Preparation and Validation: Convert, inspect, and validate SFT, DPO, and RFT JSONL datasets before training.
  • Training Operations: Submit, monitor, and troubleshoot fine-tuning jobs with calibrated hyperparameters and fallback paths for supported model families.
  • Evaluation and Deployment: Analyze training curves, assess held-out test sets, deploy fine-tuned models, and clean up expired resources after experiments.
  • Use Case: A machine learning engineer can take a curated support dataset, validate its format, launch an SFT run, compare checkpoints against a baseline, and deploy the best model version for evaluation.

Quick Start

Ask this Skill to validate your fine-tuning dataset, submit the appropriate Azure AI Foundry training job, and guide you through monitoring, evaluation, and deployment.

Frequently Asked Questions about finetuning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fine-tune Azure AI Foundry models with a JSONL chat dataset?

To fine-tune Azure AI Foundry models, you prepare and validate JSONL chat datasets, then submit SFT, DPO, or RFT training jobs. The process automates dataset conversion, validation, and job submission while monitoring training outcomes for reliable end-to-end customization.

What is the difference between SFT, DPO, and RFT for Azure model training?

SFT, DPO, and RFT are distinct fine-tuning techniques supported on Azure AI Foundry. SFT uses supervised labels, DPO leverages preference data, and RFT reinforces reasoning workflows. The process validates JSONL formats and manages job submissions for all three training types.

Do I need OpenAI-compatible Azure clients for text and vision fine-tuning?

Yes, you need OpenAI-compatible Azure clients for text and vision fine-tuning on Azure AI Foundry. The workflow requires these clients along with azure-identity and azure-ai-projects dependencies to authenticate, submit jobs, and enforce deployment-specific format and SKU rules.

How do I evaluate and deploy a fine-tuned Azure AI Foundry model?

To evaluate and deploy a fine-tuned Azure AI Foundry model, you analyze training curves, assess held-out test sets, and compare checkpoints against a baseline. The workflow then deploys the best model version and cleans up expired resources after experiments conclude.

How to validate a JSONL dataset before submitting a DPO or SFT job?

To validate a JSONL dataset before submitting DPO or SFT jobs, use deterministic validation scripts to inspect and convert your data. The workflow ensures SFT, DPO, and RFT JSONL datasets meet required format specifications before launching Azure AI Foundry training.

What are the limitations of using SFT for vision fine-tuning workflows?

Limitations of SFT for vision fine-tuning workflows include strict JSONL chat format requirements and deployment-specific SKU rules. The workflow manages these constraints by validating datasets, calibrating hyperparameters, and providing fallback paths for supported model families.