有没有一种方法可以让我在 doc2vec 中获得每个段落的等效向量列表?

Is there a way in which I can get the equivalent list of vectors per paragraph in doc2vec?

有没有办法通过 doc2vec 查看我在每个段落而不是每个词汇中获得的向量。通过使用 model.wv.vectors 我得到了每个单词的所有向量。现在,我需要这个以便在我希望获得的嵌入段落上应用聚类算法。我不确定这种方法是否好。这些段落是这样的:

[TaggedDocument(words=['this', 'is', 'the', 'effect', 'of', 'those', 'states', 'that', 'went', 'into', 'lockdown', 'much', 'later', 'they', 'are', 'just', 'starting', 'to', 'see', 'the', 'large', 'increase', 'now', 'they', 'have', 'to', 'ride', 'it', 'out', 'and', 'hope', 'for', 'the', 'best'], tags=[0])

TaggedDocument(words=['so', 'see', 'the', 'headline', 'is', 'died', 'not', 'revised', 'predictions', 'show', 'more', 'hopeful', 'situation', 'or', 'new', 'york', 'reaching', 'apex', 'long', 'before', 'experts', 'predicted', 'or', 'any', 'such', 'thing', 'got', 'to', 'keep', 'the', 'panic', 'train', 'rolling', 'see'], tags=[1])]

model.docvecs.vectors 将包含所有经过训练的文档向量。