When I execute the below code
sim_model = gensim.similarities.MatrixSimilarity(corp)
sim_model.save("sim_model.pkl")
Instead of getting "sim_model.pkl" I get two files "sim_model.pkl.index.npy" and "sim_model.pkl" why is this behavior.
When I execute the below code
sim_model = gensim.similarities.MatrixSimilarity(corp)
sim_model.save("sim_model.pkl")
Instead of getting "sim_model.pkl" I get two files "sim_model.pkl.index.npy" and "sim_model.pkl" why is this behavior.
For larger models, a single save()
can result in multiple files being written, with extra suffixes. See Why are multiple model files created in gensim word2vec? for more details.