Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

AI with NLP

Large Language Models

Transformers at scale, prompting, fine-tuning, and responsible LLM applications.

Intermediate 22 hours · Self-paced 99.0 USD · 100 lessons · ~754 min read

20 topics 100 lessons Start anywhere
Grounded in sources, not a frozen script Ideas in this path map to readings and the Research Lab. See how we refresh lessons as the field moves.

What you’ll get out of this course

  • Build practical skill in “Large Language Models” with text-first lessons and clear checkpoints.
  • Level: Intermediate—follow the syllabus in order or jump to the modules you need.
  • Reinforce ideas with end-of-topic checks and (where available) hands-on coding tasks.

Trust & quality

Content is designed and maintained by the Deep AI Minds team—structured for working adults, with frequent updates as tooling and best practices evolve.

Content currency: ~100% of lessons on the current curriculum revision

Syllabus

We structured this course to build your skills step by step

Scroll through each module below—open lessons in place or jump into a topic. Everything runs in order, but you’re free to explore.

Topic 1
Learning module

Transformers at scale

Attention at production scale: architecture choices, context limits, and compute.

Self-attention intuition, revisited at LLM scale 8 min
Context window tradeoffs 9 min
Compute and scaling laws 9 min
KV caching and autoregressive decoding 8 min
Decoder-only vs encoder-decoder LLMs 7 min
Topic 2
Learning module

Using and adapting LLMs

Prompting, fine-tuning, PEFT, and RAG — how to adapt a base model to a task.

Prompting patterns 8 min
Fine-tuning and PEFT 9 min
The RAG pattern 8 min
Instruction-tuned vs base models 7 min
Choosing an adaptation strategy 8 min
Topic 3
Learning module

Responsible LLM use

Safety evals, privacy, guardrails, and monitoring LLMs in production.

Safety evals 8 min
Privacy and data minimization 8 min
Monitoring LLMs in production 8 min
Content moderation and guardrails 7 min
Governance and compliance for LLMs 7 min
Topic 4
Learning module

Tokenizers for LLMs

How raw text becomes tokens, and why that choice shapes everything downstream.

Why tokenization matters 7 min
Byte-pair encoding (BPE) 9 min
WordPiece and SentencePiece 7 min
Vocabulary size tradeoffs 7 min
Tokenization pitfalls 7 min
Topic 5
Learning module

Pretraining objectives

What LLMs actually optimize for during pretraining, and on what data.

Causal language modeling 8 min
Masked language modeling, for contrast 7 min
Training data for pretraining 8 min
Compute-optimal training 8 min
Emergent abilities and scale 7 min
Topic 6
Learning module

Instruction tuning basics

Turning a raw next-token predictor into a helpful assistant.

From base model to assistant 8 min
Building instruction datasets 8 min
Formatting and chat templates 7 min
Multi-turn conversation handling 7 min
Evaluating instruction following 7 min
Topic 7
Learning module

RLHF and preference optimization

Reward models, PPO, and DPO — aligning outputs with human preference.

Reward modeling basics 8 min
PPO for LLMs 9 min
DPO: direct preference optimization 8 min
Reward hacking and the alignment tax 7 min
RLHF in practice: the full pipeline 8 min
Topic 8
Learning module

In-context learning

How LLMs adapt from examples in the prompt alone, with no weight updates.

What is in-context learning? 7 min
How many examples to use 7 min
Example selection and ordering 8 min
In-context learning vs fine-tuning 7 min
Limits of in-context learning 7 min
Topic 9
Learning module

Chain-of-thought reasoning

Getting LLMs to reason step by step, and knowing when that actually helps.

What is chain-of-thought prompting? 7 min
Zero-shot CoT triggers 6 min
Self-consistency and voting 8 min
Tree-of-thought and search 8 min
When CoT helps, and when it doesn't 7 min
Topic 10
Learning module

Prompt engineering techniques

Practical patterns for writing prompts that reliably work.

Prompt structure and roles 7 min
Few-shot prompt design 7 min
Output format control 7 min
Prompt iteration and testing 7 min
Common prompt anti-patterns 7 min
Topic 11
Learning module

Structured output and function calling

Getting reliable JSON and tool calls out of a free-text generator.

Why structured output matters 6 min
JSON schema constrained generation 8 min
Function calling basics 8 min
Building a tool-use loop 8 min
Validating and repairing model output 7 min
Topic 13
Learning module

Long context and memory for LLMs

Why long context is hard, and how models and apps manage memory.

Why long context is hard 7 min
Context window extension techniques 8 min
Lost in the middle 7 min
External memory and vector stores 7 min
Context management strategies 7 min
Topic 14
Learning module

Evaluation of LLMs

Benchmarks, LLM-as-judge, and human evaluation for open-ended generation.

Benchmarks for LLMs 8 min
The limits of automatic metrics 7 min
LLM-as-a-judge 8 min
Human evaluation design 7 min
Building a custom eval suite 8 min
Topic 15
Learning module

Hallucination and mitigation

Why LLMs make things up, and practical ways to catch and reduce it.

What is hallucination? 7 min
Why LLMs hallucinate 8 min
Grounding with retrieval 7 min
Citation and attribution 7 min
Detecting hallucinations 8 min
Topic 16
Learning module

Quantization and efficient inference for LLMs

Serving LLMs cheaply and fast: quantization, KV cache, and batching.

Why inference efficiency matters for LLMs 7 min
INT8 and 4-bit quantization for LLMs 8 min
KV cache deep dive 8 min
Speculative decoding 8 min
Batching and continuous batching 7 min
Topic 17
Learning module

Multi-agent and tool use with LLMs

LLMs that plan, call tools, and coordinate with other agents.

Agents vs single-turn LLMs 7 min
The ReAct pattern 8 min
Tool use design principles 7 min
Multi-agent orchestration 8 min
Failure modes in agent systems 7 min
Topic 18
Learning module

Multimodal LLMs

Models that read and reason over images and text together.

What makes a model multimodal? 7 min
Image-text alignment 8 min
Vision-language model architectures 8 min
Multimodal prompting 7 min
Limits of current multimodal models 7 min
Topic 19
Learning module

Open-source vs proprietary LLMs

Licensing, hosting, and cost tradeoffs when choosing a model.

The landscape: open vs closed 7 min
Licensing considerations 8 min
Self-hosting tradeoffs 8 min
API-based consumption tradeoffs 7 min
Choosing a model for your use case 8 min
Topic 20
Learning module

Cost and latency optimization for LLMs

Making LLM applications fast and affordable at real traffic.

Understanding LLM pricing 7 min
Reducing token usage 8 min
Prompt caching and response caching 8 min
Model routing and cascades 8 min
Measuring and optimizing in production 8 min
Learner stories

What Our Learners Say

Feedback about Large Language Models. New submissions are reviewed before they appear here.

No published stories yet for this course — be the first to share yours below.

Share your experience

Sign in to share a testimonial. We keep one submission per account per course.

Sign in to share your story