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

  1. 1Tokens Are Not WordsEstimate how a sentence and a block of JSON tokenize differently.
  2. 2Embeddings and PositionDescribe what an embedding lookup returns for a token ID.
  3. 3How Attention WorksWalk through queries, keys and values for a short sentence.
  4. 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
  5. 4Stacking the Layers
  6. 5Learning to Predict the Next Token
  7. 6Teaching a Model to Follow Instructions
  8. 7From Logits to the Next Token
  9. 8Stop Reasons and Structured Output
  10. 9What Tool Calling Really Is
  11. 10Budgeting the Context Window
  12. 11What Drives Cost and Latency
  13. 12When Extra Thinking Pays Off
  14. 13Why Models Make Things Up
  15. 14Prompt Injection and Untrusted Output
  16. 15Testing Models on Your Own Tasks
  17. 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
A Milo lesson: Milo explains an idea and draws it on the blackboard
A quick check in a Milo lesson, answered correctly, with Milo's explanation

More in AI & Machine Learning

Free 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.