C3W2 Assignment compilation error

As submitting the code I have been facing this problem
There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
name ‘train_proc_dataset’ is not defined
and unable to solve this Problem
NLP

Hi @Ammar_Anwar, your challenge could be with the fit_label_encoder function. Your output is not matching the expected output shown.

Any solution ?

You can refer to this for a hint. The community guidelines do not allow us to explicitly give the answers but we can point towards a solution. This is to allow for quality learning.

Thanks I solved that problem but after submitting the notebook i am facing the same problem " There was a problem compiling the code from your notebook, please check that you saved before submitting. Details:
name ‘train_proc_dataset’ is not defined"

Then you should check your Exercise 4: preprocess_dataset. Make sure everything works fine there. Because that’s where train_proc_dataset is defined. If it’s defined and there was no error, just make sure to save the notebook before submitting. Ctrl + S should do the trick.