instantiated the Doc2Vec model like this
mv_tags_doc = [TaggedDocument(words=word_tokenize_clean(D), tags=[str(i)]) for i, D in enumerate(mv_tags_corpus)]
max_epochs = 50
vector_size = 20
alpha = 0.025
model = Doc2Vec(size=vector_size,
alpha=alpha,
min_alpha=0.00025,
min_count=1,
dm=0)
model.build_vocab(mv_tags_doc)
but getting error
TypeError: __init__() got an unexpected keyword argument 'size'