Hi,
I cannot complete the week 3 programming assignment due to an unresolved issue. Any help would be appreciated.
Hi,
I cannot complete the week 3 programming assignment due to an unresolved issue. Any help would be appreciated.
Hi @Sudarshan_Singh,
First, please ensure that your notebook is up-to-date. If the deadline has passed, puah the end date. After that, make sure to run all the previous cells in the notebook before this one. Lastly, double-check that your previous implementations are correct, and confirm that the tokenizer is properly instantiated.
I hope this helps! If you need any further assistance, feel free to ask.
I got the latest version multiple times and implemented again & again. But I am unable to complete this module.
"# GRADED FUNCTION: answer_question
def answer_question(question, model, tokenizer, encoder_maxlen=150, decoder_maxlen=50) "
my NLP specialization course completion deadline is also approaching very soon. I don’t know what to do.
Regards,
Sudarshan
You can always push your deadline.
After what other mentor has mentioned and yet you are having any issue, then kindly share the screenshot of the error without sharing any codes.
Based on the image shared in post creator, your code for Tokenize the question is incorrect, that’s why it is throwing attribute error as you are suppose to use a function call used while tokenizing a sentence, do we or did we use encode?? Answer is No.
HINT: To know the right code for how to tokenize the question, go back one or two cells before the Grade cell you are having issue. Remember Tokenizer is defined function key to which is tokenizing the question, and the process would be called tokenize when tokenizing a sentence.
There are old threads related to the grade cell you are having issue, refer them, use search tool
Regards
DP
Thanks @Deepti_Prasad for your input !!