Finish what you meant to learn. Retain what matters.

Turn any PDF, article or video into a bite-sized visual course, grounded in the source, with a companion that goes deeper and builds your knowledge base as you learn.

Free to start. No credit card needed.

Start learning free

Used by people at

  • Google
  • Netflix
  • Amazon
  • Glean
  • Beijing Jiaotong University
  • Huawei
  • Vrije Universiteit Amsterdam
  • JD.com
  • Lanzhou University
  • Pinduoduo

Interactive demo

How large language models work · Article

How large language models work · 12 min read

What do you want to walk away with?

A bite-sized course, built for you.

  • Visuals that make ideas click.
  • Checks that prove you got it.
How large language models work · Article

Apply these ideas to my own project

Practical Guide
  1. 1 Read LLMs write one word at a time §2
  2. 2 Try Turn up the temperature §3
  3. 3 Quiz Same prompt, temperature 0 §3
  4. 4 Read How words become numbers §5
  5. 5 Try Find words that sit close together §5
  6. 6 Quiz Explain it in one sentence §6

Don't just read it.
Try it.

Change an input. Watch what happens. What you try, you remember.

Try step · How words become numbers

Go deeper, with the source beside you.

Ask your companion anything. It draws diagrams, saves notes, and links every answer back to the source.

Back to course Step 1 · LLMs write one word at a time

2. One word at a time

Here's the surprising part. A language model never plans a whole answer. It looks at everything written so far, predicts a single next word, adds it, and then does the same thing again.

So a long, thoughtful reply is really thousands of tiny guesses in a row, each one shaped by the words that came before it.

That's also why it can sound sure and still be wrong: it picks the words that are most likely to come next, not facts it has checked.

4. Tokens

A token is a chunk of text the model reads as one unit: often a whole word, sometimes just a piece of one. "Unbelievable" might become "un", "believ", and "able".

Before any prediction happens, your text is split into tokens, and each token is turned into a long list of numbers. Those numbers are the only thing the model ever actually reads.

Next, we'll see how those numbers let the model notice which earlier words matter most, an idea called attention.

Your companion

Ask about anything on this page.

Try asking

Retain what matters.
Build on it.

Save ideas in one tap. Connect them across sources. Review them before they fade.

Your Brain

2 saved concepts

Tokens

Source: How LLMs work

What it is

The chunks of text a model reads: often whole words, sometimes pieces of words.

Why it matters

AI tools count, price, and limit text in tokens, because tokens are all the model actually sees.

Example from the source

“Unbelievable” → “un”, “believ”, “able”.

Your companion

Save ideas as you learn, then build on them.

Try asking

Start free.
Upgrade when it clicks.

Free

Try it on your next topic.

$0

Start free
  • 200 one-time credits ~20 PDF pages
  • Guided courses included
  • Unlimited AI chat
  • Unlimited interactive visuals
  • Unlimited notes

Pro

Recommended

For steady, ongoing learning.

$4.99 /month

  • 6,000 credits every month ~1,200 PDF pages
  • Guided courses included
  • Unlimited AI chat
  • Unlimited interactive visuals
  • Unlimited notes
  • Priority support

Lifetime

Pay once, keep learning.

$79 one-time

  • 6,000 credits every month ~1,200 PDF pages
  • Guided courses included
  • Unlimited AI chat
  • Unlimited interactive visuals
  • Unlimited notes
  • Priority support

Finish what you
meant to learn.

Paste a link or drop a PDF. Noesis turns it into a guided course in a few clicks. Free to start.

Start learning free