Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 12. NueralCoref not working on Colab #19

Open
minhyeokl opened this issue Aug 17, 2022 · 0 comments
Open

Chapter 12. NueralCoref not working on Colab #19

minhyeokl opened this issue Aug 17, 2022 · 0 comments

Comments

@minhyeokl
Copy link

I'm using the notebook on Colab.
But I got the error with NueralCoref package.

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[/content/setup.py](https://localhost:8080/#) in <module>
----> 1 from neuralcoref import NeuralCoref
      2 neural_coref = NeuralCoref(nlp.vocab, greedyness=0.45)
      3 nlp.add_pipe(neural_coref, name='neural_coref')

[/usr/local/lib/python3.7/dist-packages/neuralcoref/__init__.py](https://localhost:8080/#) in <module>
      8 warnings.filterwarnings("ignore", message="spacy.strings.StringStore size changed")
      9 
---> 10 from neuralcoref.neuralcoref import NeuralCoref
     11 from neuralcoref.file_utils import (
     12     NEURALCOREF_MODEL_URL,

neuralcoref.pyx in init neuralcoref.neuralcoref()

ValueError: spacy.vocab.Vocab size changed, may indicate binary incompatibility. Expected 120 from C header, got 112 from PyObject

Is there any workaround with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant