Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Complete Generative AI Masters: LLMs, RAG, Diffusion, Agents
New

Complete Generative AI Masters: LLMs, RAG, Diffusion, Agents

Build RAG apps, AI agents and fine-tuned LLMs in Python. 126 lessons, 28 hours, 16 hands-on projects
Created bySkill Surger
Last updated 12/2026
English
English

What you'll learn

  • Explain how VAEs, GANs, diffusion models and transformers generate content, and build a small GPT and a PyTorch network yourself
  • Run open models on your own laptop, choose between models, and control sampling, token costs and structured output
  • Build retrieval-augmented assistants with hybrid search, reranking and grounding checks over your own documents and images
  • Fine-tune a small open model with LoRA and compare it fairly against prompting and retrieval on the same test set
  • Create tool-using agents with LangGraph and MCP that keep memory, resume after a crash and pause for human approval
  • Generate and edit images, speech and captions, and judge them for quality, bias, hallucination and responsible, lawful use
  • Measure, trace, secure and serve generative AI apps with evaluation sets, LLM judges, guardrails and fast inference servers
  • Build two capstones: a research assistant with citations and evaluations, and a multimodal creative agent that uses images, voice and tools
  • Get reliable structured output from LLMs with JSON schemas, retries, context engineering and a versioned prompt library with regression tests
  • Package and ship AI apps with FastAPI, Docker and Hugging Face Spaces, backed by tests, guardrails and cost-aware serving

Course content

18 sections • 126 lectures • 27h 43m total length
  • What Generative AI Really Is: From Next-Word Guessing to Agents12:28

    How a generative model learns what its data looks like and samples new examples, how an LLM predicts one token at a time, and why useful systems wrap the model in context, retrieval, tools, memory and safety.

  • Four Big Ideas That Built Generative AI: VAEs, GANs, Diffusion and Transformers12:47

    A short tour of the four ideas behind today's models: VAEs and their smooth latent space, GANs and their forger-versus-detective game, diffusion's step-by-step denoising, and transformers' parallel attention.

  • Anatomy of a GenAI Application: The Layers Around the Model14:47

    The six layers of a GenAI application: models, context, tools, orchestration, trust and operations, and why most of the engineering happens outside the model.

  • Chatbots, Pipelines and Agents: Climbing the Autonomy Ladder13:31

    From a single LLM call to chains, workflows and agents that plan, act and observe in a loop, with the parts every agent needs and what each step up in autonomy costs.

  • Your Learning Path: How This Course Works and What You Will Build13:16

    How the 18 sections fit together, the lesson rhythm of hook, concept, demo, checkpoint and recap, what you need to get started, and how to choose the full path or the core track.

  • Section 1 Quiz: Generative AI in a Nutshell

Requirements

  • Basic Python: you can write a function, use lists and dictionaries, and run a script
  • A Mac, Windows or Linux computer on which you are able to install Python, Git and Docker
  • An API key from a hosted model provider for some lessons; Section 2 shows how to set one up and keep it out of your code
  • No machine learning or math background is needed: neural networks are built up from first principles

Description

This course contains the use of artificial intelligence.

Understand the machine, then put it to work.


Plenty of people can call a chat model. Far fewer can explain why it guesses one token at a time, why a diffusion model starts from pure static, or why an agent stalls halfway through a task. This course gives you both halves: how generative AI works on the inside, and how to build useful software with it.


Part 1: How generative models work


  • Foundations: a practical Python toolkit (async code, FastAPI, Pydantic, streaming, Gradio and Streamlit, tests, containers) and neural networks built up from a single neuron, through backpropagation and optimizers, to a small PyTorch model you train, break and repair.

  • The generative families: autoencoders and VAEs, GANs, diffusion and latent diffusion with ControlNet, plus ways to score generated images (FID, CLIP score, human preference).

  • Inside large language models: tokens and embeddings, self-attention worked through by hand, MHA/MQA/GQA, mixture-of-experts, pretraining, instruction tuning and the KV cache, ending with a tiny GPT you build and profile.

  • Real models: open vs closed models, sampling settings, token costs, running a model on your own laptop with Ollama, llama.cpp and Transformers, quantization, and the Hugging Face Hub.


Part 2: Building with them


  • Prompts and structure: prompt anatomy, reasoning models, reliable JSON with schemas, repair and retry, context engineering and a versioned prompt library with regression tests.

  • RAG: parsing and chunking, embeddings, BM25 and hybrid search, reranking, grounding checks, framework choices and knowledge-graph basics.

  • Vision-language models for images, documents, charts and video.

  • Fine-tuning: when it's worth it, SFT, LoRA and QLoRA, DPO, RLHF and GRPO concepts, synthetic data, and a small open model compared against prompt and retrieval baselines.

  • Agents: workflow patterns, the agent loop, LangGraph, single vs multi-agent, MCP, A2A, memory, crash-safe resumable runs and human approval steps.

  • Voice, sound and video: speech recognition and synthesis, voice cloning and its ethical limits, music and audio generation, how video generators work, and real-time voice.

  • Responsible AI and operations: hallucination, bias, copyright and regulation, prompt injection, PII redaction and guardrails, then evaluation sets, LLM judges, tracing, reliability and fast, affordable model serving.


Projects you build


Sixteen hands-on projects are spread through the course, from an async document processor and an image studio built on Hugging Face Diffusers to a hybrid search assistant over PDFs, a long-running agent that resumes after a crash, a multimodal content studio and a benchmarked model deployment. Section 18 adds two capstones: a research assistant with citations and evaluations, and a multimodal creative agent that works with images, voice and tools. Each project has its own code repository, and the terminal output on screen comes from real recorded runs, not mock-ups. Where a step needs hardware most laptops lack, such as a datacenter GPU, it is taught as theory and its code is clearly labelled as reference.


How it is organized


There are 126 video lessons in 18 sections, with nearly 28 hours of video. Most lessons follow the same rhythm: a hook, the concept with animations, a demo, a checkpoint and a recap. Each lesson's slides are included as a downloadable deck, and every section closes with a quiz that explains why each answer is right or wrong. Hosted models are retired and replaced over time, so a model named in a recording may not be offered by its provider when you watch it, and the lessons point this out.


Is it for you?


You need basic Python. You don't need a machine learning background, because the course builds that up from scratch. Take it in order, or follow the core application track and add the deep dives you care about.

Who this course is for:

  • Developers who use AI tools and want to understand how generative models actually produce text, images and sound
  • Python programmers who want to build their own RAG apps, agents and fine-tuned models, not just call a chat API
  • Data analysts and data scientists moving from classic machine learning to LLMs, diffusion and multimodal models
  • Students and career changers who want a structured path from the basics of neural networks to finished projects
  • Technical product managers and team leads who need to judge GenAI ideas, costs and risks with real understanding