Skip to content

Commit dbeb432

Browse files
authored
Derekx/small fix cli (#385)
* small fix * fix
1 parent 5fc4592 commit dbeb432

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eval_protocol/cli_commands/create_rft.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,9 @@ def _create_rft_job(
634634

635635
args_dict = vars(args)
636636
for name in signature.parameters:
637+
# Do NOT let raw CLI args overwrite the normalized resources passed into this function.
638+
if name in ("dataset", "evaluator"):
639+
continue
637640
prefix = name + "_"
638641

639642
# Collect "flattened" argparse fields back into the nested dict expected by the SDK.

0 commit comments

Comments
 (0)