Comments (7)
Hum maybe that a problem of encoding, do you use python 3 or 2?
from neuralcoref.
I'm sorry. I should have included that.
Ubuntu 18.04, Python 3.6.2
from neuralcoref.
Ok. So this happens whenever there's no actual coref in the text.
import spacy
nlp = spacy.load('en_coref_sm')
doc = nlp('john was walking down the road.')
doc[0]._.coref_clusters
Could be because of https://github.com/huggingface/neuralcoref/blob/master/neuralcoref/neuralcoref.pyx#L802
I don't know enough about packaging and cython to verify if this is indeed the problem. My changes are not picked up by cython (?). If it is the issue, I'll be happy to put in a pull request.
from neuralcoref.
Oh yes, that's probably the issue. I will fix it tomorrow!
If you want to fix it yourself, you have to recompile the model with NeuralCoref CLI packaging script but I haven't documented that script yet so if you are not familiar with packaging a spaCy model it may be a bit difficult to use right now. Will add doc on this in the next release.
from neuralcoref.
Hi @theSage21, I finally found time to work on NeuralCoref.
This should be fixed in the new release (4.0).
from neuralcoref.
I am using en_coref_md. I am getting this error. How to resolve this?
from neuralcoref.
I am using en and I also got this problem
from neuralcoref.
Related Issues (20)
- Wrong average embedding during inference due to a small bug in neuracoref.pyx
- Missing implementation of doc embeddings during inference
- Wrong Mention Type one-hot vectors during training due to a small bug in dataset.py
- Training Dataset Format
- Can't install neuralcoref, keep getting this error: C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2 HOT 4
- Error in training without changing anything from the default instructions
- GPU support - cuda 11.1 - TypeError: Unsupported type <class 'numpy.ndarray'>
- (base) C:\Users\sk136\neuralcoref>python -m neuralcoref.train.learn --train ./data/train/ --eval ./data/dev/ facing problem while executing.. this command HOT 1
- Results completely differ from web-demo
- Compatibility with Spacy 3+ HOT 7
- Regarding finetuning neuralcoref
- dels HOT 1
- neuralcoref not supporting python 3.9 version HOT 1
- spacy.strings.StringStore size changed, may indicate binary incompatibility HOT 5
- Dependency Problem HOT 1
- I can't install neuralcoref HOT 8
- Unresolved dependencies?
- Kernel crashes when trying to run demo code HOT 1
- Process finished with exit code -1073741819 (0xC0000005)
- installation failed with HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neuralcoref.