The idea of Word2Vec can be transferred to the level of sentences as well.
the socalled Skip Thought Vector model (STV) (Kiros et al., 2015) derives a vector representation of the current sentence by predicting the surrounding sentences.