Content Based Recommanders

can someone explain me this error it occurs when i start fitting the data to the model
I copied the code from the course and then compiled the model with the proper loss function but this error occurs
it seems like because the number of users is different from the number of movies but this is how the system works isn’t it

Sorry for the delayed response.

What assignment is this notebook based on? I don’t recognize those variable names.