Skip to content

Commit ce5a1e8

Browse files
committed
fix: Fix: Correctly define choices as tuple for reward-model arg Fixes #941
Signed-off-by: Vensenmu <vensenmu@gmail.com>
1 parent bd47e5b commit ce5a1e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

applications/DeepSpeed-Chat/e2e_rlhf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def parse_args():
6565
"--reward-model",
6666
type=lambda x: x.replace("facebook/opt-", ""),
6767
default="350m",
68-
choices=("350m"),
68+
choices=("350m",),
6969
help="Which facebook/opt-* model to use for Reward (step 2)",
7070
)
7171
parser.add_argument(

0 commit comments

Comments
 (0)