概念
Amazon Bedrock Model Evaluation
Run automatic, human or LLM-as-a-judge evaluation jobs on models, and evaluate knowledge bases.
本课尚未翻译,暂以英文显示。
- 1Provide test prompts.
- 2Choose the model to test.
- 3Read the report and compare models.
Automatic
- Scored by
- Accuracy, robustness, toxicity
- Good for
- Quick, repeatable checks
Human
- Scored by
- Your team or an AWS-managed team
- Good for
- Tone and helpfulness
LLM-as-a-judge
- Scored by
- A second model
- Good for
- Scale, with explanations
RAG evaluation
- Scored by
- A judge model
- Good for
- Testing a knowledge base
| Job type | Scored by | Good for |
|---|---|---|
| Automatic | Accuracy, robustness, toxicity | Quick, repeatable checks |
| Human | Your team or an AWS-managed team | Tone and helpfulness |
| LLM-as-a-judge | A second model | Scale, with explanations |
| RAG evaluation | A judge model | Testing a knowledge base |
1 / 2
Automatic
- Scored by
- Accuracy, robustness, toxicity
- Good for
- Quick, repeatable checks
Human
- Scored by
- Your team or an AWS-managed team
- Good for
- Tone and helpfulness
LLM-as-a-judge
- Scored by
- A second model
- Good for
- Scale, with explanations
| Job type | Scored by | Good for |
|---|---|---|
| Automatic | Accuracy, robustness, toxicity | Quick, repeatable checks |
| Human | Your team or an AWS-managed team | Tone and helpfulness |
| LLM-as-a-judge | A second model | Scale, with explanations |
2 / 2
RAG evaluation
- Scored by
- A judge model
- Good for
- Testing a knowledge base
| Job type | Scored by | Good for |
|---|---|---|
| RAG evaluation | A judge model | Testing a knowledge base |
是什么
Amazon Bedrock Model Evaluation is a feature of Amazon Bedrock that tests models and shows you a report. You give it test prompts, either your own or built-in ones, pick the model, and start a job.
是什么
There are different job types. An automatic job scores answers with built-in metrics, such as accuracy, robustness and toxicity, for tasks such as text generation, summarization, question answering and classification, using built-in prompt data sets or your own. A human job sends the answers to your own team or an AWS-managed team to rate. An LLM-as-a-judge job uses a second model to score the answers and explain each score. Bedrock also evaluates RAG: it can test how well a knowledge base retrieves information and answers.
是什么
The report lets you compare models before you choose one. The judge metrics, including the RAG ones, are listed in the Judge metrics lesson.
要记住
- A Bedrock feature to evaluate models and compare them.
- Automatic jobs use built-in metrics on a prompt data set.
- Human jobs use your team or an AWS-managed team.
- LLM-as-a-judge jobs use a second model to score and explain.
- RAG evaluation checks retrieval and answers of a knowledge base.
考试中
- “Compare foundation models on quality with a managed evaluation job” points to Amazon Bedrock Model Evaluation.
- “Have employees rate model responses in Amazon Bedrock” points to a human evaluation job.
别和这些弄混
- Ways to evaluate a modelHuman review, benchmark data sets and automatic scoring: what each one is for.
- LLM-as-a-judgeOne model grades another model's answers, with scores and reasons.
- Judge metrics: correctness, completeness and moreThe built-in scores a judge model gives in Amazon Bedrock, from correctness and completeness to harmfulness, plus the RAG metrics.