Cell #14. Can’t compile the student’s code. Error: KeyError(‘never’,) while submitting the emoji_v3a assignment. All test cases have passed on all graded functions
You filed this under DLS C4 (ConvNets), but it’s really about DLS C5 (Sequence Models). I moved the thread for you.
I’m guessing the error is thrown in your model
function and that you’ve made the same error as discussed on this other recent thread: you just computed the average of all the word embeddings without taking into account that not every word in the input sentence may have an embedding. Didn’t we just write a function to perform that task?
1 Like