Board Infinity

Fine-Tune Your Own LLM: LoRA, QLoRA & PEFT

Labor Day starts with $70+ in savings on Coursera Plus. Save 40% for 3 months.

Board Infinity

Fine-Tune Your Own LLM: LoRA, QLoRA & PEFT

Board Infinity

Instructor: Board Infinity

Included with Coursera PlusLearn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Understand the LLM training pipeline (pretraining, supervised fine-tuning, alignment) and where PEFT fits in.

  • Implement LoRA from mathematical intuition to production code rank selection, alpha scaling, target module strategy.

  • Apply advanced PEFT variants including DoRA, rsLoRA, and adapter composition techniques.

  • Evaluate fine-tuned models rigorously using automated metrics (perplexity, ROUGE, BERTScore) and human evaluation.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

August 2026

Assessments

10 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 5 modules in this course

This module introduces the LLM post-training pipeline and shows where parameter-efficient fine-tuning fits in a real SaaS customer support workflow. Learners will compare full fine-tuning, LoRA, QLoRA, adapters, and prompt-based methods while deciding what should be solved with fine-tuning versus retrieval or workflow design. The module also builds practical intuition for why a single 24GB GPU changes model and training choices from the start.

What's included

7 videos2 assignments

Before training, learners need to understand why LoRA works and why QLoRA is the standard path when VRAM is tight. This module breaks down low-rank updates, rank and alpha choices, target modules such as attention and MLP projections, and the role of 4-bit NF4 quantization and double quantization. By connecting the math to memory use, learners will be ready to make informed configuration decisions instead of copying settings blindly.

What's included

5 videos2 assignments

In this module, learners turn raw support tickets, chats, and FAQs into training-ready examples for supervised fine-tuning. They will convert between Alpaca, ChatML, and ShareGPT-style schemas, apply the correct chat template for the target model, and validate the dataset before training begins. This step is especially important because schema mismatches and role-format errors are among the most common causes of poor fine-tuning results.

What's included

6 videos2 assignments

This module moves into hands-on model adaptation using PEFT, starting with supervised fine-tuning and then extending to preference-based alignment. Learners will run LoRA training with Hugging Face and PEFT, build chosen-versus-rejected preference data, and apply DPO or ORPO to improve tone, safety, and escalation behavior. They will also learn how to diagnose issues from logs and outputs so they can iteratively improve the model rather than stopping at the first training run.

What's included

5 videos2 assignments

The final module prepares the fine-tuned support agent for real deployment decisions. Learners will evaluate quality with automated metrics and human review, experiment with advanced LoRA-family options such as DoRA and rsLoRA, and decide when to keep adapters separate versus merge them into the base model. The module closes with deployment patterns using vLLM and Hugging Face Inference Endpoints, plus basic monitoring for latency and response quality in SaaS environments.

What's included

6 videos2 assignments

Instructor

Board Infinity
Board Infinity
282 Courses457,997 learners

Offered by

Board Infinity

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions