Closed vondiplo closed 8 years ago
not sure if it is exactly what you are looking for, but I've seen lots of people using: https://github.com/3Top/word2vec-api probably they still load it on memory if that's what you are trying to avoid
Thanks for this awesome response, though it's not exactly what I meant. Both solutions require loading the entire model file into the computers internal memory. This is a bit overwhelming. Do you know if it's possible to save the model file into a database somehow (that is persisted on disk) and query the database for the words and vectors?
this is the script for dumping them into a plain file: https://gist.github.com/dav009/11ebe5467419857e054bd9af55090b1b
@dav009 - Thanks!!! I've got one last question which I guess is only somewhat related so I'll open it in a new thread.
Do you know of any project aiming to support saving and loading wiki2vec or word2vec model files into a database (like mysql) and provide some adapter to query the vectors ?