huggingface / neuralcoref

✨Fast Coreference Resolution in spaCy with Neural Networks
https://huggingface.co/coref/
MIT License
2.83k stars 474 forks source link

Process finished with exit code -1073741819 (0xC0000005) #360

Open Chanwb opened 8 months ago

Chanwb commented 8 months ago

My env is as follows:

win10
python==3.8.18
spacy==2.3.9
en_core_web_sm==2.3.1
neuralcoref==4.0.0

and I run the following code:

import en_core_web_sm
nlp = en_core_web_sm.load()
import neuralcoref
coref = neuralcoref.NeuralCoref(nlp.vocab)
nlp.add_pipe(coref, name='neuralcoref')
doc = nlp("My sister has a dog. She loves him.")
print(doc)

finally, I get this result

Process` finished with exit code -1073741819 (0xC0000005)

Can anyone tell me how to solve?