Open Sannidhi-17 opened 3 years ago
Hi,
the author of this tutorial might have a better understanding of this than I do, but it looks like gensim's word2vec model doesn't provide deterministic outputs. That is, each time you run the model, the learned w2v representation will be slightly different. According to this stackexchange thread https://stackoverflow.com/questions/34831551/ensure-the-gensim-generate-the-same-word2vec-model-for-different-runs-on-the-sam there are ways to enforce deterministic behaviour for reproducible results.
My guess would be that training the model for more epochs might also help, perhaps it just hasn't converged yet.
Best, Timo
I am trying to calculate the coherence value on each topic but each time when I run my code it generates different values.
It will be a great help if anyone can answer this.
Thank you in advance
here is my code that I have used in my project.
Output Required: Each time when I run my code coherence should be the same.
if you can help me to resolve this approach it would be a great help thank you so much.