how can i use word2vec with heroku or any other cloud platform. I want to store my trained data set on cloud platform. so that every query can be retrieved through there.
I think you might want to take a look at Floydhub, which is a Deep Learning PaaS (dubbed by its creators as "Heroku for Deep Learning"). Specifically, I think you may want to take a look at this fastText example.
See Stock2Vec for an example of a Word2Vec model trained on Floydhub.