Skip to content

Commit 6ce93d5

Browse files
authored
Fix typo in few_shots_select option error message. ('fbalanced' -> 'balanced') (#1111)
1 parent f888858 commit 6ce93d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lighteval/tasks/prompt_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def __init__(self, task: "LightevalTask"):
206206

207207
if few_shots_select not in ALLOWED_SELECTIONS:
208208
raise ValueError(
209-
f"few_shots_select must be one of f{','.join(ALLOWED_SELECTIONS[:-1])} or {ALLOWED_SELECTIONS[-1]}, not {few_shots_select}"
209+
f"few_shots_select must be one of {','.join(ALLOWED_SELECTIONS[:-1])} or {ALLOWED_SELECTIONS[-1]}, not {few_shots_select}"
210210
)
211211

212212
self.few_shots_select = FewShotSelection[few_shots_select]

0 commit comments

Comments
 (0)