AI, machine learning, and language models
- AI
- Machine learning
- Language models
- Machine learning
Distinguish a broad field from one kind of model.
Sign up and we'll remember how far you've come.
From an elementary-school level all the way to Python code
Let's see how a chat AI (a language model) makes its answers.
What would you put in the blank? Tap an example.
This morning, I __________.
These choices are prepared examples. Tap your selected example again to bring back the blank.
A plausible continuation can still be wrong. Check important answers.
Yes, predicting what comes next is the basic idea! A language model uses patterns learned during training, your input, and the text so far to calculate what could come next. It chooses a small piece of text called a token, which can be a word or part of one, then repeats the process to build a reply.
Filling a blank is an analogy. In a chat reply, the model usually keeps adding tokens at the end. It doesn't always choose the most likely one: it can also sample from several candidates according to their probabilities.
People use these words when AI works through a problem in steps. Underneath, it runs calculations using learned patterns and its input. Fluent language alone is no reason to treat it as a person with feelings or intentions.
Distinguish a broad field from one kind of model.
State the task, useful context, constraints, and a way to check the result.
Separate text pieces from their numeric identifiers.