From 23a840b7777912bd6324643079e50156038817d7 Mon Sep 17 00:00:00 2001 From: jayminban Date: Sat, 27 Dec 2025 12:05:11 +0900 Subject: [PATCH] Fix typo in few_shots_select option error message. ('fbalanced' -> 'balanced') --- src/lighteval/tasks/prompt_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lighteval/tasks/prompt_manager.py b/src/lighteval/tasks/prompt_manager.py index 2c854281d..f72b8050c 100644 --- a/src/lighteval/tasks/prompt_manager.py +++ b/src/lighteval/tasks/prompt_manager.py @@ -206,7 +206,7 @@ def __init__(self, task: "LightevalTask"): if few_shots_select not in ALLOWED_SELECTIONS: raise ValueError( - f"few_shots_select must be one of f{','.join(ALLOWED_SELECTIONS[:-1])} or {ALLOWED_SELECTIONS[-1]}, not {few_shots_select}" + f"few_shots_select must be one of {','.join(ALLOWED_SELECTIONS[:-1])} or {ALLOWED_SELECTIONS[-1]}, not {few_shots_select}" ) self.few_shots_select = FewShotSelection[few_shots_select]