Skip to content

Commit

Permalink
Merge pull request #253 from mangtronix/master
Browse files Browse the repository at this point in the history
Update model download URL
  • Loading branch information
minimaxir authored Feb 14, 2021
2 parents 92d3596 + 113ec15 commit 74375a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt_2_simple/gpt_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def download_gpt2(model_dir='models', model_name='124M'):
for file_name in ['checkpoint', 'encoder.json', 'hparams.json',
'model.ckpt.data-00000-of-00001', 'model.ckpt.index',
'model.ckpt.meta', 'vocab.bpe']:
download_file_with_progress(url_base="https://storage.googleapis.com/gpt-2",
download_file_with_progress(url_base="https://openaipublic.blob.core.windows.net/gpt-2",
sub_dir=sub_dir,
model_name=model_name,
file_name=file_name)
Expand Down

0 comments on commit 74375a7

Please sign in to comment.