What this error means?

I am having problems with Name Entity Recognition assignment, in week 2.
I write my codes they work says all tests passed but when i submit it gives an unexpected error, like there’s an error on line 226, even though i don’t have that much line.
I’d be glad if you help me

Screenshot 2024-02-26 092732

NLP with Sequence Models

I’m not a mentor for this course, but in general, several things can cause this type of issue:

  • If you renamed your notebook file.
  • If you’re using an obsolete copy of the notebook.
  • If you did not complete the entire notebook before sending it for grading.
  • If you added, deleted, or moved any of the code cells.
  • If you used the “# grade up to here” tag.
  • if you have added too many print()statements, and clogged the notebook with lots of output data.
  • If you downloaded your notebook, worked on it using some other toolset (like VSCode or Colab), then uploaded it back to Coursera for grading.
1 Like

Yes you are right, it happened because I only was trying to submit the first one, but it was never happened before. In any case that’s a bit unreasonable.

Thank you for your help.