How does generative AI work, and how do you use it well?
▶ 37 animations · 16 questions · 13 lessons · 23 terms
▶ Start: RAGWhich Generative AI questions does this track answer?
How does a chatbot answer from my company's documents?
Why do AI models make things up, and how do you reduce it?
Our RAG answers badly. Where do we look first?
Should we use RAG, fine-tuning, or just a long prompt?
What actually happens inside a model when it writes?
How is a chatbot built, and where does its safety come from?
What's a reasoning model, and why does it cost more?
Why can a huge model run cheaply, or on a PC?
How does AI see images and make them?
How do I get better answers without changing the model?
How does an AI take actions, and what's an agent?
Open or closed model, and what size?
What drives the cost of an AI feature, and how do we cut it?
Should I trust this benchmark claim?
What are the main security risks, and the defences?
What do the rules say about labelling AI content?
Also in this track
The whole path, in order · 37 animations
AI on your own data (RAG)15 animations
- RAGRetrieval-Augmented Generation
- EmbeddingsMeaning as a position on a map
- Semantic (vector) searchFinding by meaning
- Tokens & the context windowThe model's desk
- HallucinationFluent is not the same as true
- ChunkingCutting documents into findable pieces
- Hybrid searchMeaning + exact words
- RerankingA second, careful look
- Query rewritingFix the question before searching
- GraphRAGFollowing connections
- Agentic RAGThe model decides when to look again
- Long context vs RAGPour it all in, or look it up?
- RAG vs fine-tuningTeach facts or habits?
- Evaluating RAGIs the answer grounded?
- RAG poisoningWhen the documents lie
How a model is made and how it thinks8 animations
- Next-token prediction & temperatureOne piece at a time
- Transformers & attentionWhich words matter here?
- Pretraining → fine-tuning → alignmentHow a chatbot is built
- DistillationA small model learns from a big one
- Reasoning modelsThinking before answering
- Mixture of Experts (MoE)Only a few experts work on each word
- Multimodal modelsOne model that reads pictures and words
- DiffusionHow AI makes images and video
Using models well4 animations
Running models: size, cost and speed6 animations
Trust, safety and judging claims4 animations
What are the Generative AI lessons, in order?
- 1 AI modelA program that has learned patterns from examples, so it can make predictions on new input. Beginner
- 2 trainingTeaching a model by showing it many examples and correcting its mistakes. Beginner
- 3 tokenA small piece of text, often part of a word, that language models read and write. Beginner
- 4 large language modelA very large AI model trained on huge amounts of text to understand and write language. Beginner
- 5 promptThe instructions and text you give an AI model to get the answer you want. Beginner
- 6 context windowThe maximum amount of text a model can read at once before answering. Beginner
- 7 embeddingA list of numbers that captures the meaning of a piece of text, so similar ideas sit close together. Intermediate
- 8 autoregressiveWriting an answer one piece at a time, each piece chosen based on what came before. Intermediate
- 9 non-autoregressiveProducing an entire answer in one step, not word by word. Intermediate
- 10 forward passOne trip of an input through a trained model to get its answer. Intermediate
- 11 hallucinationWhen an AI model states something false with full confidence. Intermediate
- 12 fine-tuningExtra training that adapts an existing model to one specific job, using your own examples. Intermediate
- 13 retrieval-augmented generationLetting a model look up relevant documents first, then answer using them. Advanced