Create_Params in Collab filter and reading embeddings, Interpreting Embeddings and Biases

When we use the embeddings module provided by fast AI I am unable to to view the movies in the bias vector, instead i get the error as shown below

here is my code :

However the code below works well :

I dont get why the two should be any different … aren’t we trying to do the exact same thing ?

You can do learn.model.movie_bias.weight.squeeze() for the embedding model.
Embedding class has a weight parameter that contains the matrix values in form of tensor.

Thanks man, it worked like a charm.Could you have a look at this too hahah FastAi + Kaggle/External Datasets