openskills.info
Course Preview

Large Language Model Fine-Tuning

LLM fine-tuning adapts a pre-trained large language model to a specific domain or task by continuing training on curated examples. It covers full fine-tuning, parameter-efficient methods like LoRA, dataset preparation, and evaluation of the specialized model.

itArtificial intelligence and machine learning

Large Language Model Fine-Tuning

Fine-tuning is the process of further training a pretrained language model on your own labeled examples so its weights shift toward your specific task or style. It exists for the cases where changing what you put into the model — the prompt, the retrieved context — isn't enough, and you need to change what's baked into the model itself.

That distinction is the whole subject. Prompting and retrieval-augmented generation shape a model's behavior at inference time, one request at a time. Fine-tuning shapes the model's weights once, so every future request already carries that behavior without needing to re-explain it.

Where fine-tuning fits in the adaptation ladder

Every major vendor converges on the same ordering, and it's worth taking seriously: try prompt engineering first, then retrieval, and reach for fine-tuning only once that cycle plateaus. OpenAI's guidance frames it directly — prompt engineering "may be all you need," and only after building evaluations to measure where prompting falls short does fine-tuning become the next step, typically when a task needs the model to consistently format responses a certain way or handle inputs no amount of prompt instruction reliably covers.

Microsoft Foundry's guidance gives concrete reasons to reach for fine-tuning specifically over the alternatives:

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources

  • https://developers.openai.com/api/docs/guides/model-optimization
  • https://developers.openai.com/api/docs/guides/supervised-fine-tuning
  • https://developers.openai.com/api/docs/guides/fine-tuning-best-practices
  • https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/fine-tuning
  • https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini-supervised-tuning
  • https://huggingface.co/docs/peft/en/index
  • https://huggingface.co/docs/peft/en/conceptual_guides/lora
  • https://aws.amazon.com/blogs/aws/fine-tuning-for-anthropics-claude-3-haiku-model-in-amazon-bedrock-is-now-generally-available/