Skip to content
Courses/Fine-tuning and post-training for LLMs/Map: SFT, LoRA, QLoRA, and DPO

Map: SFT, LoRA, QLoRA, and DPO

Fine-tuning is not the hammer for every nail. Before training, decide whether the problem can be solved with a better prompt, RAG, tools, clean data, or actual model adaptation.

  • Distinguish prompt engineering, RAG, SFT, LoRA, QLoRA, and DPO.
  • Choose the right technique based on cost, data, and goal.
  • Avoid training a model when you only need to retrieve information.

Quick decision

  • Prompt: you want to change format, tone, or simple instructions.
  • RAG: you want it to use updatable or private documents.
  • SFT: you want it to learn question-answer patterns from your domain.
  • LoRA: you want to train few parameters and save a lightweight adapter.
  • QLoRA: you want LoRA using quantization to reduce memory.
  • DPO: you want to align preferences by comparing good and bad responses.

Decision card

Terminal
objetivo: "respond to support emails with brand tone"
datos_disponibles:
  ejemplos_buenos: 800
  ejemplos_malos: 120
  documentos_actualizables: true
mejor_opcion:
  - RAG for policies that change
  - SFT/LoRA for tone and format
no_entrenar_para:
  - memorizing prices
  - storing private contracts
  - replacing permissions
Complete Aulafy mapSee how this lesson fits without leaving your path.

Complete Aulafy map

How all courses connect

This is not a checklist. Start with the foundation, choose an outcome, and go deeper only when your project needs more control.

  1. 1Understand
  2. 2Apply or build
  3. 3Operate with confidence
01

Choose an application

Turn the foundation into a visible outcome: a website, a business improvement, media, or an interactive experience.

Continue into the technical branch when you need to maintain code, data, or infrastructure.

02

Build with code

Prepare your environment, work with coding agents, and run models while keeping control of your projects.

This branch prepares you to design and operate reliable AI systems.

03

Take systems to production

Combine retrieval, agents, evaluation, security, deployment, and model adaptation when the problem requires it.

You do not need every course: choose the component your system needs and return as it grows.

View full catalogue