Select generation and embedding models from evidence
Use task benchmarks, model metadata and token constraints to make a deployment choice.
Select generation and embedding models from evidence
Work through the decision
A larger model scores higher on generic benchmarks. A smaller model meets the team’s accuracy target on its manuals and answers within the deadline. The larger one times out on the longest cases. Which should advance?
Check your reasoning
Run both on the same held-out cases with representative concurrency. Apply hard acceptance limits for grounding, critical-task correctness, latency and available deployment rights before comparing cost. Inspect domain, language and length slices so a global average cannot hide a critical failure.
Compare the choices
- Task-specific benchmark
- Measure paired candidates on representative labeled workload cases under comparable conditions. Apply release constraints before ranking survivors.
- Embedding context limit
- Check the embedding tokenizer and maximum sequence length. Prevent silent truncation of the text intended for semantic retrieval.
- Model card
- Review intended uses, restrictions, context, languages, published benchmarks and licensing. Verify claims against workload evidence.
- Embedding-space compatibility
- Use matching encoding conventions for indexed passages and query vectors. Recompute and validate the index when the embedding space changes.
Test the decision
Read the model card and verify context limits, license, deployment availability and expected uses. The embedding model and generator have separate token budgets. Changing the embedding model can require regenerating all stored vectors and rebuilding the index.
Practice the guide skills
- Select a language model for a low-latency, multilingual workload. Watch 49:50 · Continue at 50:02
Check your answer
Compare task accuracy, supported languages, context, serving availability, observed latency and cost on representative traffic. Choose among candidates that meet the hard requirements.
- The embedding model truncates long source chunks. Watch 50:33 · Continue at 50:52
Check your answer
Measure tokens with the embedding tokenizer, account for typical query length and test shorter chunks or a suitable longer-context embedding model. When the embedding space changes, re-embed and rebuild compatible vectors.
- A new model card lists license, expected languages and limitations. Watch 51:55 · Continue at 52:09
Check your answer
Verify task fit, allowed deployment, input limits and evaluation evidence before importing the model. Benchmark on representative internal cases.
- A larger model gains quality but exceeds the p95 target. Watch 53:23 · Continue at 54:02
Check your answer
Inspect experiment runs using fixed cases and comparable load. Apply hard quality and latency gates, compare remaining candidates by cost, and investigate segments rather than averaging away failures.
Official objectives for this lesson
Related lesson · Compute and cluster types
Select generation and embedding models from evidence quiz
Answer 3 questions. Check each answer for an explanation.