Skip to content

Commit

Permalink
Merge branch 'jbarker-main-patch-01829' into 'main'
Browse files Browse the repository at this point in the history
Fix typo in convert.py

See merge request ADLR/megatron-lm!1584
  • Loading branch information
jon-barker committed Jun 14, 2024
2 parents 059f69c + dad83ad commit 3c361f9
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 3c361f9

Please sign in to comment.