-
-
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
It should be clearer that Vectors.from_glove doesn't use the binary glove creates #5086
Comments
You're right that this isn't able to load the format produced by glove. I'm not entirely sure at this point, but I think this is older code that may be intended to read an internal numpy binary format rather than the one produced by glove. Instead of this method, I'd recommend using https://spacy.io/api/cli#init-model You'll need to make sure the dimensions are provided in the first line ( |
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. |
Glove generates a vectors.bin file and a vocab.txt file. It is not clear from the documentation that the files expected by the Vectors.from_glove method are different formats to the ones glove creates.
Which page or section is this issue related to?
https://spacy.io/api/vectors#from_glove
The text was updated successfully, but these errors were encountered: