AI & Machine Learning course
LLM Fundamentals for Engineers
Reason about large language model behavior, architecture, cost trade-offs, and failure modes to build reliable AI applications.
16 lessonsabout 2 hours in allIntermediateFree
Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
- You can explain how tokenization, embeddings, attention, decoding, and training shape model behavior. you can design more reliable AI application flows by handling tool calls, structured outputs, context limits, cost, latency, hallucinations, and prompt inject
- You can create a small task-specific evaluation set and inspect provider policies for data retention and training use
What you'll learn, lesson by lesson
- 1Tokens Are Not WordsEstimate how a sentence and a block of JSON tokenize differently.
- 2Embeddings and PositionDescribe what an embedding lookup returns for a token ID.
- 3How Attention WorksWalk through queries, keys and values for a short sentence.
- That's a preview. 13 more lessons follow.
Take all 16 lessons free in the Milo app, with Milo teaching each one.
Start this course free - 4Stacking the Layers
- 5Learning to Predict the Next Token
- 6Teaching a Model to Follow Instructions
- 7From Logits to the Next Token
- 8Stop Reasons and Structured Output
- 9What Tool Calling Really Is
- 10Budgeting the Context Window
- 11What Drives Cost and Latency
- 12When Extra Thinking Pays Off
- 13Why Models Make Things Up
- 14Prompt Injection and Untrusted Output
- 15Testing Models on Your Own Tasks
- 16What You Send to a Provider
Inside the app
Not a video. A tutor who teaches you.
Milo explains each idea of LLM Fundamentals for Engineers out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.
Start free

More in AI & Machine Learning
See allFree to learn
This course is free. So is Milo's help planning it.
Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.
- Can I really start for free?
- Yes. No card needed.
- Can I cancel a membership any time?
- Yes, from your account. You keep it until the end of the month you paid for.
- Where does it work?
- In any browser on a phone, tablet or computer. Phone apps are on the way.



