mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-10 07:35:59 +00:00
categorical score for llm as judge
This commit is contained in:
parent
0850ad656a
commit
788411b680
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class LlmAsJudgeScoringFn(BaseScoringFn):
|
|||
for regex in rating_regexes:
|
||||
match = re.search(regex, content)
|
||||
if match:
|
||||
judge_rating = int(match.group(1))
|
||||
judge_rating = match.group(1)
|
||||
break
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue