Word2Vec - Finding Word Analogies

why has sir used triad and passed word_vector as argument?
i did like this:-
predict_word(“man”,“woman”,“boy”)
It is giving output as girl but still taking a lot of time(around 15 minutes)

The size of file is quite big, so it depends completely on you system’s configuration and specification, better use google colab for such tasks. You implemented in a slight different way, that doesn’t matter, the objective is you get the logic and so do you. So you can definitely make some changes in code on the basis of your understanding and still find things going right, so this is a positive thing. Don’t take it in negative sense.

Happy Learning :blush:

ok …I want to know use of triad.
I guess it will put first three into a group.
(“Man”,“Woman”,“king”)
Am I right?

It was said in starting of the video that in problem we will solve a problem of " if ‘a’ is related to ‘b’ than what is ‘c’ is related to ‘____’ ". So triad is the value of a,b and c correspondingly.

Hope this cleared your doubt. :smile:

ok…

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.