surajiyer / spacycaKE

Simple keyphrase extraction extensions and pipeline components for spaCy.
MIT License
4 stars 0 forks source link

Error when trying to run on text #2

Open kerepuki opened 3 years ago

kerepuki commented 3 years ago

Hi, when I try to run the example code I get:

File "/usr/local/lib/python3.8/site-packages/spacy/language.py", line 449, in __call__ doc = proc(doc, **component_cfg.get(name, {})) File "/usr/local/lib/python3.8/site-packages/spacycake/__init__.py", line 105, in __call__ second_part = torch.matmul( RuntimeError: cannot perform reduction function max on tensor with no elements because the operation does not have an identity

Not sure what this error means. I have checked PyTorch and Spacy and they are the correct versions.

rkromann commented 3 years ago

I get the same error. But if you try to run the notebook in the Notebook directory, you can actually get it to run.