ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

概念

Ways to evaluate a model

Human review, benchmark data sets and automatic scoring: what each one is for.

本课尚未翻译,暂以英文显示。

  • Human review

    How
    People read and rate answers.
    Fits when
    Tone and quality matter most.
  • Benchmark data set

    How
    A standard test with known answers.
    Fits when
    You compare models fairly.
  • Automatic metrics

    How
    A program scores each answer.
    Fits when
    You need speed and low cost.
  • LLM-as-a-judge

    How
    Another model grades the answers.
    Fits when
    You need scale with some nuance.
Four ways to evaluate, and when each fits.

1 / 2

  • Human review

    How
    People read and rate answers.
    Fits when
    Tone and quality matter most.
  • Benchmark data set

    How
    A standard test with known answers.
    Fits when
    You compare models fairly.

2 / 2

  • Automatic metrics

    How
    A program scores each answer.
    Fits when
    You need speed and low cost.
  • LLM-as-a-judge

    How
    Another model grades the answers.
    Fits when
    You need scale with some nuance.
Four ways to evaluate, and when each fits.
Test prompts
Foundation models
Scoring
Results
  1. 1Run the test prompts.
  2. 2The model answers each one.
  3. 3Scoring turns the answers into results.
Every approach has test prompts, a model and scoring.

分步说明

  1. 1Run the test prompts.
  2. 2The model answers each one.
  3. 3Scoring turns the answers into results.

Every approach has test prompts, a model and scoring.

是什么

Before you trust a foundation model, test it. Three approaches are common, and teams often combine them.

Human-in-the-loop evaluation has people read answers and rate them. It catches tone, helpfulness and subtle errors, but it is slow and costs money. Benchmark data sets are standard question sets with known answers, so you can compare models on the same test. Automatic evaluation uses a program to score answers, with metrics such as ROUGE or with another model as a judge. It is fast and cheap, so you can run it often.

Use automatic scoring to screen many models quickly. Use people for the final, quality-sensitive check.

要记住

  • Human evaluation: best for tone, helpfulness and nuance; slow and costly.
  • Benchmark data sets: the same standard test for every model. Bedrock has built-in ones, such as BOLD for bias and RealToxicityPrompts for toxicity.
  • Automatic metrics: fast, cheap, repeatable.
  • LLM-as-a-judge: another model scores the answers.

要记住

  • Amazon Bedrock Model Evaluation runs these jobs for you.
  • Combine approaches: automatic to screen, human to confirm.

考试中

  • “People rate model answers for quality” describes human-in-the-loop evaluation.
  • “Compare several models on the same standard test” points to a benchmark data set.