Skip to content
AWS Certified AI Practitioner (AIF-C01) Exam Prep

Lesson 26 of 34 · 6 min

x
26/34

Evaluating Foundation Models: Methods and Metrics

Video lesson: AIF-C01 26/34: Evaluating Foundation Models: Methods and Metrics

Approaches (named in the guide)

ApproachHowStrengthWeakness
Human-in-the-loop evaluationPeople rate outputsJudges nuance, tone, usefulnessSlow, costly
Benchmark datasetsStandard test sets with known answersComparable, repeatableMay not match your use case
Amazon Bedrock Model EvaluationManaged evaluation jobsBuilt-in metrics, your data or built-in datasetsNeeds a good test dataset
LLM-as-a-judgeA second model scores outputs and explains whyFast, scalable, handles open-ended textNeeds spot checks by people

Amazon Bedrock evaluations

  • Automatic (programmatic) jobs: your prompt dataset or a built-in dataset; metrics accuracy, robustness and toxicity by task type (general text generation, summarization, question and answer, classification).
  • Human-based jobs: your employees or subject-matter experts rate responses.
  • Judge-model jobs: a generator model answers; an evaluator model scores each response with an explanation; built-in or custom metrics.
  • RAG evaluations: check a knowledge base's retrieval and generated responses against ground truth.

Metrics (named in the guide; definitions are general background)

MetricMeasuresTypical task
ROUGE (Recall-Oriented Understudy for Gisting Evaluation)Overlap of words or n-grams between output and reference, recall-orientedSummarization
BLEU (Bilingual Evaluation Understudy)Precision of n-gram matches against reference translationsMachine translation
BERTScoreSemantic similarity using embeddings, so paraphrases countSummarization, paraphrase (Bedrock uses it for summarization accuracy, verified)
LLM-as-a-judgeA model scores correctness, helpfulness, faithfulness and moreOpen-ended answers

Exam traps

  • BLEU for summaries, ROUGE for translation. Usually the other way round.
  • Only automatic metrics for tone and brand voice. Add human review.
  • Trusting public benchmarks over tests on your own data.

References

  1. Bedrock evaluations — checked Oct 19, 2026
  2. Evaluation task types and metrics — checked Oct 19, 2026
  3. LLM as a judge — checked Oct 19, 2026

Check your understanding

  • Compare a model's summaries to reference summaries by word overlap?Show answer

    Answer

    ROUGE.
  • Score translations against human translations?Show answer

    Answer

    BLEU.
  • Rate thousands of open-ended answers quickly, with explanations?Show answer

    Answer

    LLM-as-a-judge (Bedrock judge-model evaluation).
Previous

Progress is saved in this browser.

Next Lesson