LLM Fundamentals
Learn how large language models work, from tokens to agents to running them in production. Read the articles, pass the quizzes, take the final exam, and earn a Certificate of Completion from BlogLLM. Free.
This course ends with a Certificate of Completion issued by BlogLLM. It is not an accredited qualification and it is not affiliated with any university or vendor.
Loading your progress...
What you will learn
This course explains how large language models work, in plain language. Each lesson starts with a short article. Then a quick quiz checks what you learned. Finish all 29 lessons and pass the final exam to earn your certificate.
Who it is for
Anyone who uses AI tools and wants to understand what happens behind the scenes. No coding experience needed. No maths degree needed.
Curriculum
Module 1: Foundations
Learn the basic building blocks of language models, from tokens to the full pipeline.
- What is a token, and why it decides your bill
- How do LLMs work, start to finish in 10 minutes
- What is a context window, in plain English
Module 2: How LLMs Think
See how a model pays attention, why it sometimes invents facts, and what temperature really does.
- How does attention work, without the maths overload
- Why do LLMs hallucinate
- What is temperature, and why the same prompt gives different answers
- Why temperature 0 still is not deterministic
Module 3: Retrieval and Context
Give a model your own documents and keep it working over long jobs without drowning in context.
- RAG in plain English
- RAG vs fine-tuning, which one do you actually need
- Long-Horizon Agents Drown in Their Own Context. Compression Cuts Tokens by 26-54%
Module 4: Agents
Build agents that plan, act, and check their own work, and learn how to judge whether they are any good.
- What is an AI agent, really
- The agent loop explained: think, act, observe, repeat
- Agent vs chatbot vs workflow, when to use which
- How to evaluate an AI agent, not just the model
- Multi-Agent Teams Work Until the Task Gets Long. Then They Fall Apart
Module 5: Protocols and Tools
Connect models to live tools and data, and know when a written skill or a document search fits better.
Practice testModule 6: Running Models Locally
Run models on your own laptop, pick the right size for your memory, and speed up generation.
- How to run an LLM locally with Ollama, step by step
- Best local LLM for your laptop, 8GB vs 16GB vs 32GB
- How much VRAM do I need for an LLM
- Speculative decoding, in plain English, and how it works in production
- What is a KV cache, and why it decides what you can serve
Module 7: Inference at Scale
Serve models to many users at once, and catch the traps that quietly change quality.
- The KV Cache Problem Is an OS Problem. Paging Is the Fix
- Your Inference Provider May Be Quietly Downgrading Your Model. Here Is How to Catch It
- Rubin Makes Tokens 10x Cheaper. The Real Win Is in the Software Stack
Module 8: Evaluation and Safety
Measure what models really do, and do not trust reasoning you cannot check.
- Agents That Chase Rewards Learn to Cheat. RL Post-Training Makes It Worse
- Chain-of-Thought Looks Like Reasoning. Up to 13% of the Time, It Is Not
- Your Model Is Great in One Turn. Split the Instructions and It Loses 39%
- Reasoning Models Can Solve the Math. They Cannot Grade It. They Score as Low as 52%
Finish the course
Pass all the lesson quizzes, then take the final exam and finish the capstone project. Your Certificate of Completion is issued once you pass both.