Closed avinashsai closed 4 years ago
@leezu @eric-haibin-lin your thoughts on this?
@leezu I have code ready for this and iam able to reproduce the results as well. What do you think?
Yes, your proposal is sensible. Would you like to open a PR? Thank you.
Sure, will submit PR to this
Fixed via #1222
TextCNN rand model downloads pretrained word vectors even if not needed. rand model initializes word vectors randomly and updates in the training process. So, I think there is not need to download word vectors for this model.
There should be a flag passed to
_build_vocab
function representing the type of model. If the model is other than rand, then pretrained vectors should be downloaded.