gpt2 = GPT2Client('355M') Doesn't work. SSL Error.
Opened this issue · 2 comments
Doing the following code:
from gpt2_client import GPT2Client
gpt2 = GPT2Client('117M', save_dir="models") # This could also be `355M`, `774M`, or `1558M`
gpt2.load_model(force_download=False)
Isn't working and it gives the following error:
requests.exceptions.SSLError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Max retries exceeded with url: /gpt-2/models/117M/checkpoint (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
Can't I just download the models myself and keep it somewhere so it doesn't ever have to download them again?
Had to instal OpenSSL apparently. that fixed it. However I'm now getting:
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hi, I think the model is the 345M
model, not 355M
. I think I made a typo on the README
.
Can you check again? Sorry for the delayed response, I do not actively maintain this repo anymore 😓