Word2Vec with numbers

Hey everyone!! I’m helping someone working on his master thesis and the teacher guiding him suggested using the Word2Vec algorithm to create an heatmap related to stock price variations.
My question is if it is possible to adapt the original Word2Vec algorithm to make it work with data different than words/strings. That is, just change the data that is passed to the model…

Any help on this toppic would be much appreciated.
Thank you.

I think you could consider something similar to this line of work to create a stock embeddings:

Probably you want to ignore the news in your problem set but I think they are still quite useful.

Thank you for the tip!! Will look into it!