Introduction to Evaluating Generative AI
Amazon Bedrock evaluations, NLP metrics, LLM-as-a-judge, human evaluation and human-in-the-loop workflows, bias and content quality checks, and reproducible prompt experiments.
- 6 lessons
- Module quiz
A generative model does not produce one correct label that can be compared with the truth. The same question can have many good answers, and an answer can be fluent yet wrong, unsafe or unsupported by its sources. Evaluating generative AI therefore combines several methods, each measuring a different aspect of quality.
Amazon Bedrock Evaluations run automatic, judge-based and human evaluations of models and RAG systems. NLP metrics such as BLEU, ROUGE and BERTScore compare outputs with reference answers. LLM-as-a-judge uses one model to grade another against criteria such as correctness and faithfulness, and human evaluation remains the standard for subjective qualities. Bias and content checks, together with versioned prompts, complete the picture.
What the exam expects
Questions test matching metrics to tasks, BLEU for translation, ROUGE for summarisation and BERTScore when paraphrases are acceptable, the fact that no overlap metric checks factual correctness, the RAG metrics for retrieval and faithfulness, and the practice of using a judge from a different model family, calibrated against human ratings.
How this module is organised
Evaluating Foundation Models and RAG with Amazon Bedrock Evaluations explains the managed evaluation jobs. Choosing NLP Evaluation Metrics: BLEU, ROUGE and BERTScore explains the reference-based metrics. Evaluating Generated Text with LLM-as-a-Judge and Integrating Human Evaluation and Human-in-the-Loop Review explain the judgement-based methods. Checking Generative Output for Quality, Safety and Bias explains safety and fairness checks, and Running Reproducible Prompt Experiments explains how to compare prompt versions reliably.
- Evaluating Foundation Models and RAG with Amazon Bedrock Evaluations Lesson 1
- Choosing NLP Evaluation Metrics: BLEU, ROUGE and BERTScore Lesson 2
- Evaluating Generated Text with LLM-as-a-Judge Lesson 3
- Integrating Human Evaluation and Human-in-the-Loop Review Lesson 4
- Checking Generative Output for Quality, Safety and Bias Lesson 5
- Running Reproducible Prompt Experiments Lesson 6
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 4 questions