You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although there is a read.wordvectors function that can read in a plan text file with vectors, the predict.word2vec function only works on 'model' objects, that can not be created from these word vector files.
Would it be possible to have the predict.word2vec function work on only the embedding matrix? This way, it would be possible to use it for all types of word vector models, e.g. trained with fasttext.
The text was updated successfully, but these errors were encountered:
Note that if you need embedding models with subwords, you might as well use sentencepiece_download_model from the sentencepiece R package. This downloads sentencepiece tokenizers alongside the embedding model trained on wikipedia. Compatible with this R package
Although there is a
read.wordvectors
function that can read in a plan text file with vectors, thepredict.word2vec
function only works on 'model' objects, that can not be created from these word vector files.Would it be possible to have the
predict.word2vec
function work on only the embedding matrix? This way, it would be possible to use it for all types of word vector models, e.g. trained with fasttext.The text was updated successfully, but these errors were encountered: