Python solves the problem where gensim loads doc2vec or work2vec vector model files too slowly to access

gensim was used to calculate post vectors and similarities in the project. The model file was trained, but during the running process, it was found that the model loaded very slowly and took about 1-2 minutes. We can't let the user wait that long, so we have to find a way Think about whether you can package it as an api by loading the model onc ...

Posted by py343 on Tue, 24 May 2022 20:15:37 +0300