Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Chapter 12. NueralCoref not working on Colab #19

Open
@minhyeokl

Description

@minhyeokl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions