Skip to content
AI Exercises
–points–day streak

What is an LLM (large language model)?

An LLM is a kind of AI trained on huge amounts of text. It writes by predicting the next word, again and again.

In real life

Like your phone's next-word suggestions, but trained on a library's worth of text, so it can keep going for whole pages.

Try it yourself

Choose a model

The text so far

The cat sat on the

Most likely next words

  • Every other word: 3%

A large model has learned from more text, so it's more confident about sensible words. It still picks with a little randomness, so the same start can end differently.

Where you will use this

  • Track 1, lesson 1: Your first useful chatComing soon
  • Track 1, lesson 8: Checking AI answersComing soon

Quick check: LLM

Question 1 of 3

How does an LLM write a reply?

How does an LLM write a reply?