Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fine-tunes models on Microsoft Foundry using SFT, DPO, or RFT, covering dataset prep, training jobs, deployment, and evaluation.
Use this skill ↓32% 86%+55 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 7 of 22 without it.
3 of 3 safety checks passed
Not used yet
Standard chat-completion JSONL. Each line: JSON object with messages array.
{"messages": [{"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "What is 2+2?"}, {"role": "assistant", "content": "4"}]}
Rules:
messages must contain at least one user and one assistant messagesystem message is optional but recommendeduser/assistantassistant (that's what the model learns)Validation checklist: .jsonl extension, valid JSON per line, every example has messages, every message has role and content, no empty content.
Three top-level fields: input, preferred_output, non_preferred_output.
{"input": {"messages": [{"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Explain gravity."}]}, "preferred_output": [{"role": "assistant", "content": "Gravity is a fundamental force that attracts objects with mass toward each other."}], "non_preferred_output": [{"role": "assistant", "content": "Gravity is when stuff falls down."}]}
Rules:
input: Object with messages array (system + user turns). May include tools and parallel_tool_calls.preferred_output / non_preferred_output: Array of messages (assistant or tool role only)assistant messageDPO REST API example:
{
"model": "gpt-4.1-mini-2025-04-14",
"training_file": "file-abc123",
"method": {
"type": "dpo",
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.