Word2Vec models can be tuned further to produce better results. Runtime errors can happen in situations where there is high memory demand and less resource availability. We need to troubleshoot them to understand why they are happening and take preventative measures. In this recipe, we will troubleshoot Word2Vec models and tune them.
Troubleshooting and tuning Word2Vec models
How to do it...
- Monitor OutOfMemoryError in the application console/logs to check whether the heap space needs to be increased.
- Check your IDE console for out-of-memory errors. If there are out-of-memory errors, then add VM options to your IDE to increase the Java memory heap.
- Monitor StackOverflowError while running Word2Vec models. Watch out for the...