Generative AI · Advanced level

Advanced level · Module 4: Parameter-Efficient Fine-Tuning · Lesson 1 of 3

Why Parameter-Efficient Fine-Tuning

Learners compare full fine-tuning with PEFT in memory, storage and data needs, and survey the main PEFT methods.

In this lesson you will

  • Explain the costs of full fine-tuning
  • Compare PEFT methods

Key concepts

full fine-tuningfrozen base modelLoRAprompt tuningadapters

The lesson

Full fine-tuning updates every parameter, which needs memory for weights, gradients and optimiser states, and produces a full-size copy of the model for each task.

Parameter-efficient methods freeze the base model and train a small number of new parameters: LoRA adds low-rank matrices to selected layers; prompt tuning learns special input embeddings; adapters insert small layers.

The trained part is small (often well under 1% of parameters), so one base model can serve many tasks by swapping adapters.

Step by step

  1. Calculate memory for full fine-tuning of a 0.5B-parameter model.
  2. Read the PEFT overview.
  3. Compare three PEFT methods in a table.
  4. Choose a method for the capstone.

Practice activity

Write a PEFT method comparison for the capstone.

Expected result: A correct comparison and justified method choice.

Check your understanding

  1. What does PEFT freeze?

    Show answer

    The base model's original parameters.

  2. Why can one base model serve many tasks with PEFT?

    Show answer

    Small task-specific adapters can be swapped.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.