I usually submit my code anytime I complete a part of it: UNQ_C1, UNQ_C2, etc…
I have completed just the first task UNQ_C1 and submitted for grading:
“The notebook you provided has a syntax error that prevents it from compiling.”
Do I need to complete all the other tasks before having a feedback on UNQ_C1?
I tried different solution:
vocab_dict[unk_token]
vocab_dict[word] if word in vocab_dict else unk_ID
or
vocab_dict.get(unk_token, 0)
vocab_dict.get(word, unk_ID)
both result in: All tests passed
but when I submit for grading it always give me same error:
“The notebook you provided has a syntax error that prevents it from compiling.”
I am running out of fantasy to solve the exercise.
LAB ID: izwdvsrg