I am trying to migrate my Flair sentiment analysis from local machine to Azure Databricks. However, I face the following error:
from flair.models import TextClassifier
classifier = TextClassifier.load('en-sentiment')
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
I know this might be down to firewall issues, so was wondering if there are any alternatives so load the 'en-sentiment' TextClassifier into Databricks?