AnderCorp Academy
Back to AI Lessons
Generative AI beginner 9 min read

Introduction to Large Language Models

What LLMs are, how they predict text, and what they can and can't do.

Inspired by learning material from Google

Large Language Models (LLMs) like the ones behind chat assistants are trained to predict text. From that simple objective, surprisingly capable behavior emerges.

Next-token prediction

An LLM reads text and predicts the most likely next token (a word or piece of a word). Repeat this and it generates fluent paragraphs.

Trained on massive text

LLMs learn from enormous collections of text. During training they absorb grammar, facts, reasoning patterns, and style.

What they're good at

Limitations

Key takeaways