Commit a5b65c9b authored by lintangsutawika's avatar lintangsutawika
Browse files

udate

parent b64e592d
......@@ -90,6 +90,9 @@ def simple_evaluate(
if gen_kwargs is not None:
gen_kwargs = simple_parse_args_string(gen_kwargs)
eval_logger.warning(
f"generation_kwargs specified through cli, these settings will be used over set parameters in yaml tasks."
)
if gen_kwargs == "":
gen_kwargs = None
......@@ -127,7 +130,7 @@ def simple_evaluate(
continue
config = task_obj._config
if config["output_type"] == "greedy_until" and gen_kwargs is not None:
if config["output_type"] == "generate_until" and gen_kwargs is not None:
config["generation_kwargs"].update(gen_kwargs)
if num_fewshot is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment