Lesson 14 · Understand — Understand AI
How AI Keeps the Conversation Going
Play first
Play a little and see what happens. Then read the key points to find out why.
Choosing and Using Language Models
Choose a model for the task: look at size, cost, speed and where your data goes.
From everyday life
ISA asks you
Have you ever skipped checking an AI answer because it sounded so smooth? What did you find out later?
Ready? See what ISA thinks
Sounding smooth only means it flows well, not that it’s right. The more important the matter, the more you should check specific numbers, dates and sources.
Key points
- Big models are capable but expensive; small models are fast and cheap, and fine for everyday tasks.
- Check whether your data is stored or used for training.
- Test with your own tasks, not just leaderboards.
- Important outputs need sources and a human check.
How it works
- Define the task
- Compare models
- Test
- Weigh costs
- Launch and monitor
Quick quiz
Remember this
Pick a model for the task; weigh cost, speed and where your data goes.
Try thisFind some text AI wrote for you, pick one specific fact in it (a number, date or name), and check it yourself.
AI Plays Finish-the-Sentence
“The puppy is…” What comes next? AI guesses too.
From everyday life
ISA asks you
“The puppy is…” What would you say next?
Ready? See what ISA thinks
“Running,” “sleeping,” or “eating” all work. AI guesses like this too.
Key points
- A grown-up says: “The puppy is…”
- You guess: “running!” “sleeping!”
- AI guesses too, and sometimes it guesses wrong.
How it works
- Hear the start
- Guess the next word
- Say it
Find it (an adult reads aloud)
Remember this
AI talks by guessing one word at a time.
Try this away from the screenWith a grown-up, play finish-the-sentence: The grown-up says, “The kitten is…” You add a word, then talk about whether it fits.
A Word-Chain Expert
AI that chats (a large language model) has read a huge amount of text and learned to guess “the next word.”
From everyday life
ISA asks you
“The puppy is…” What would you say next?
Ready? See what ISA thinks
“Running,” “sleeping,” or “eating” all work. AI guesses like this too.
Key points
- It cuts sentences into small pieces (tokens).
- It looks at the words before and figures out the chance of each word coming next.
- It picks one, adds it, and keeps guessing.
- It is continuing the sentence, not truly “knowing” the answer.
- What AI learned stops on a certain day. It doesn’t know news after that.
How it works
- Cut into pieces
- Figure the chances
- Pick one
- Keep going
Quick quiz
Remember this
A language model is a word-chain expert: smooth, but not always right.
Try this away from the screenPlay a story chain with your family: each person adds just one sentence. When you finish, check together for anything that doesn’t make sense.
Tokens, Probability and Context
A large language model (LLM) looks at the text so far, calculates the probability of each possible next token, then picks one to add.
From everyday life
ISA asks you
If AI is only predicting the next word, why does it seem to know so much?
Ready? See what ISA thinks
It has read an enormous amount of text and is very good at continuing sentences sensibly, but that doesn’t mean it truly understands.
Key points
- Token: a small unit that text is cut into.
- Context window: the maximum amount of content it can take into account at once.
- Temperature: a setting; higher means more variety, lower means more consistency.
- Even about things it hasn’t seen or isn’t sure of, it will still “continue” with smooth sentences (hallucination).
How it works
- Split into tokens
- Read the context
- Calculate probabilities
- Sample
- Repeat
Quick quiz
Remember this
An LLM reads the context, calculates probabilities and picks the next word; fluent doesn’t mean correct.
Try thisSay the first half of a sentence and ask three friends to finish it separately. See which ending comes up most often and think about why.
From Pre-training to Conversation
A chat AI is a pre-trained model plus instruction tuning, alignment training and a system prompt.
From everyday life
ISA asks you
If AI is only predicting the next word, why does it seem to know so much?
Ready? See what ISA thinks
It has read an enormous amount of text and is very good at continuing sentences sensibly, but that doesn’t mean it truly understands.
Key points
- Pre-training: learns to predict the next token on massive amounts of text.
- Fine-tuning and alignment: make the model understand instructions and behave according to human norms.
- Reasoning models: produce intermediate reasoning steps before answering.
- Connecting retrieval and tools can reduce hallucinations and bring in new information.
How it works
- Pre-training
- Fine-tuning
- Alignment
- Add tools
- Deploy
Quick quiz
Remember this
A chat AI is a pre-trained model, plus fine-tuning, alignment and tools.
Try thisPredict: if you ask a chat AI about an obscure topic you know well, will it get it right? Afterward, check it sentence by sentence and record what was right and wrong.