401 — Go deeper
How AI learns: a closer look
A model is a system prepared to perform a task. Training adjusts a model using examples or feedback. Inference means using the trained model on new information.
Imagine teaching a program to distinguish plants using pictures. To test whether it works, give it new photographs that were not used for training. It may do well in a test but fail when lighting or plant varieties change.
Large language models learn patterns in text. They represent text in small units called tokens and produce sequences using context. Additional tools may help a system retrieve information or calculate, but a generated answer is not necessarily verified.
Check your understanding
Why test a model with unfamiliar examples?
Show the explanation
To see whether it works beyond its training examples. Memorizing familiar examples is not enough.
Read more from the original sources
Optional reading, curated by Catalyst.
- Google for Developers: Introduction to Machine LearningTechnical education · A short conceptual introduction to learning systems.
- Google for Developers: Introduction to Large Language ModelsTechnical education · How language models use tokens and context.
- Google for Developers: Machine Learning Crash CourseTechnical course · Deeper study; some exercises need programming and math.