C5W2 A2E4: Sentences_to_indices - "Wrong values. Debug with the given examples"

Hi everyone,

in the above mentioned exercise I get this error message: “Wrong values. Debug with the given examples”

I do not find any discussion on this issue in the community. Does anyone know what to do?

Thanks and best,

Hi @AIGeorge,

Can you share your lab ID with me ? In the assignment, when you click the top right “Help” button, a panel will open and your lab ID will be shown at the bottom.

I shall take a look.

When you reply back, kindly tag me in the post so that I’m notified.


Hi @Mubsi ,

My lab ID is: wylleekb


Hi @AIGeorge,

Your mistake is in Ex 3, particularly here:

# Convert the ith training sentence in lower case and split is into words. You should get a list of words.
sentence_words = ...

While you are converting the sentences into lower cases, you are not exactly making a “split” of them, as instructed in the instructions. Fix that and you are good to go.