From 113ec155a55c826a10f82e7cc8d41a5e5926e27a Mon Sep 17 00:00:00 2001 From: Michael Ang Date: Sun, 14 Feb 2021 19:43:18 +0400 Subject: [PATCH] Update download URL --- gpt_2_simple/gpt_2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt_2_simple/gpt_2.py b/gpt_2_simple/gpt_2.py index 9666348..37297a2 100644 --- a/gpt_2_simple/gpt_2.py +++ b/gpt_2_simple/gpt_2.py @@ -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)