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
And the following works, too (attempting to replicate your code):
from spacy.util import load_config
from spacy.lang.en import English
config_path = Path(config_file_path)
config = load_config(config_path, interpolate=False)
nlp = English.from_config(config)
doc = nlp("You look gorgeous!")
print(doc.cats)
Which leads me to believe that in fact you're passing something invalid in your overrrides - more specifically it looks like you're passing the device as a string instead of an integer.
Hello, when
nlp = assemble("config.cfg")
, I get the following Traceback, I use the dolly config.cfg example from here : https://spacy.io/usage/large-language-models#usage. Thanks in advance !The text was updated successfully, but these errors were encountered: