-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
vector_norm throws error for unusual text in sentence with more than one word. #4673
Comments
For context. I found this |
I think it has to do with this part specifically. |
Found it. There is a case where a token will have an empty
|
Vocab's |
Attempting to create a PR for this fix but unsure on how to test it since it's |
Fixed by #4680. |
Awesome! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
How to reproduce the behaviour
I found this bug that I'm not sure if it resides in
spacy
orcupy
. It only appears on GPU instances and when you try to get vectors from a multiple word document containing non standard words. Any help tracking it down with a potential fix would be fantastic.Your Environment
The text was updated successfully, but these errors were encountered: