Skip to content

Commit

Permalink
Fixed the issue with CLI option
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKoff88 committed Oct 29, 2024
1 parent 565cb6c commit 72a8627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/who_what_benchmark/whowhatbench/wwb.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def create_evaluator(base_model, args):
EvaluatorCLS = EVALUATOR_REGISTRY[task]
prompts = load_prompts(args)

if task == "text-generation":
if task == "text":
tokenizer = load_tokenizer(args)
return EvaluatorCLS(
base_model=base_model,
Expand Down

0 comments on commit 72a8627

Please sign in to comment.