Thanks for letting me know. I was aware that the models aren't thread safe that's why I wrapped it around a synchronized block (as mentioned in the post). Definately going to take a look into the ParallelInference wrapper. Thanks for the link!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.