Skip to content

Commit 86aeab2

Browse files
authored
fix: Fix: Correctly define choices as tuple for reward-model arg Fixes #941 (#974)
Signed-off-by: Vensenmu <[email protected]>
1 parent bd47e5b commit 86aeab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)