LLM fundamentals
Explain how LLMs work well enough to make engineering decisions.
- AGT.02.01Tokens, context windows and next-token predictionCoreJuniorBeing written
- AGT.02.02Transformers and attention (intuition)Mid-levelBeing written
- AGT.02.03Training: pre-training, post-training and reasoning modelsCoreMid-levelBeing written
- AGT.02.04Generation controls, model choice and costCoreJuniorBeing written
- AGT.02.05Embeddings and similarityCoreJuniorBeing written
- AGT.02.06How inference serving worksMid-levelBeing written
- AGT.02.07ML basics for AI engineersJuniorBeing written
Interview questions in this module
- What is a token? Why does token count matter?
- Why do LLMs hallucinate? How do you reduce it in a product?
- Explain attention in simple terms.
- What is the difference between pre-training and fine-tuning?
- How do you choose between a small and a large model for a feature?
- What is an embedding and how is it used in search?
- What are reasoning models and when are they worth the extra cost?
- What is the KV cache and why does long context cost more?
- Explain precision and recall with an example.