Home / Providers / DeepLearning.AI
How Transformer LLMs Work
Jay Alammar and Maarten Grootendorst, co-authors of "Hands-On Large Language Models", walk through what happens inside an LLM: tokenizers, embeddings, self-attention, and the transformer block. Mostly visual explanation, with two code examples in the Hugging Face Transformers library.
Step 1 of 12 in the AI Engineer roadmap: How LLMs work
Go to the course on DeepLearning.AI- Provider
- DeepLearning.AI
- Price
- Free
- Certificate
- Paid certificateDeepLearning.AI calls it an accomplishment; it needs Pro.
- Level
- Beginner
- Time
- 1h 44m
- Format
- Short video course: 13 video lessons, 2 code examples, 1 graded quiz
- Checked
- 2026-11-18
Free for a limited time during the DeepLearning.AI platform beta. The graded quiz and accomplishment need Pro.
01
Quick answers.
From the course page, checked 2026-11-18.
- Is it free?
- Yes. Free for a limited time during the DeepLearning.AI platform beta. The graded quiz and accomplishment need Pro.
- Does it give a certificate?
- Yes, but the certificate is paid. DeepLearning.AI calls it an accomplishment; it needs Pro.
- How long does it take?
- 1h 44m.
- Do I need experience?
- It is a beginner course.
02
What you will learn.
- 01Tokenizers
- 02Embeddings
- 03Self-attention
- 04Transformer blocks
- 05KV cache and recent attention improvements
- 06Mixture of Experts
03
Before you enroll.
From the course page, checked 2026-11-18.
- Who it is for
- Anyone who wants to understand the transformer architecture behind today's LLMs.
04
How it compares.
Next to the closest courses in the catalog, by topic and provider.
| Course | Price | Certificate | Time | Level |
|---|---|---|---|---|
| How Transformer LLMs Work this courseDeepLearning.AI | Free | Paid | 1h 44m | Beginner |
| Open Source Models with Hugging FaceDeepLearning.AI | Free | Paid | 2h 13m | Beginner |
| Finetuning Large Language ModelsDeepLearning.AI | Free | Paid | 1h 35m | Intermediate |
| ChatGPT Prompt Engineering for DevelopersOpenAI | Free | Paid | 1h 40m | Beginner |
05
Similar courses.
Open Source Models with Hugging Face
Hugging Face engineers show how to find an open model on the Hub by task and memory needs, then run it in a few lines with the transformers library. Covers text, audio, image, and multimodal tasks, and ends with deploying a Gradio demo to Spaces.
FreePaid certificateBeginner
Finetuning Large Language Models
Sharon Zhou (Lamini) explains when finetuning beats prompting and how it works in practice: prepare instruction data, train, evaluate, and iterate. A short orientation before you spend money on training runs.
FreePaid certificateIntermediate
ChatGPT Prompt Engineering for Developers
Isa Fulford (OpenAI) and Andrew Ng teach prompting as a programming skill: write prompts in code against the OpenAI API, iterate on them, and use them to summarize, classify, transform, and expand text. The standard first course for calling an LLM from Python.
FreePaid certificateBeginner