Question: 4 . [ points 4 0 ] Given the initial word embedding from the question 3 . watching: [ 0 . 3 , 0 .

4.[points 40] Given the initial word embedding from the question 3.
"watching": [0.3,0.1,0.2][0.3,0.1,0.2]
"movies": [0.2,0.4,0.6][0.2,0.4,0.6]
"sunny": [0.7,0.1,0.4][0.7,0.1,0.4]
"football": [0.5,0.3,0.2][0.5,0.3,0.2]
"friends": [0.6,0.3,0.1][0.6,0.3,0.1]
Instructions: Follow the steps when applicable to : i) Simulate the dot product between context and target vectors. ii) Apply gradient descent to update the word vectors (assume a learning rate of 0.01). iii) Perform one iteration of the embedding update.
a)[points 10] Show the word embedding updates after one iteration for the word "movies" when the context word is "watching." Show detailed computations in each step. Explain how the dot product helps capture word similarity during the training process.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!