Skip to content

Commit b4318be

Browse files
committed
tasks -> [task]
Signed-off-by: Roni Friedman-Melamed <Roni.friedman-melamed@il.ibm.com>
1 parent d6153db commit b4318be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/instructlab/eval/unitxt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ def __init__(
3737
model_path,
3838
unitxt_recipe: str,
3939
):
40-
tasks,tasks_dir = self.prepare_unitxt_files(unitxt_recipe)
40+
task,tasks_dir = self.prepare_unitxt_files(unitxt_recipe)
4141
super().__init__(
4242
model_path = model_path,
4343
tasks_dir = tasks_dir,
44-
tasks = tasks,
44+
tasks = [task],
4545
few_shots = 0
4646
)
4747

0 commit comments

Comments
 (0)