danlp
danlp copied to clipboard
DaNLP is a repository for Natural Language Processing resources for the Danish Language.
When running ```python from danlp.models import load_bert_base_model model = load_bert_base_model() vectorizerd_text = [model.embed_text(sentence)[1] for sentence in df["TextColumns"]] ``` I get the following > Some weights of the model checkpoint at...
Just installed danlp and tried following the instructions to import models. Whenever I do so, it throws a TypeError. E.g.: ``` from danlp.models import load_xlmr_coref_model TypeError: CoreferenceResolver.forward: `inputs` must be...
Hei good to see someone is collecting more tagged data in Danish. 🎉 However, just wanted to note that you should remove links from the dataset. E.g. I saw a...
Currently, the framework does not seem to allow for batching inputs, which reduce its usability on larger datasets. The intuitive approach would be: ```{python} from danlp.models import load_bert_tone_model classifier =...
Based on issue #62 and #57 and it might be nice to a check when running the model to see if the right dependencies is installed, and otherwise send warning...
Loading BERT model require to install gensim, but the libary is not needed