ketanvaidya25 / IMDb-Movie-Sentiment-Analysis

Sentiment Analysis of IMDb movie reviews database using GloVe 50 word embeddings.
7 stars 8 forks source link

Using other word embedding #1

Open nassera2014 opened 3 years ago

nassera2014 commented 3 years ago

Hi, Thank you for your great job, I would like to use word2vec or BERT? I will keep the same function? and just change the model to word2vec in this line : word_to_vec_map = read_glove_vector('/content/drive/My Drive/Data/glove.6B.50d.txt')

Thank you. BR

ketanvaidya25 commented 3 years ago

See how the word embeddings are stored in the word2Vec file. If it's the same as GloVe then it will work but I doubt the format for both will be the same.

nassera2014 commented 3 years ago

i downloaded the word2vec (wiri.ar.vec) from this link

Thank you