doc = ['This is a sentence', 'This is another sentence']
documents = [doc.strip().split(' ') for doc in doc1]
model = doc2vec.Doc2Vec(documents, size=100, window=300, min_count=10,
    workers=4)
Doc2vec: Как получить векторы документов