Codele / LLMs, RAG and agentic AI
What a large language model is
A large language model is a program trained on a huge amount of text to do one thing: predict what comes next. Everything else it does grows out of that.
- A large language model is a program trained on a huge amount of text to predict what comes next.
- Answering, summarising and coding all come from predicting the next piece, again and again.
- For each possible next word it works out a likelihood: a number for how likely that word is.
- It does not look facts up. It writes likely text, so it can be confidently wrong.
- This is a toy. A real model uses pieces called tokens and a huge network of numbers, not a short list.
Loading the playable lesson…