Skip to content
BytePatterns

AI & ML

From embeddings to agents — see how modern AI actually works.

AI & ML progress0 / 32
  1. What Is Machine LearningLearn the rule from examples instead of writing it.4m
  2. Training vs InferenceLearn once, slowly. Answer many times, fast.4m
  3. EmbeddingsMeaning turned into a fixed list of numbers.5m
  4. Cosine SimilarityCompare direction, ignore magnitude.5m
  5. TokenizationModels read chunks, not letters or words.5m
  6. Attention, IntuitivelyEvery position decides which others to listen to.5m
  7. Transformers: Big PictureA stack of identical blocks refining one sequence.5m
  8. What Is an LLMA next-token predictor trained on a lot of text.5m
  9. Temperature and SamplingOne distribution, many possible answers.5m
  10. Context WindowsA hard limit on what the model can see at once.4m
  11. Retrieval-Augmented GenerationFetch the facts first, then let the model write.5m
  12. Vector DatabasesNearest-neighbour search that stays fast at scale.5m
  13. Fine-Tuning vs PromptingChange the instructions, or change the weights.5m
  14. Agents and ToolsA model in a loop that can act and try again.5m
  15. Evaluating LLMsIf you cannot score it, you cannot improve it.5m
  16. Chunking and RerankingRetrieval quality is decided before the model reads a word.5m
  17. Adapters and LoRATrain a thin correction instead of the whole weight matrix.5m
  18. QuantizationStore the weights in fewer bits and buy back memory bandwidth.5m
  19. Approximate NeighboursWalk a graph of vectors instead of comparing all of them.5m
  20. LLM as a JudgeA model can grade answers — and quietly grade the wrong thing.5m
  21. The Tool-Use LoopThe model proposes a call; your code decides whether it runs.5m
  22. GuardrailsChecks around the model, because the model is not the boundary.5m
  23. BPE vs WordPieceTwo ways to decide which pair of pieces becomes one piece.5m
  24. The KV CacheKeep the past keys and values so each new token is cheap.5m
  25. Speculative DecodingA small model guesses ahead; the big one checks in one pass.5m
  26. Model Routing and FallbacksSend each request to the cheapest model that answers it well.5m
  27. Finding and Masking PIIFind personal data, swap it for placeholders, and mask the logs too.5m
  28. From Pilot to ProductionA pilot proves the idea. Production needs the system around it.5m
  29. AI Teams and the Center of ExcellenceOne central AI team, or builders inside every product team?5m
  30. Change Management for AIThe same tool can reach 15% or 70% of staff. The people plan decides.5m
  31. Data Readiness for AICheck what a use case needs from data against what actually exists.5m
  32. Measuring AI ValueBaseline first, then track value against cost until you scale, pivot or stop.5m

Quiz yourself: 3 questions from this module

1 / 3

In machine learning, where does the rule come from?