You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from danlp.models.embeddings import load_context_embeddings_with_flair
from flair.data import Sentence
# Use the wrapper from DaNLP to download and load embeddings with Flair
# You can combine it with the static embeddings
stacked_embeddings = load_context_embeddings_with_flair(word_embeddings='wiki.da.wv')
or
from danlp.models import load_bert_base_model
model = load_bert_base_model()
When I try to use the functions for loading the pretrained word embeddings as shown in documentation (https://github.com/alexandrainst/danlp/blob/master/docs/docs/tasks/embeddings.md), I get an empty URLError.
Specifically, I run
or
I get the following error for both versions:

Environment