К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Fine-Tune Your Own LLM: LoRA, QLoRA & PEFT · LearnSpace
Назад в каталог
courseraАнализ данных

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

Курс от Board Infinity
Начальный≈ 9.8 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

This intermediate-level course guides you through fine-tuning open-source large language models on consumer GPUs using parameter-efficient techniques, all anchored around building a production-style SaaS customer support agent. You’ll first map out the full LLM training pipeline—pretraining, supervised fine-tuning, and alignment—and see exactly where PEFT methods fit when you’re constrained by memory and cost. You’ll compare full fine-tuning with approaches such as LoRA, QLoRA, adapters, prefix and prompt tuning, and then dive into the mathematical intuition behind Low-Rank Adaptation, understanding how rank, alpha, and target module choice influence parameter count and memory usage. You’ll get hands-on with preparing real-world customer support data (tickets, chats, FAQs), turning it into high-quality instruction–completion pairs and formatting them using common schemas like Alpaca, ChatML, and ShareGPT-style formats, with programmatic validation for training readiness. Using Hugging Face Transformers and PEFT, you will implement LoRA and QLoRA to fine-tune 7B–8B parameter open models on a single 24GB GPU, configuring 4-bit NF4 quantization, tracking memory usage, and managing training stability. You’ll learn to debug and iterate using logs, loss curves, and failure case analysis (hallucinations, refusals, overfitting), and evaluate your models with automated metrics (perplexity, ROUGE, BERTScore) while recognizing their limitations for dialogue quality. Finally, you’ll design preference datasets that encode brand tone, helpfulness, and safety, and apply alignment methods such as DPO and ORPO to steer the behavior of your support agent. You’ll explore advanced PEFT variants like DoRA, rsLoRA, and adapter composition to study quality–efficiency trade-offs. The course closes with practical packaging and deployment: merging adapters when appropriate, quantizing for efficient inference, and deploying your agent using modern inference stacks like vLLM and Hugging Face Inference Endpoints, with basic monitoring to track latency and response quality in a SaaS environment. Disclaimer: This is an independent educational resource created by Board Infinity for informational and educational purposes only. This course is not affiliated with, endorsed by, sponsored by, or officially associated with any company, organization, or certification body unless explicitly stated. The content provided is based on industry knowledge and best practices but does not constitute official training material for any specific employer or certification program. All company names, trademarks, service marks, and logos referenced are the property of their respective owners and are used solely for educational identification and comparison purposes.

Навыки, которые вы освоите

LLM ApplicationModel DeploymentModel TrainingData CleansingDebuggingPrompt PatternsMemory ManagementLarge Language ModelingHugging FaceModel OptimizationProduct SupportData TransformationFine-tuningData ValidationPrompt EngineeringTransfer LearningRetrieval-Augmented GenerationNatural Language ProcessingModel Evaluation

Программа курса

5 модулей · 39 учебных материалов

01Planning PEFT for a Support Agent9 материалов

Lesson

Why PEFT Matters for a SaaS Support AgentВидеоFrom Base Model to Support Agent: What Each Stage AddsВидеоWhy a Single 24GB GPU Changes the PlanВидеоQLoRA as the Default Path Under Tight VRAMВидеоWhen Fine-Tuning Fails as a Knowledge Strategy

Учитесь у экспертов

Board Infinity

Instructor

Fine-Tune Your Own LLM: LoRA, QLoRA & PEFT
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 9.8 ч

5 модулей

Язык: Английский

Часть программы вашего университета
Видео
Walkthrough: Planning a 7B-8B Support Agent on One GPUВидео
Module Synthesis: Where PEFT Fits and When to Use ItВидео
Planning PEFT for a Support AgentЗадание
Planning PEFT for a Support AgentЗадание
02Understanding LoRA and QLoRA Mechanics7 материалов

Lesson

Why LoRA and QLoRA Matter on a 24GB GPUВидеоVisualizing LoRA Updates Inside Transformer LayersВидеоFrom LoRA to QLoRA: What Changes and What Stays FrozenВидеоMapping QLoRA Memory Use on a Single 24GB GPUВидеоModule Synthesis: Why QLoRA Works in PracticeВидеоUnderstanding LoRA and QLoRA MechanicsЗаданиеUnderstanding LoRA and QLoRA MechanicsЗадание
03Preparing Data and Chat Templates8 материалов

Lesson

Why Data Formatting Determines Fine-Tuning QualityВидеоDemonstration: Converting Tickets, Chats, and FAQs into Instruction-Completion PairsВидеоDemonstration: Mapping Between Alpaca, ChatML, and ShareGPT FormatsВидеоDemonstration: Applying the Correct Chat Template for the Target ModelВидеоWalkthrough: Build a Validation Checklist for SFT DataВидеоModule Synthesis: A Reliable Pipeline for Data Preparation and Chat TemplatingВидеоPreparing Data and Chat TemplatesЗаданиеPreparing Data and Chat TemplatesЗадание
04Training and Improving the Support Model7 материалов

Lesson

Why Post-Training Iteration Matters for a Support AgentВидеоWalk Through a LoRA Fine-Tuning Setup with PEFT and TransformersВидеоFrom Training Run to Output Review: Interpreting Early SFT ResultsВидеоHow DPO and ORPO Steer Support BehaviorВидеоDebugging Hallucinations, Refusals, and Overfitting in a Support ModelВидеоTraining and Improving the Support ModelЗаданиеTraining and Improving the Support ModelЗадание
05Evaluating, Packaging, and Serving Adapters8 материалов

Lesson

Why Evaluation and Deployment Decisions Matter for Support AgentsВидеоInterpreting Metric Results in Customer Support ContextsВидеоBuild Annotation Guidelines and Inter-Annotator ChecksВидеоEmpirically Comparing PEFT Variants for Quality and EfficiencyВидеоMerge Adapters, Quantize for Inference, and Package the ModelВидеоDeployment Walkthrough: From Fine-Tuned Adapter to Live Support EndpointВидеоEvaluating, Packaging, and Serving AdaptersЗаданиеEvaluating, Packaging, and Serving AdaptersЗадание