AI & Machine Learning course

Large Language Models

Understand how large language models process text, train on data, and generate responses using transformers.

8 lessonsabout 60 minutes in allBeginnerFree

Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
  • Explain how LLMs tokenize text, use embeddings and attention, train through next-token prediction, and generate responses
  • Describe how instruction tuning, prompts, context, and sampling influence model behavior
  • Assess an LLM response for unsupported claims, missing context, and overconfidence

What you'll learn, lesson by lesson

  1. 1Language Models, Chatbots, and Generative AIDefine a large language model as a system that predicts likely text continuations.
  2. 2Why Fluent Text Is Not UnderstandingExplain why a convincing answer can be produced without human-like understanding.
  3. 3Tokens, Embeddings, and Context WindowsIdentify tokens, embeddings, and context windows in a simplified input-to-output example.
  4. That's a preview. 5 more lessons follow.

    Take all 8 lessons free in the Milo app, with Milo teaching each one.

    Start this course free
  5. 4How the Transformer Connects Words
  6. 5Pretraining on Next-Token Prediction
  7. 6Instruction Tuning and Human Feedback
  8. 7Generate a Response: Prompt, Context, and Sampling
  9. 8Evaluate an LLM Answer in a Fact-Checking Scenario
Inside the app

Not a video. A tutor who teaches you.

Milo explains each idea of Large Language Models 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.