ScienceExplain

What Is a Large Language Model?

Advanced

1. Quick Summary

At its core a language model guesses what comes next. Show it ‘the cat sat on the’, and it assigns probabilities to candidate next words, learning from vast text which completions are natural.

What Is a Large Language Model?
A network: connected nodes passing things along.

Make the model large and the training text enormous, and that humble next-word skill turns into something that can answer questions, write code and hold a conversation, which is the surprise at the centre of modern AI.

2. What It Means

It is built, not programmed. No one writes rules for grammar or facts; the behaviour emerges from adjusting billions of numbers so the next-word guesses match the training text.

Context is how it tracks the conversation. The model reads the recent turns together and uses them to constrain its guesses, which is why it can stay on topic instead of repeating generic text.

Parameters are its memory. Stored as numbers, they encode patterns of language and, loosely, associations between concepts, which is why a model can seem to know things without storing sentences verbatim.

3. Why It Happens

Scale changed the behaviour. Beyond a certain size, models gained abilities no one explicitly trained, such as simple reasoning steps, suggesting the next-word objective was richer than it looked.

Training needs two phases. First it learns from text to predict words; then a second phase ranks answers by quality, steering the model toward helpful, less harmful responses.

Tokens are the unit, not letters. Text is split into chunks, and the model processes those, which is why pricing and limits are counted in tokens rather than characters or words.

It predicts, it does not retrieve. Answers are generated word by word from patterns, so confident-sounding text can still be wrong, a limitation no amount of fluency removes.

4. Real Examples

Summarising a long article is the model repeatedly guessing the next fitting phrase given the source, not looking up a stored summary.

Translation works because paired texts in many languages taught it the mappings implicitly, so it can render between languages it has seen paired during training.

A wrong but fluent answer shows the gap between sounding right and being right, the central caveat users must keep in mind.

5. How It Affects Us

For users the practical rule is to verify important facts elsewhere. Fluency is not accuracy, and the model cannot know what it has not been shown or correctly inferred.

For the field, the next-word trick proved unexpectedly powerful, which is why so much effort goes into scale, data quality and the second training phase rather than hand-written logic.

It also reframes ‘understanding’. Whether the model truly comprehends is debated; what is certain is that predicting words well enough reproduces many behaviours we associate with comprehension.

6. Key Takeaways

  • A language model predicts the next word, and scale turned that into fluent AI.
  • It is trained, not programmed, so behaviour emerges from adjusted parameters.
  • Tokens are the unit it processes, and training has two phases: prediction then alignment.
  • It generates from patterns, so fluent text can still be confidently wrong.

7. Related Explanations