about summary refs log tree commit diff
path: root/pkgs/tools/text/gpt2tc/0002-fix-download-url.patch
blob: fd8f93834e5245802074da0317900756f682ed67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
diff --git a/download_model.sh b/download_model.sh
index 9cb401f..ad1dc62 100755
--- a/download_model.sh
+++ b/download_model.sh
@@ -13,5 +13,5 @@ mkdir -p models/$model
 for filename in checkpoint encoder.json hparams.json model.ckpt.data-00000-of-00001 model.ckpt.index model.ckpt.meta vocab.bpe; do
   fetch=$model/$filename
   echo "Fetching $fetch"
-  curl --output models/$fetch https://storage.googleapis.com/gpt-2/models/$fetch
+  curl --output models/$fetch https://openaipublic.blob.core.windows.net/gpt-2/models/$fetch
 done