Flair English sentiment model download

Viewed 176

I'm trying to download the en-sentiment model using the following code:

clf = TextClassifier.load('en-sentiment')

but I'm getting the following SSL error:

SSLError: HTTPSConnectionPool(host='nlp.informatik.hu-berlin.de', port=443): Max retries exceeded with url: /resources/models/sentiment-curated-distilbert/sentiment-en-mix-distillbert_4.pt (Caused by SSLError(SSLError(1, '[SSL] unknown error (_ssl.c:1129)')))

I understand this is an issue with my firewall but I can't seem to get around it. I've tried installing openssl in my virtual env but this isn't working. I understand you can download the model manually but I can't find where to download them from.

Any help would be appreciated.

1 Answers
Related