Hi, I tried submitting this assignment several times and keep getting the autograder error “Cell #13. Can’t compile the student’s code. Error: KeyError(‘never’,)”. I have checked other threads reporting the same error, most of the problems seem to be based around this code:
for w in words:
# Check that word exists in word_to_vec_map
if w in list(word_to_vec_map.keys()):
avg += word_to_vec_map[w]
Somehow words not in word_to_vec_map seem to be getting through the if condition and then returning a key error, but I cannot figure out why. None of the solutions presented in other threads seem to apply in this case. Please help.