Home›Library›AI & Data Science
Curated LibraryLLM Fine-Tuning with LoRA, QLoRA and Hugging Face: From Fundamentals to Preference Alignment
A long, hands-on series on adapting large language models: pretraining and transfer learning, Hugging Face basics, BERT fine-tuning, distillation, quantization, LoRA/QLoRA, and instruction tuning. It then covers training tools (LLaMA-Factory, Unsloth, Axolotl), hosted fine-tuning on OpenAI and Vertex AI, multimodal and embedding fine-tuning, and preference methods (RLHF, DPO, ORPO, GRPO). It suits learners who already code in Python and want a broad practical tour of the fine-tuning toolchain.
- 32 lessons
- 36h 43m total
- AI & Data Science
- English
- Earns YodaCoins
Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.
What You'll Learn
- Explain where pretraining, transfer learning, instruction tuning and preference alignment fit in the LLM training pipeline
- Use Hugging Face datasets, tokenizers, pipelines and the Hub to prepare data and load models
- Describe how LoRA and QLoRA work (rank, adapters, full fine-tuning vs PEFT) and apply them in a practical fine-tuning run
- Fine-tune LLMs and small language models with LLaMA-Factory, Unsloth and Axolotl, and choose between these tools
- Apply quantization methods (GPTQ, AWQ, QAT, GGUF/GGML) and knowledge distillation to make models smaller and cheaper to run
- Run preference-alignment training with DPO, ORPO, PPO-based RLHF and GRPO using Hugging Face TRL and Unsloth
- Decide between fine-tuning, RAG and agents, and fine-tune embedding models to improve retrieval
Prerequisites
- Working Python knowledge and comfort with notebooks (e.g. Colab)
- Basic machine learning and neural network concepts
- Access to a GPU (such as free Colab or a cloud instance) for the practical sessions
Course Curriculum
32 lessons · 36h 43m- 01Introduction to the LLM Fine-Tuning Series20:01
- 02Model Pretraining and Training Explained1:04:41
- 03Transfer Learning and Model Fine-Tuning1:11:35
- 04Top LLM Fine-Tuning Frameworks47:58
- 05Fine-Tuning vs RAG vs AI Agents27:46
- 06Why Fine-Tuning Was Hard with RNNs and LSTMs50:34
- 07LSTM vs Transformer48:36
- 08Hugging Face Crash Course3:10:34
- 09Fine-Tuning BERT for NER, Sentiment and QA58:20
- 10LLM Knowledge Distillation Part 1: DistilBERT1:03:40
- 11LLM Knowledge Distillation Part 2: LLaMA and Phi1:12:42
- 12LLM Quantization Part 1: PTQ, QAT, GPTQ, AWQ, GGUF2:12:21
- 13LLM Quantization Part 2: GPTQ, AWQ, QAT and GGUF Hands-On3:21:13
- 14Domain-Specific Fine-Tuning on PDF and Text Data1:44:42
- 15Instruction Fine-Tuning Explained55:52
- 16Preference Alignment with RLHF, RLAIF, DPO and LoRA59:38
- 17Fine-Tuning with LLaMA-Factory (WebUI and CLI)1:03:20
- 18Unsloth Full Guide: Faster, Low-Memory Fine-Tuning55:31
- 19Fine-Tuning with Axolotl and YAML Configs57:19
- 20OpenAI Fine-Tuning: Workflow, Tokens and Cost1:06:18
- 21Gemini Fine-Tuning on Vertex AI58:04
- 22Fine-Tuning Small Language Models with Unsloth53:29
- 23Multimodal LLM Fine-Tuning with Unsloth1:25:58
- 24Embedding Fine-Tuning Full Guide1:09:49
- 25Improving RAG Retrieval with Fine-Tuned Embeddings1:01:49
- 26LoRA and QLoRA Explained: Theory and Practical1:26:39
- 27Preference Alignment and RLHF Part 1: PPO, DPO, ORPO Basics45:35
- 28Preference Alignment and RLHF Part 246:43
- 29Preference Alignment and RLHF Part 3: Hugging Face Practical44:35
- 30GRPO Fine-Tuning with Hugging Face and Unsloth47:12
- 31DPO Explained with Practical Implementation36:31
- 32Fine-Tuning LLMs with ORPO53:35
About the Instructor
Sunny Savita
YouTube creator
The lessons in this course were produced by Sunny Savita and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and Sunny Savita is not affiliated with YodaHut.
Visit the channel on YouTubeMore in the Library: AI & Data Science

Time Series Forecasting with Python: ETS, ARIMA, Machine Learning, Deep Learning and Prophet

Time Series Forecasting in Python: ARIMA, VAR, Prophet and LSTM

Time Series Analysis and Forecasting in Python: From Stationarity to ARIMA and SARIMA

ComfyUI Academy: Build Stable Diffusion Workflows from Scratch

ComfyUI for AI Image Generation: Stable Diffusion, Flux, LoRAs, Upscaling and Editing
