Evaluator Families and Aliases
Evaluator families group together evaluators that perform the same function. Evaluators in the same family share evaluator profiles and accept the same set of inputs. Importantly, the performance and cost of evaluators in the family may differ.
Custom Evaluator Family
Custom evaluators perform evaluations based on pass criteria defined in natural language, such as "The MODEL OUTPUT should be free from brackets". Custom evaluators also support active learning, which means that you can improve their performance by annotating historical evaluations with thumbs up or thumbs down. To learn more about Custom Evaluators, visit their documentation page.
Required Input Fields
evaluated_model_input
evaluated_model_output
Optional Input Fields
evaluated_model_gold_answer
Aliases
Alias | Target |
---|---|
custom | custom-large-2024-08-08 |
custom-large | custom-large-2024-08-08 |
custom-small | custom-small-2024-08-08 |
Evaluators
Evaluator ID | Description |
---|---|
custom-large-2024-08-08 | The most sophisticated evaluator in the family, using advanced reasoning to achieve high correctness. |
custom-small-2024-08-08 | The fastest and cheapest evaluator in the family. |
custom-large-2024-07-23 | |
custom-small-2024-07-23 | |
custom-large-2024-05-16 | |
custom-small-2024-05-16 |
PHI (Protected Health Information) Evaluator Family
Checks for protected health information (PHI), defined broadly as any information about an individual's health status or provision of healthcare.
Required Input Fields
evaluated_model_output
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
phi | phi-2024-05-31 |
Evaluators
Evaluator ID | Description |
---|---|
phi-2024-05-31 | PHI detection in model outputs |
Metrics Evaluator Family
Computes common NLP metrics on the output and label fields to measure semantic overlap and similarity. Currently supports the bleu
and rouge
frameworks.
Required Input Fields
evaluated_model_output
evaluated_model_gold_answer
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
metrics | metrics-2024-05-16 |
Evaluators
Evaluator ID | Description |
---|---|
metrics-2024-05-16 | Computes NLP metrics like bleu and rouge |
Exact Match Evaluator Family
Check that your model output is the same as the provided gold answer. Useful for checking boolean or multiple choice model outputs.
Required Input Fields
evaluated_model_output
evaluated_model_gold_answer
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
exact-match | exact-match-2024-05-31 |
Evaluators
Evaluator ID | Description |
---|---|
exact-match-2024-05-31 | Checks that model output and gold answer are the same |
PII (Personally Identifiable Information) Evaluator Family
Checks for personally identifiable information (PII). PII is information that, in conjunction with other data, can identify an individual.
Required Input Fields
evaluated_model_output
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
pii | pii-2024-05-31 |
Evaluators
Evaluator ID | Description |
---|---|
pii-2024-05-31 | PII detection in model outputs |
Retrieval Answer Relevance Evaluator Family
Checks whether the model output is on-topic to the input question. Does not measure correctness.
Required Input Fields
evaluated_model_input
evaluated_model_output
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
retrieval-answer-relevance | retrieval-answer-relevance-large-2024-07-23 |
retrieval-answer-relevance-large | retrieval-answer-relevance-large-2024-07-23 |
retrieval-answer-relevance-small | retrieval-answer-relevance-small-2024-07-23 |
Evaluators
Evaluator ID | Description |
---|---|
retrieval-answer-relevance-large-2024-07-23 | The most sophisticated evaluator in the family, using advanced reasoning to achieve high correctness. |
retrieval-answer-relevance-small-2024-07-23 | The fastest and cheapest evaluator in the family. |
retrieval-answer-relevance-large-2024-05-31 | |
retrieval-answer-relevance-small-2024-05-31 |
Retrieval Context Sufficiency Evaluator Family
Checks whether the retrieved context is sufficient to generate an output similar in meaning to the label. The label should be the correct evaluation result.
Required Input Fields
evaluated_model_input
evaluated_model_output
evaluated_model_gold_answer
evaluated_model_retrieved_context
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
retrieval-context-sufficiency | retrieval-context-sufficiency-large-2024-07-23 |
retrieval-context-sufficiency-large | retrieval-context-sufficiency-large-2024-07-23 |
retrieval-context-sufficiency-small | retrieval-context-sufficiency-small-2024-07-23 |
Evaluators
Evaluator ID | Description |
---|---|
retrieval-context-sufficiency-large-2024-07-23 | The most sophisticated evaluator in the family, using advanced reasoning to achieve high correctness. |
retrieval-context-sufficiency-small-2024-07-23 | The fastest and cheapest evaluator in the family. |
retrieval-context-sufficiency-large-2024-05-31 | |
retrieval-context-sufficiency-small-2024-05-31 |
Retrieval Hallucination Evaluator Family
Checks whether the LLM response is hallucinatory, i.e. the output is not grounded in the provided context.
Required Input Fields
evaluated_model_input
evaluated_model_output
evaluated_model_retrieved_context
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
retrieval-hallucination | retrieval-hallucination-large-2024-07-23 |
retrieval-hallucination-large | retrieval-hallucination-large-2024-07-23 |
retrieval-hallucination-small | retrieval-hallucination-small-2024-07-23 |
Evaluators
Evaluator ID | Description |
---|---|
retrieval-hallucination-large-2024-07-23 | The most sophisticated evaluator in the family, using advanced reasoning to achieve high correctness. |
retrieval-hallucination-small-2024-07-23 | The fastest and cheapest evaluator in the family. |
retrieval-hallucination-large-2024-05-31 | |
retrieval-hallucination-small-2024-05-31 |
Lynx Retrieval Hallucination Evaluator Family
Checks whether the LLM response is hallucinatory, i.e. the output is not grounded in the provided context. Uses Patronus Lynx to power the evaluation. See the research paper here .
Required Input Fields
evaluated_model_input
evaluated_model_output
evaluated_model_retrieved_context
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
retrieval-hallucination-lynx | retrieval-hallucination-lynx-large-2024-07-23 |
retrieval-hallucination-lynx-large | retrieval-hallucination-lynx-large-2024-07-23 |
retrieval-hallucination-lynx-small | retrieval-hallucination-lynx-small-2024-07-23 |
Evaluators
Evaluator ID | Description |
---|---|
retrieval-hallucination-lynx-large-2024-07-23 | The most sophisticated evaluator in the family, using a large, 70B parameter model to achieve advanced reasoning and high correctness. |
retrieval-hallucination-lynx-small-2024-07-23 | The cheapest evaluator in the family, using a 8B parameter model to generate reliable and quick evaluations. |
Retrieval Context Relevance Family
Checks whether the retrieved context is on-topic or relevant to the input question.
Required Input Fields
evaluated_model_input
evaluated_model_retrieved_context
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
retrieval-context-relevance | retrieval-context-relevance-large-2024-07-23 |
retrieval-context-relevance-large | retrieval-context-relevance-large-2024-07-23 |
retrieval-context-relevance-small | retrieval-context-relevance-small-2024-07-23 |
Evaluators
Evaluator ID | Description |
---|---|
retrieval-context-relevance-large-2024-07-23 | The most sophisticated evaluator in the family, using advanced reasoning to achieve high correctness. |
retrieval-context-relevance-small-2024-07-23 | The fastest and cheapest evaluator in the family. |
retrieval-context-relevance-large-2024-05-31 | |
retrieval-context-relevance-small-2024-05-31 |
Toxicity Evaluator Family
Checks output for abusive and hateful messages.
Required Input Fields
evaluated_model_output
Optional Input Fields
None
Aliases
Alias | Target |
---|---|
toxicity | toxicity-2024-05-16 |
Evaluators
Evaluator ID | Description |
---|---|
toxicity-2024-05-16 | Detect Toxicity |
Updated 2 months ago