mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
rebase name
This commit is contained in:
parent
97ca72288c
commit
3db1b3fbcd
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class InclusionScorer(BaseScorer):
|
||||||
A scorer that assigns a score of 1.0 if the expected string is included in the generated string, and 0.0 otherwise.
|
A scorer that assigns a score of 1.0 if the expected string is included in the generated string, and 0.0 otherwise.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
scoring_function_def = DeterministicFunctionDef(
|
scoring_function_def = ScoringFunctionDef(
|
||||||
identifier="inclusion",
|
identifier="inclusion",
|
||||||
description="Returns 1.0 if the expected is included in generated, 0.0 otherwise.",
|
description="Returns 1.0 if the expected is included in generated, 0.0 otherwise.",
|
||||||
parameters=[],
|
parameters=[],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue