NLP C3W3_Assignment - Grader errors on missings definition of "model"

When creating a post, please add:

  • Week # must be added in the tags option of the post.
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook)
    Week 3
    NLP C3W3_Assignment

The notebook passes all the unit tests. When submitting I get:


and I get 0 points for each assignment.
What is the problem? Why would the grader find errors on code that has passed all the unit testing???
Thanks in advance!!

click on my name and then message me the screenshot of Siamese model grade function codes. There might be probably mixing variable recalls like using global variables instead of local variables.