Skip to content
English

Switch theme

// Stage 5 · Post-training, Alignment & Reasoning Models

Instruction Tuning & PEFT

SFT, synthetic data, LoRA/QLoRA/DoRA, adapters and model merging.

about 10 hours8 algorithms3 paperslesson text ready

01Goals

Do these first: Pretraining, Data & Scaling Laws

02Read on this site

03Algorithms to master

Each card has the original paper, prerequisites and resources.

04Must-read papers

05Courses & videos

06Hands-on: project, code & exercises

Free, official or author-published pages. Most run in the browser or on a free Colab GPU.

PROJECT

Use QLoRA on a single GPU to fine-tune an open 7B/8B model into a specific style (e.g. customer-service replies) and run a blind comparison.

  1. 1
    unslothai/unsloth ↗Reference code

    LoRA/QLoRA-fine-tune a small model with the official free Colab notebooks.

  2. 2
    Hugging Face TRL:SFT Trainer ↗Official docs

    Run instruction tuning with TRL’s SFTTrainer.

  3. 3
    github.com ↗Reference code

    Fine-tune with the no-code web UI and export merged weights.

07Self-test

Answer in your head, then open to check.

Which parameters does LoRA train?

Low-rank matrices A and B; the original weights stay frozen.

Which 4-bit format does QLoRA use?

NF4.

When should you use RAG instead of fine-tuning?

When knowledge changes often or answers must cite sources.

On these routes: Application Developers · Algorithm Researchers · Domain Scientists

Data updated: AI algorithms & curriculum(UTC+8)