centre-for-humanities-computing / DaCy

DaCy: The State of the Art Danish NLP pipeline using SpaCy
https://centre-for-humanities-computing.github.io/DaCy/
Apache License 2.0
92 stars 20 forks source link

DaCy large requires "protobuf>=3.17.3,<3.18.0" to run #218

Closed KennethEnevoldsen closed 1 year ago

KennethEnevoldsen commented 1 year ago

How to reproduce the behaviour

$ pip install dacy
$ python
>>> import dacy
>>> nlp = dacy.load("large")
[...]
ImportError: 
XLMRobertaConverter requires the protobuf library but it was not found in your environment. Checkout the instructions on the
installation page of its repo: https://github.com/protocolbuffers/protobuf/tree/master/python#installation and follow the ones
that match your environment. Please note that you may need to restart your runtime after installation.

This can be fixed using:

$ pip install dacy
$ pip install "protobuf>=3.17.3,<3.18.0"
$ python
>>> import dacy
>>> nlp = dacy.load("large")

Your Environment

KennethEnevoldsen commented 1 year ago

It is intended that this bug is fixed during the next iterations of models, where the large model will likely be replace by the large Danish DFM model instead of the multilingual model.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 14 days with no activity. Feel free to either 1) remove the stale label or 2) comment. If nothing happens, this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue was closed automatically. Feel free to re-open it if it's important.

KennethEnevoldsen commented 1 year ago

solved in the new 0.2.0 models