Skip to content

Commit

Permalink
Fix typo in convert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-barker committed Jun 14, 2024
1 parent 059f69c commit dad83ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/checkpoint/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def main():
allow_abbrev=False, conflict_handler='resolve')

parser.add_argument('--model-type', type=str, required=True,
choice=['GPT', 'BERT'],
choices=['GPT', 'BERT'],
help='Type of the model')
parser.add_argument('--loader', type=str, default='megatron',
help='Module name to load checkpoint, should be on python path')
Expand Down

0 comments on commit dad83ad

Please sign in to comment.